Skip to main content
Glama
Amigent – Amiga remote control for AI agents

Amigent – Amiga remote control for AI agents

     _____            .__                            __
    /  _  \    _____  |__|   ____    ____    ____  _/  |_
   /  /_\  \  /     \ |  |  / ___\ _/ __ \  /    \ \   __\
  /    |    \|  Y Y  \|  | / /_/  >\  ___/ |   |  \ |  |
  \____|__  /|__|_|  /|__| \___  /  \___  >|___|  / |__|
          \/       \/     /_____/       \/      \/

     complete remote control for a real Amiga, by AI or manually
            tuned for slow Amigas and slow networks

Amigent connects your PC or Mac to your real Amiga over the home network.

Set up in three steps

1. On the Amiga: copy amigentd over (amigentd.000 on a 68000) and start it with amigentd SETUP in a Shell.

2. On the PC or Mac: paste this into your AI agent:

Install Amigent for me: run "pipx install amigent" (if pipx or Python 3.10
or newer is missing, install them first: Windows winget, macOS Homebrew,
Linux the package manager). Then run amigent-setup; it finds my Amiga on
the network by itself. Register the MCP server "amigent" with the command
amigent-server, and run amigent-viewer --install so the remote desktop
shows up as a program. Tell me if you need to be restarted.

3. Ask for something: "Open the remote desktop", or "Install the newest HippoPlayer from Aminet".

The details, and the way without an AI agent, are under Installation.

Related MCP server: Harness

What it does

Once connected, you can:

  • let an AI agent do the work, for example Claude Code or Codex: install software, update programs, change settings, copy files, click through programs. Just tell it what you want.

  • use the Amiga yourself from your computer, as a remote desktop like TeamViewer or VNC: a window with the live screen, your own mouse and keyboard, file transfer and a shared clipboard.

  • and both of these quickly, even on a slow machine. Amigent is tuned for slow Amigas and slow networks: a 7 MHz 68000 sends its whole screen in under a second, and over a plipbox a click shows its result in a fraction of a second. How it stays fast.

Both at the same time: you see every click the agent makes and can take over at any moment.

The remote desktop with a Shell on the Workbench screen and the keyboard panel

Programs that open their own screen, such as SysInfo on the chipset next to a graphics-card Workbench, show up as they are. The screen menu at the top brings any screen to the front, from the PC.

SysInfo on its own chipset screen in the remote desktop, dark appearance, with the screen menu open

How it fits together

flowchart LR
    subgraph PC["PC or Mac"]
        agent["AI agent<br/>(Claude Code, Codex, ...)"] -- MCP --> server["amigent-server"]
        you["you"] --> viewer["remote desktop<br/>amigent-viewer"]
    end
    subgraph Amiga["Amiga"]
        daemon["amigentd"] --> os["screen, mouse and keys,<br/>files, Shell, ARexx"]
        daemon --> monitor["amigent-monitor<br/>(what the agent does)"]
    end
    server -- "home network<br/>key, TLS" --> daemon
    viewer -- "home network" --> daemon

One small program on the Amiga, amigentd, does what the PC asks: it sends the screen, moves the mouse, types, runs commands and copies files. On the PC, amigent-server gives an AI agent its tools, and the remote desktop shows the screen to you. Both can work at once.

Installation

On the Amiga

1. Copy amigentd to the Amiga (amigentd.000 on a 68000), or unpack the archive from the releases.

2. Start it with amigentd SETUP in a Shell, or double-click its icon.

On the PC or Mac

3. Give your AI agent the prompt from step 2 above. The agent sets up the Amiga over the network; from then on amigentd starts with it.

Windows: Amigent appears in the Start menu. For an encrypted connection openssl is needed, which comes with Git for Windows.

macOS: Amigent appears in ~/Applications. On its first start, allow it access to the local network, or it cannot reach the Amiga. Cmd is the right Amiga key.

Linux: there is no program entry; start the remote desktop with amigent-viewer.

Without an AI agent: see the manual installation.

Updating

Amigent has two halves, amigentd on the Amiga and the program on your PC or Mac. Update both; either order works.

Paste this into your AI agent:

Update Amigent for me, both halves: run "pipx upgrade amigent" on this
computer, then "amigent-setup --update" for the amigentd on my Amiga.
Then tell me to restart you, so you get the new tools.

Or in a terminal:

pipx upgrade amigent
amigent-setup --update

Then restart your AI app and the remote desktop, so they run the new version.

At the Amiga instead: unpack the new archive from the releases or Aminet and double-click Amigent-Update in its drawer, then update the PC as above.

Amigent tells you itself when a new release is out, at most once a day, and updates both halves once you agree. It only asks PyPI for the version list; AMIGENT_NO_UPDATE_CHECK=1 switches it off.

Key, encryption and the start line stay as they are. One side alone keeps working as before; the new features need both.

What you need

  • An Amiga with AmigaOS 2.04 or newer, any CPU from the 68000 on, a network connection (a plipbox on the parallel port is enough) and a TCP/IP stack such as Roadshow.

  • A PC or Mac with Windows, macOS or Linux and Python 3.10 or newer.

What you can ask for

"Check which programs on the Amiga are outdated."
"Install the game from my Downloads folder and add it to the Games menu."
"Copy the demo to the Amiga and start it."
"Open the remote desktop."
"Install the newest HippoPlayer from Aminet, so I can take it back if it doesn't work."
"Build my program, run it on the Amiga and show me its debug output."
"The Amiga froze. What was it?"
"Which AHI driver is really loaded?"
"Find out whether my program leaks memory."
"Windows stutter when I drag them. Find out what holds things up."
"Is the Pi in my PiStorm too hot, and which Emu68 does it run?"

Made for slow machines and slow wires

Most of the work in Amigent went into making a slow Amiga on a slow network feel quick, for the AI agent and for you at the mouse:

  • The screen travels as the Amiga keeps it. Chipset screens go out as bitplanes, graphics-card screens as small palette tiles, and only the tiles that changed, often as the difference to what you already have.

  • Your input comes first. Mouse moves, clicks and keys are carried out even while a picture is still on its way, and the area around the pointer is sent before the rest.

  • The Amiga keeps its time. While nothing happens, Amigent asks rarely and costs the Amiga only a few percent of its CPU.

  • Files go in one go. Whole folders travel in a single stream, and files that are already there stay where they are.

  • Text where text is enough. The AI agent reads what programs write on the screen as text, a few hundred bytes, and takes a picture only of the part where it needs one. It waits on the Amiga itself for a window or a line of text instead of looking again and again.

  • Packed when the Amiga is fast. With an accelerator behind a slow network, replies, files and screen tiles travel packed; a slow CPU on a fast network stays unpacked. Amigent measures both and decides.

Measured with a 640×256 Workbench screen:

Amiga

whole screen

unchanged screen

CPU while watching

68000, 7 MHz

0.6–1.0 s

80–95 ms

under 10 %

A1200, 68020 at 14 MHz

0.1 s

15 ms

2–3 %

On a 1920×1080 graphics-card screen over a plipbox (about 50 KB/s):

Seconds per screen update over a plipbox, bar lengths to scale: whole screen as raw pixels 124 s each time; Amigent 1.9 s for the first picture (64 times faster), 170 ms for a typed line (730 times), 7 ms when nothing changed (18,000 times)

The orange bars are what moving the whole screen as raw 24-bit pixels costs on that wire, every time; the blue ones are Amigent, measured on a real A1200. All numbers, how they were taken and how to repeat them are in docs/PERFORMANCE.md.

Good to know

  • New address after a restart? Amigent finds the Amiga again by itself. It takes only the one that proves to be yours.

  • Several Amigas? amigent-viewer opens Your Amigas, with a machine selector, connection status and controls to rename or manage each machine. One MCP server can control them all: name the targets in your request.

  • Watching from the Amiga? amigent-monitor in the Amigent folder opens a window there that lists, line by line, what the agent is doing.

  • Trying out software? The agent can record an installation and take it back completely, and fetch programs from Aminet straight from the PC.

  • Developing for the Amiga? The agent builds and runs your program and reads its kprintf and Enforcer output, and keeps a copy of a growing log on the PC that survives a crash.

  • A hang, a stutter, a guru? The agent tells what a task waits for, who holds a lock, how much CPU each task takes, and what a guru code means.

  • Running a test or a benchmark? Pause the picture in the remote desktop (or PAUSE by ARexx) gives the Amiga's CPU back to it for a while; mouse, keys and files keep working.

  • PiStorm with Emu68? The agent tells what runs on the Raspberry Pi, tries JIT settings while the Amiga runs, and changes boot options or updates Emu68 on the SD card with a backup and a way back. See docs/EMU68.md.

  • After a big OS update, amigent-repair puts back what the update removed.

  • Safe at home. A key keeps other computers on the network out, and the connection can be encrypted. Don't open the Amiga to the internet.

More in the guide and the FAQ.

License

MIT, see LICENSE. By Andreas Wendorf (Akustikrausch). Changes are in the changelog.

Available Tools

96 tools
amiga_amigus_statusA

The AmiGUS sound card, read only: is a card there, are amigus.library and the AHI driver AmiGUS.audio loaded, and which parts (PCM, wavetable, codec) are reserved right now, by whom.

Reads amigus.library's own records, so nothing is reserved to find out. Says clearly when there is no AmiGUS. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_aminet_installA

Fetch an Aminet archive on the PC and unpack it on the Amiga into target.

path as amiga_aminet_search shows it, e.g. 'game/strat/foo.lha'; target a folder such as 'SYS:Games'. The archive travels packed and the Amiga's own lha, unlzx or unzip unpacks it; without one, the PC unpacks .lha and .zip and sends the files. Disk images (.adf, .adz) are read on the PC and their files sent; .dms is not supported. Use amiga_install_begin first to make it undoable, and read the readme for an installer to run afterwards.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), target (required), machine. Returns: result

amiga_aminet_readmeB

The readme of an Aminet archive, e.g. 'util/arc/lha.run': requirements, version, notes.

Inputs: path (required). Returns: result

amiga_arexxA

Run ARexx on the Amiga and return rc and output.

With port, program is one or more commands for that application's ARexx port (see amiga_rexx_ports), one per line, sent exactly as written; the RESULT of the last one is printed. Without port, program is a complete ARexx script.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: program (required), port, machine. Returns: result

amiga_audio_levelsA

Left and right output level of an AmiGUS card over time, read back from the card.

seconds 1-30, hz 1-50 samples a second; peak=True takes the maximum of each interval, else the average. Shows for each channel whether it carries sound, with a series in percent of full scale: e.g. to hear whether two players play at once. Reads the card's level registers as the AmiGUS Mixer does, reserves nothing, so it works while the AHI driver plays. Copies the small program amigent-levels to T: and runs it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: hz, peak, machine, seconds. Returns: result

amiga_breakA

Send Ctrl-C (or D, E, F) to a running command, like pressing it in its Shell.

command is the program's name as Status shows it, e.g. 'List' or 'Wait'; job is a number from amiga_job (a job of several lines is stopped as a whole). Without either, the command last started by amiga_job or amiga_start is meant. A plain amiga_exec cannot be broken this way: it blocks the daemon until it returns, so long work belongs in amiga_job.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: job, signal, command, machine. Returns: result

amiga_buildA

Compile a project on the Amiga by running its build script (as a job), and report the compiler's messages and whether it worked.

fpu: '' (default) builds without FPU instructions, so the program runs on every Amiga. 'auto' builds FPU code for the FPU this Amiga has, '68881' (m881.lib, 68881/68882 or a 68040/060 with its library) or '68040' (m040.lib, a 68040/060 FPU). Refused on an Amiga without an FPU. Projects made before Amigent 1.5.0 need a new build script for it (amiga_create_project).

target: '' builds 68k code; 'warpos' a PowerPC program for WarpOS with vbcc's ppc-warpos target (+warpos), which must be installed in vbcc on the Amiga; the script says so if it is not.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: folder (required), cpu, fpu, target, +2 more. Returns: result

amiga_buttonA

Press (down=True) or release (down=False) one mouse button on its own.

For long presses and drags with stops on the way; release it again afterwards. Buttons arrive as input events, as a mouse's do for Intuition and every program that reads input. Programs that read the button straight from the hardware (left: CIA-A $BFE001 bit 6; right/middle: POTGO), such as ProTracker, many games and demos, don't see them: amigentd doesn't drive those port pins, as that could fight a real mouse's button. Use keys there, or a real mouse.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: down, button, machine. Returns: result

amiga_clickA

Click at screen pixels. button is left, right or middle.

The right button opens menus only while held; use amiga_menu_select or amiga_drag for menus. Avoid short right clicks: on a Directory Opus desktop they leave a popup open that holds back every new window and screen until Esc is pressed (amiga_key('esc')).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x (required), y (required), button, double, +1 more. Returns: result

amiga_click_textA

Click on visible text, such as a button label or a list entry, found via the screen text.

Works for buttons amiga_ui_tree can't name (MUI, ReAction, requesters) as long as their label is drawn as text. Exact matches win over rows that merely contain the text.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: text (required), button, double, window, +1 more. Returns: result

amiga_clipboardA

Read the Amiga's clipboard, or set it to text (then RAmiga+V pastes it there).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: text, machine. Returns: result

amiga_cpuA

CPU load per task, measured on the Amiga for seconds (1-60).

amigentd samples every every_ms milliseconds at a priority above all others which task was running, with no network traffic meanwhile, and amigent-monitor stays still. Shows percent per task and idle. Needs amigentd 1.4.0. Under Emu68 (amigentd 1.5.0) also the real MIPS and JIT cache misses meanwhile.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, seconds, every_ms. Returns: result

amiga_create_projectA

Start a new C program on the Amiga: main.c (kind shell or window), a build script for vbcc and a ReadMe, in folder/name (default: Amigent's folder, projects/). Then amiga_build (target="warpos" for a PowerPC program under WarpOS), then amiga_run. devpack is the folder with vbcc/ and SDK/NDK 3.9/ (found by itself in SYS:, Work: or Stuff:, or set as "devpack" in amigas.json).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name (required), cpu, kind, folder, +2 more. Returns: result

amiga_debug_logA

Debug output on the Amiga since the last call: kprintf, Enforcer and MuForce hits.

With amigentd 1.4.0 the addresses of code in hits (PC: ..., by $...) get the program and hunk or the library function they belong to.

amigentd catches what goes through exec's RawPutChar (as Sashimi does); the serial port still gets it as well. everything=True shows the whole ring (64 KB) instead of what is new. When the Pi's serial line of an Emu68 Amiga is recorded on this PC (amiga_serial_log), what came there is added, also while the Amiga does not answer.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, everything. Returns: result

amiga_deleteA

Delete one file or one empty directory. There is no undo.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), machine. Returns: result

amiga_doA

Several actions in one call, then one look: saves a round trip per action.

steps is a list of objects with one action each, carried out in order: {"click": [x, y]} (with "button", "double"), {"click_text": "OK"} (with "window"), {"ui_click": "Save"} or {"ui_click": 3, "window": "Prefs"}, {"menu": "Project/Quit"}, {"key": "return"}, {"type": "dir\n"}, {"move": [x, y]}, {"drag": [x1, y1, x2, y2]}, {"wait": 1.5}, {"wait_change": [x, y, w, h], "timeout": 10}, {"wait_window": "Title", "timeout": 10, "new": true}, {"wait_text": "done", "timeout": 20}, {"start": "SYS:Utilities/Clock"}, {"exec": "Info"}, {"screen_front": "Workbench"}. It stops at the first step that fails and says which. look is what comes back at the end: none, text (amiga_screen_text), changed (only the part of the screen that changed) or screen (a screenshot).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: steps (required), look, machine. Returns: result

amiga_dragB

Press at one point and release at another: drag icons, move and size windows by their drag bar and size gadget, or pick menu items.

By default the way goes as mouse movement in small steps with the button held, as a hand does: window drag bars and size gadgets follow only that. relative=True uses nothing else, for programs that follow the mouse themselves and ignore where the pointer is put (ProTracker 4's window, many games); relative=False puts the pointer at the end in one jump.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x1 (required), x2 (required), y1 (required), y2 (required), +3 more. Returns: result

amiga_drag_measureA

Measure how smoothly a window follows when it is dragged by its title bar.

amigentd drags it itself, at priority 21 above input.device: zigzag (8 steps one way, 8 back) or jumps (4 steps' worth each way in turn), steps of step pixels, and records each frame: time per step, how long input.device took the event, where the window and the pointer are. Shows median, p95 and max ms per step and the steps the window did not move. window is part of its title or its id from amiga_ui_tree; it must be on the front screen with its title bar uncovered. It ends where it started. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: window (required), step, steps, machine, +1 more. Returns: result

amiga_emu68A

What runs on the Raspberry Pi under Emu68 (PiStorm and other Pi boards), read only.

Emu68 version and variant, the Pi's model and memory, the boot options from cmdline.txt, its health (temperature, ARM clock, core voltage, and whether the Pi reported under-voltage or throttling since power on), the JIT cache and counters, and the JIT settings now. Names PiStormBoot and Emu68PWM when they are there. On an Amiga without Emu68 it says "not Emu68" and touches nothing. Changes nothing. Needs amigentd 1.5.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_emu68_cardA

Emu68's boot partition on the PiStorm's SD card, read only: kernel and its Emu68 version, board variant, Kickstart file (size, checksum), FPGA files named in config.txt (never written), every cmdline.txt option explained, overlays, free space, backups, problems such as a missing file, and whether changes are allowed (the user's marker file amigent-write-ok.txt on the card).

check=True reads every file once on the Amiga (read errors, read speed); write_test=True also writes, reads back and deletes a 256 KB test file, only on a card that allows changes. volume: the boot partition, found by itself. Says what sd.unit0=rw means when it is set. Does nothing without Emu68.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: check, volume, machine, write_test. Returns: result

amiga_emu68_jitA

Show or change Emu68's JIT settings while the Amiga runs, with no restart.

Without arguments: the settings now, what each does, and what was saved before a change. settings like "chip_slowdown=1 dbf_slowdown=1" changes them at once (EmuControl's short names work too: sc, scs, dbf, bw, ccrd, icnt, irng, lcnt, sf, sfl); the values from before the first change are kept on this PC, and restore=True puts them back. Only the settings Emu68 documents as changeable; other bits stay. Nothing is written to the SD card: a restart brings back what cmdline.txt (or PiStormBoot) sets.

program: start it as a job with these settings (or the ones noted for it earlier) and put the old ones back on the Amiga when it ends; wait as in amiga_job. remember=True keeps the settings as an amiga_note for the program, so the next start uses them. Needs amigentd 1.5.0 on Emu68.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: wait, machine, program, restore, +2 more. Returns: result

amiga_emu68_kickstartA

Boot another Kickstart: changes the ROM name in config.txt's initramfs line.

file: a ROM file on the card (its name, such as kick31.rom), or an Amiga path (DEVS:Kickstarts/kick.rom) which is copied onto the card first. The ROM is checked first: size 256 KB to 2 MB, a Kickstart header, not byte swapped or encrypted, the checksum right (or checksum_rom set). The old ROM stays on the card, so going back is this call with its name, or amiga_emu68_undo.

A dry run unless confirm=True, only on a card with the marker file amigent-write-ok.txt, with a backup on the card and the PC and a read back. Takes effect at the next start. Try it on a second SD card first.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: file (required), volume, confirm, machine. Returns: result

amiga_emu68_optionA

Change one Emu68 option in cmdline.txt on the SD card, with a way back.

name and value as in cmdline.txt (vc4.mem, 32; nofpu without a value); remove=True takes the option out. The option must be one Emu68 knows and the value valid; force=True writes an unknown option anyway. Without name: the list of known options and their values.

A dry run that shows the plan unless confirm=True, and only on a card with the user's marker file amigent-write-ok.txt. Before writing, cmdline.txt goes into a backup on the card and on the PC; after writing it is read back. Takes effect at the next start; never restarts by itself. amiga_emu68_undo takes it back. Try it on a second SD card first.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name, force, value, remove, +3 more. Returns: result

amiga_emu68_undoA

Put the SD card's boot files back as one backup has them: the last change by default, or the backup named (as amiga_emu68_card or an earlier answer gives it).

Only the files of that backup are written, each checked against its checksum first; the present state is backed up before. A dry run unless confirm=True, and only on a card with the marker file amigent-write-ok.txt.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: backup, volume, confirm, machine. Returns: result

amiga_emu68_updateA

Update Emu68 on the SD card, with a backup of the whole boot partition.

archive: an Emu68 release on this PC, the zip from github.com/michalsc/Emu68 or its unpacked folder. Checks first and stops if something does not fit: the version on the card against the new one, the board variant (PiStorm32- lite/16 or the CPLD PiStorm), VideoCore.card in LIBS:Picasso96 against what the release needs (1.1 needs 1.5, 1.0 does not work with 1.5).

With confirm=True: backs up the whole boot partition on the card (with a README on how to go back) and on the PC, with checksums; writes the kernel and the Pi firmware files next to the old ones, verifies them, swaps them in and verifies again. cmdline.txt, the Kickstart, FPGA files and the Amiga partitions are never written; config.txt only in its kernel= line when the kernel's name changes. Then the user restarts (amiga_restart), and after_restart=True confirms that the new Emu68 runs.

If the new Emu68 does not start, a power cycle does not help; the rescue is the card in a PC: python -m amigent.emu68card restore . Only on a card with the user's marker file amigent-write-ok.txt, and only on the user's yes. Try it on a second SD card first.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: volume, archive, confirm, machine, +1 more. Returns: result

amiga_emulatorA

The emulated Amiga from outside, through WinUAE's GDB server (WinUAE 6.1+).

action: status (running or stopped, and why), pause, resume, registers (with the PC named), memory (address and size, read by the emulator, even when the Amiga hangs), save or restore (the whole machine as a state file; file is a path on this PC, by default in Amigent's checkpoints folder), or postmortem (registers, the code at the PC and the stack, for a hang or a guru), chipset (show: all, paula, copper, sprites, dma or registers; the custom chips as the emulator keeps them). launch starts WinUAE with config (a .uae file) and its GDB server, disk puts an .adf into DF0:; quit ends the WinUAE Amigent started, never another one; insert_disk restarts it with disk in DF0:. Needs "gdb" in the Amiga's amigas.json entry.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: disk, file, show, size, +4 more. Returns: result

amiga_everywhereA

Run one AmigaDOS command on every Amiga Amigent knows (amigas.json), at once, and compare: which agree, which differ, with each one's output. For checks across machines, such as a version or a test on the A500 and the A1200.

Inputs: command (required), timeout. Returns: result

amiga_execA

Run a short AmigaDOS command and return rc and output.

Blocks the Amiga daemon for everyone until it returns. Use amiga_job for anything that may take long, and amiga_start for graphical programs.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: command (required), cd, machine, timeout. Returns: result

amiga_findA

Find the Amiga again when it does not answer, for example after its address changed.

Without an address the home network is searched; Amigent takes only the Amiga that proves to be this one (its certificate or key). Pass an address when the user knows it. Amigent remembers the result for the remote desktop as well.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: address, machine. Returns: result

amiga_followA

Copy a growing log from the Amiga to this PC while it grows, so it survives a crash.

source is "debug" (kprintf, Enforcer and MuForce output) or a file on the Amiga, such as a program's log. Every every seconds what is new goes to local_path (default: amigent's config folder, follow//.log), on a connection of its own. When the Amiga hangs, the copy holds everything up to that moment, also what its filesystem had not yet written to disk, with a marked line where the Amiga stopped answering. stop=True ends one (or all, with source ""); without arguments while followers run it lists them.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: stop, every, source, machine, +1 more. Returns: result

amiga_getA

Copy a file or a whole directory tree from the Amiga to the local machine.

Local files with the same size and CRC are not fetched again.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: amiga_path (required), local_path (required), machine. Returns: result

amiga_graphicsA

The graphics board, read only: Picasso96 or CyberGraphX with versions, the card driver (VideoCore.card, uaegfx.card, ZZ9000.card, PicassoIV.card, ...) and chip driver in memory, the graphics boards in the Zorro list with their bus, and for 3D Warp3D, its drivers and MiniGL, in memory or in LIBS:.

Says whether the card sits behind a slow bus (Zorro II), where screen reads cost more. Screen modes: amiga_screen_modes.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_gurusA

Guru meditations in words: the code given, the last one exec kept, and the gurus logged by tools such as MCP (S:GuruHistory), explained.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: code, machine. Returns: result

amiga_hrtmonA

Load the HRTmon debugger resident on the Amiga, for the user at its keyboard.

This only loads it; never enter it. HRTmon is entered by its hotkey or an NMI, and once entered it halts the whole system: the network and amigentd stop, and Amigent loses this Amiga until someone at the Amiga's own keyboard leaves the monitor. So never press its hotkey with amiga_key. HRTmon comes from Aminet (dev/debug/HRTmon), not with the OS; if it is not installed the reply says so.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_install_beginA

Before installing something: take stock so it can be undone, and copy aside what undo needs.

folders (comma separated, e.g. the program's target folder) are recorded and copied aside whole. With system=True (the default) C:, LIBS:, DEVS:, S:, L:, ENVARC:, SYS:WBStartup and SYS:Classes are recorded as well (name, size, date), but not copied: of them only S:Startup-Sequence, S:User-Startup and the files in touch (comma separated, e.g. 'LIBS:foo.library') are copied, plus what amiga_aminet_install and amiga_put are about to overwrite while the installation is open. full=True copies the system folders whole (slow on a full system). system=False watches only folders, for a game that stays in its drawer.

A record can tell that a file changed but not bring its old content back: amiga_install_end and amiga_install_undo name each system file that changed or went without a copy. When the installer is known to write system files, name them in touch.

First comes an estimate (files, bytes, time) and a check of the free space; above 2000 files, 32 MB or 5 minutes nothing is copied until the call is repeated with confirm=True (ask the user first). estimate_only=True only tells. The copying runs as a background job: after wait seconds the answer gives its number for amiga_job_output (progress) and amiga_break(job=n); a backup stopped or failed is never used. Calling this again says whether it is complete. Then install as usual and call amiga_install_end(name).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name (required), full, wait, touch, +5 more. Returns: result

amiga_install_endB

After installing: what came, changed and went; keeps what undo needs, writes a repair module.

Names the system files that changed or went without a copy from before: undo can't restore those.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name (required), machine. Returns: result

amiga_installsB

Installations recorded on this Amiga and whether they can still be undone.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_install_undoB

Take an installation back: remove what it added, restore what it changed or removed.

Only what the backup holds can be restored; system files that changed or went without a copy are named, the rest is as before.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name (required), machine. Returns: result

amiga_inventoryB

Scan installed programs and versions on the Amiga; can take many minutes.

Saves JSON under inventory/ and reports differences to the previous scan.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, max_wait. Returns: result

amiga_jobA

Run a long command at low priority in the background and return its output.

The Amiga stays reachable meanwhile, and several jobs can run at once. If wait runs out, the job keeps going: the answer gives its number, for amiga_jobs (all of them), amiga_job_output (what it printed so far) and amiga_break(job=n). A return code other than 0 is said at the end.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: command (required), wait, machine. Returns: result

amiga_job_outputB

What a background job printed so far, the last bytes of it (0 for all).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: job (required), last, machine. Returns: result

amiga_jobsA

Background jobs started by amiga_job: number, running or rc, output size, command.

clear_finished removes the files of jobs that ended.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, clear_finished. Returns: result

amiga_keyA

Press a key or combination: 'return', 'esc', 'lamiga+n', 'ctrl+c', 'f1', 'help'.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: combo (required), machine. Returns: result

amiga_listB

List a directory, e.g. 'Work:Games'. Amiga paths use VOLUME:dir/file.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), machine, recursive. Returns: result

amiga_loadedA

What is in memory now: libraries, devices, resources with version and open count; running programs with their hunks; resident modules.

kind: all, libraries, devices, resources, programs or residents; name filters. Tells which driver really runs (an AHI driver, a disk device), unlike the files on disk. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: kind, name, machine. Returns: result

amiga_locksA

Who holds the layer locks of a screen and its windows, and who waits for them.

For a screen that stutters or hangs: a window being dragged, a program that draws and holds its layer, a deadlock between two tasks. screen_id from amiga_screens, default the front screen. amigentd only looks (under Forbid), it takes no lock itself. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, screen_id. Returns: result

amiga_machinesA

List saved Amigas with stable IDs, names, addresses and reachability.

This does not select a target, change addresses or take a screen connection. Pass a listed name or ID as machine on subsequent calls.

Inputs: no named parameters. Returns: result

amiga_memoryA

Read the Amiga's memory, without changing anything.

address: hex ($0A12B4C0, 0x...), a library ('dos.library' for its base), a function ('dos.library/Write' for its code), or a running program's hunk ('ProTracker:hunk1+$120', 'ProTracker hunk 1 +$120', offset in hex). Or task (name, program or address from amiga_tasks), hunk (from 0) and offset ($120, 0x120 or decimal) instead of address. A hunk read stays inside the hunk: an offset past its end is refused, a size past it cut short. show: hex (dump with text), code (68k disassembly with library function names; a6 names the library a6 holds, e.g. 'dos'), or text (the bytes as text up to a zero byte). Only RAM that exec manages and the Kickstart ROM, at most 64 KB; custom chips, CIAs and boards are refused, since reading them can change what they do. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: a6, hunk, show, size, +4 more. Returns: result

amiga_memory_writeA

Write bytes into the Amiga's RAM (not ROM, not chips), e.g. to patch a test program. Off unless amigentd runs with ALLOWPOKE (command line or tool type): a wrong byte can crash the Amiga. hex_bytes like '4e71 4e71'. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: address (required), hex_bytes (required), machine. Returns: result

amiga_menusB

The active window's menus and items, with shortcuts and state.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_menu_selectB

Pick a menu item by name, e.g. 'Project/Save as...' or 'Window/Show/All files'.

Holds the right button, moves over the menu and lets go on the item, the way a person does it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), machine. Returns: result

amiga_mkdirA

Create a directory, including missing parents.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), machine. Returns: result

amiga_mouse_moveB

Move the pointer to screen pixels without clicking, e.g. to show a tooltip.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x (required), y (required), machine. Returns: result

amiga_mouse_relativeA

Move the mouse by a distance, as a real mouse does.

For games and other programs that read mouse movement and keep their own pointer; amiga_click places the Intuition pointer, which those ignore. The Amiga's mouse acceleration applies, as to a real mouse. exact=True takes dx, dy as screen pixels and moves in small steps, then corrects by where the pointer really is, so the pointer lands on the spot. The answer says where Intuition has the pointer afterwards.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: dx (required), dy (required), exact, machine. Returns: result

amiga_moveC

Rename or move a file within one volume.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: dest (required), source (required), machine. Returns: result

amiga_noteA

Remember something for next time, for a program or task on this Amiga.

Write notes that save time later: the stack a game needs, where a button sits, which requester comes up and what to answer, a working command line. topic is the program's name (e.g. 'settlers2'). remove drops the topic's notes containing that text ('*' for all of them).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: topic (required), text, remove, machine. Returns: result

amiga_notesA

What was learned earlier about programs on this Amiga: read before using one again.

Without arguments the topics; with topic its notes; search looks through all of them. amiga_start shows the notes of the program it starts.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: topic, search, machine. Returns: result

amiga_pause_screenA

Stop the Amiga reading its screen for a while, so a test or benchmark has its CPU.

Until then nothing reads the screen, whoever asks: the viewer keeps its last picture, screenshots and wait_change say the screen is paused. Mouse, keys, commands, jobs and files work as usual. A new call replaces the running pause, 0 ends it, at most 65535 s. Programs on the Amiga can do the same through ARexx: address AMIGENT 'PAUSE 300', then 'RESUME'.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, seconds. Returns: result

amiga_pi_networkA

The Raspberry Pi's Ethernet or Wi-Fi for an Amiga with Emu68, instead of a slow adapter.

action "report" (the default, reads only): Emu68 or not, the drivers in DEVS:Networks (genet.device for the Pi 4's Ethernet, wifipi.device for Wi-Fi; a missing one is named with where it comes from), the TCP/IP stack, Roadshow's interfaces and addresses, and what the link runs at now.

"setup" with interface "ethernet" or "wifi" adds the Pi's network as a second Roadshow interface next to the existing one, which stays as it is. Without confirm=True it only tells what it would do (ask the user first). The new interface comes up on probation: unless the PC reaches the Amiga through the new address within probation seconds, a script on the Amiga takes it down again, and a restart forgets it, so the way back needs no network. Once reached, it is kept (DEVS:NetInterfaces), the speed before and after is measured, and Amigent's entry moves to the new address. Wi-Fi names and passwords are entered by the user on the Amiga, never here. "confirm" retries reaching the new address; "undo" takes it all back. The Pi's boot partition is never touched.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: action, confirm, machine, interface, +1 more. Returns: result

amiga_pistormA

The classic PiStorm emulator under Linux on the Amiga's Raspberry Pi, over SSH.

Not for Emu68, which has no Linux. The login uses the system's ssh with your own key (BatchMode, your known_hosts); Amigent stores no passwords. Read-only unless confirm=True.

action: status (how the emulator runs, systemd unit or run script, which .cfg it reads, the Pi's temperature and under-voltage state), config (show the .cfg; file= another one), set_config (text= the whole new .cfg: without confirm the difference only; with confirm a copy stays on the Pi first), undo (puts the last copy back), restart (the way it was started), log (its last lines), set_pi (pi='[user@]address' of the Pi, '' removes it).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: pi, file, text, lines, +3 more. Returns: result

amiga_powerA

Control mains power, if configured: 'on', 'off' or 'cycle'.

Last resort for a hung Amiga: cutting power loses file changes from the last minutes. Prefer amiga_restart while the Amiga still answers.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: action (required), machine. Returns: result

amiga_ppcA

A PowerPC board (CyberStorm PPC, Blizzard PPC), read only.

action status: the card (from expansion.library), the 68k CPU beside it, which kernel runs (WarpOS powerpc.library or PowerUP ppc.library, with versions; ppclibemu and powerpc.library V7 told apart), the flash ROM's version, 68040/68060.library, PPC patches in the startup scripts, and combinations known not to work. With WarpOS running also the PowerPC model and clock from WarpOS's showinfo. action tasks: the PowerPC tasks with their CPU load (WarpOS's stat). action crash: the WarpOS or PowerUP crash window in words (as amiga_software_failure does it); 'dismiss' closes that window. tools: the folder of WarpOS's tools on the Amiga, if they are not along the path (or set AMIGENT_WARPOS_TOOLS). Nothing that was not active is opened or loaded, and the flash ROM is never written. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: tools, action, machine. Returns: result

amiga_putA

Copy a local file or directory tree to the Amiga.

amiga_path is the full target name, e.g. 'Work:Games/Foo'. Files the Amiga already has with the same size and CRC are left alone, so putting a tree again only sends what changed. While an installation is open (amiga_install_begin), recorded files it is about to overwrite are copied aside first, so undo can bring them back.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: amiga_path (required), local_path (required), machine. Returns: result

amiga_quiet_monitorB

amigent-monitor's window on the Amiga stops drawing for seconds (0: draws again).

Its drawing holds its window's layer, and Intuition waits for that: it can spoil a measurement of how smoothly windows move. amiga_cpu and amiga_drag_measure do this themselves. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, seconds. Returns: result

amiga_read_textC

Read a text file from the Amiga.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), machine. Returns: result

amiga_restartA

Restart cleanly through the system and wait until the Amiga answers.

Some Amigas come back without network after a warm restart. With power control set up, the power is cycled after two minutes without an answer; the disks were written before the restart, so nothing is lost.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_rexx_portsA

List the public message ports, i.e. the applications ARexx can talk to.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_runA

Develop and test: copy a program over if it is local, run it, and report everything.

program is a path on this PC (uploaded to RAM:amigent-run first, only when it changed) or on the Amiga. Reports return code and output, the debug output it produced (kprintf, Enforcer hits), requesters that came up meanwhile (such as Software Failure; a WarpOS crash window is read and explained like a guru) and, if the Amiga dropped off, what amiga_status finds after it came back: a restart or a guru code.

check_fpu: on an Amiga without an FPU, a program whose code holds FPU instructions is not started (it would crash with a line-F guru); on a 68040/060 without its support library it is started with a warning. The check is a heuristic over the code hunks; check_fpu=False skips it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: program (required), cd, args, machine, +2 more. Returns: result

amiga_screen_diffB

Visual regression test: save a picture of the screen (or a region), later compare the screen with it. compare answers the share of changed pixels, the boxes of the changed areas and a picture of them (changed pixels magenta, boxes yellow). threshold: how different a pixel must be (0-255).

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x, y, name, width, +4 more. Returns: result

amiga_screen_frontA

Bring a screen to the front, by handle from amiga_screens or by part of its title.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: screen_id (required), machine. Returns: result

amiga_screen_modesA

The Picasso96 screen modes and which colour depths are switched on, from DEVS:Picasso96Settings; switch single ones on or off.

action: list (default, read only), on, off, or undo. modes: '640x480', a full name like 'VideoCore:640x480', several by comma, or 'all'; depth: 8, 16, 24 or 32, 0 for every depth of those modes; board filters the list. need='640x480x32' says whether a program asking for that mode gets it and, if it is switched off, which switch is missing. on/off without confirm=True only says what would change. With it the file is first copied to DEVS:Picasso96Settings.amigent-undo (the very first state also to .amigent-orig), then changed in place. undo (confirm=True) puts that copy back in one call; a second undo redoes. Picasso96 reads the file when it starts, so a change counts after a restart. With CyberGraphX this only explains: its modes are not managed here.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: need, board, depth, modes, +3 more. Returns: result

amiga_screensA

List all Intuition screens, front to back, with their handles.

rtg: on the graphics card; chipset-output: what the chipset puts out. A last line says when the display shows something other than the front screen.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_screenshotA

Capture the Amiga screen, or a region of it to read small text.

Transfers only what changed since the last call, so repeated shots are quick. Colours are reduced to 256. All coordinates for the pointer tools are screen pixels; use the scale in the reply for reduced images. If the same region has not changed since your last shot of it, only a note comes back; ask again right away to get the picture anyway. changed=True shows only the part that changed since your last look (after a click, say), with its place on the screen. text=True adds the recorded text of the region, see amiga_screen_text; for information alone that one is far cheaper. The picture is the frontmost Intuition screen, graphics card or chipset; screen= takes a handle or part of a title from amiga_screens to picture one behind it. The reply says when the display shows something else.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x, y, text, width, +4 more. Returns: result

amiga_screenshot_colorA

A region in full colour, for small text or exact colours.

amiga_screenshot is cheaper and covers the whole screen in 256 colours; use this one for the part you need to read precisely.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x (required), y (required), width (required), height (required), +1 more. Returns: result

amiga_screen_textA

The text on the front screen, window by window, with positions: cheap, no picture.

Use it first when you need information: Shell output, a requester's message, a list, a status line, whether something finished. It costs a few hundred bytes where a screenshot costs kilobytes. Take amiga_screenshot instead (or afterwards) for layout, graphics, icons, colours, games, and whenever this reports no text or a note says text is missing: buttons drawn as pictures, windows that were open before amigentd started, or programs that draw text their own way. window picks a window by part of its title or its id; find keeps rows containing that text; x/y/width/height keep rows in that region. Rows covered by a window in front are left out unless hidden=True. Positions are screen pixels, ready for amiga_click.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x, y, find, width, +4 more. Returns: result

amiga_serial_logA

The Pi's serial debug output (Emu68), recorded on this PC through a USB serial adapter.

"start" records port (COM5, /dev/ttyUSB0; default the only USB adapter) at baud (921600, Emu68's speed) with time stamps until "stop", into the config folder (serial/.log); amigent-serial does the same on its own. Only reads. amiga_debug_log then includes what came, and amiga_status gives the last lines when the Amiga stops answering. "status" tells whether it records, "show" the last lines lines.

"narrow" limits Emu68's JIT debug output to the 68k addresses low..high (hex, e.g. $00F80000) with verbosity 0-3 and disassemble, through Emu68's control registers at run time; "wide" switches that off again (verbosity 0, every address). Both run a small program on the Amiga and need confirm=True; only on Emu68.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: low, baud, high, port, +6 more. Returns: result

amiga_software_failureA

Deal with a "Software Failure" or "Task held" requester on the front screen.

action show: its text, the guru code in words and the program at fault. action dismiss: click the button that leaves the Amiga running (Suspend, Entfernen, Ignore...), never Reboot. Registers of the crashed task are not in the requester; amiga_task(name, stack=8) reads where it stopped while it is suspended. Without one, a PowerPC crash window (WarpOS, PowerUP) is read instead: exception, task, registers, named; dismiss closes it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: action, machine. Returns: result

amiga_startA

Start a program in the background, without capturing output.

unique=True first looks whether the program runs already and then starts nothing: many programs open an "already running" requester instead, which is easy to miss. Shows what amiga_note recorded about the program earlier.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: command (required), unique, machine. Returns: result

amiga_stateA

Find leaks: save the Amiga's state, run and quit a program, then compare.

save keeps free memory and the largest blocks, the open count of every library and device (with amigentd 1.4.0), the tasks and the public ports; compare says what changed since: memory not given back, a library left open, a task or port that stayed.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name, action, machine. Returns: result

amiga_statusA

Show memory, OS and TCP stack versions, CPU and FPU, and mounted volumes with free space.

Also tells whether the Amiga started again since the last look, and the guru code it kept from before the last reset, so after a lost connection you can tell a crash from a network fault. Call it first when the Amiga answers again after being away.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_taskA

Look at or change a task: priority (-128..127, 0 is normal; above 5 can starve the system) or signal it with Ctrl-C, D, E or F (e.g. 'C', or 'CD'). stack=N shows what it waits for (SigWait, SigRecvd) and up to N return addresses on its stack, named: for a task that hangs or two that wait for each other. task is a name, a program as amiga_tasks shows it, or an address. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: task (required), stack, signal, machine, +1 more. Returns: result

amiga_tasksA

All tasks and processes: address, priority, ready or waiting, stack used of its size (with a warning near full), and the program. name filters. Needs amigentd 1.4.0. With WarpOS running, the PowerPC tasks follow with their CPU load, as WarpOS's tool stat tells it.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name, machine. Returns: result

amiga_traceA

Tracepoints in a running program: where it gets to, and its registers then.

action set: put one at address (in a running program's code, e.g. from amiga_loaded or 'myprog hunk 0 +$120' resolved with amiga_where); when the program passes there, amigentd keeps D0-A7, SR and the top of the stack, puts the instruction back and the program runs on without stopping. Fires once. action list shows them with what they caught; clear removes all. At most 8. Meant for programs you are testing. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: action, address, machine. Returns: result

amiga_typeA

Type text into the active window through its keymap. Newline presses Return.

Several lines go in one at a time: after each Return it waits, up to settle seconds, until the window has been still for a moment, so a Shell is done with one command before the next one comes. A command that runs quietly for long still gets the next line early, into the Shell's type-ahead. settle=0 types everything at once.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: text (required), settle, machine. Returns: result

amiga_ui_clickB

Click a gadget from amiga_ui_tree by its label, or by its #number within a window.

window is part of the window's title, or its id from amiga_ui_tree.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: label, button, double, number, +2 more. Returns: result

amiga_ui_treeA

The front screen's windows and gadgets as text, with labels, boxes and numbers.

screen_id (a handle from amiga_screens or part of a title) looks at a screen behind the front one without bringing it forward; pictures only come from the front screen.

Labels come from classic Intuition gadgets and GadTools checkboxes, strings and sliders. Gadgets whose label can't be read (GadTools buttons, BOOPSI, ReAction, MUI, requesters patched by tools like ReqAttack) come with a picture: each one cut out of the screen next to its #number, so you can read what it says and click it with amiga_ui_click(number=..., window=...). Only the active window's gadgets get pictures.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine, pictures, screen_id. Returns: result

amiga_updateA

Is a newer Amigent out? With apply=True, update this PC and then every saved Amiga.

Without apply it only looks (on PyPI) and tells what is new and what an update would do. Use apply=True only after the user said yes. It runs pipx upgrade amigent, then amigent-setup --update for each Amiga in amigas.json; the user restarts the AI app afterwards to get the new tools. skip=True stops offering this version.

Inputs: skip, apply. Returns: result

amiga_viewerA

Open a live window of the Amiga screen on the user's desktop for manual control.

Use when the user wants to see the Amiga or drive it themselves: mouse, keyboard, Amiga key shortcuts, file upload. Your own screenshots and clicks keep working meanwhile and show up in the window.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: machine. Returns: result

amiga_wait_changeA

Wait until a region (or the screen) differs from what you last looked at.

Counts from your last screenshot, so a change your click already caused is reported at once. Use it after a click or command instead of taking screenshots in a loop; no pictures are sent. Returns within timeout even on a slow link.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: x, y, width, height, +2 more. Returns: result

amiga_wait_taskA

Wait until a task or process with this name runs (or, gone=True, until none does).

For programs a script started with Run: amiga_exec returns when the script ends, this waits for what it started. name matches like amiga_task: a task name, a program as amiga_tasks shows it (its file name is enough), or an address. Looks at the task list every one to three seconds, so it is gentle on a slow line. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: name (required), gone, machine, timeout. Returns: result

amiga_wait_textA

Wait on the Amiga until this text shows up on the front screen (or is gone).

For "done", a prompt coming back, a progress line. Any case; it looks at the text amigentd records, see amiga_screen_text.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: text (required), gone, machine, timeout. Returns: result

amiga_wait_windowA

Wait on the Amiga itself until a window with this title opens (or closes, gone=True).

title is part of the title, or an AmigaDOS pattern. With new=True only a window that was not open yet counts, e.g. a second requester; right after amiga_start, one that was not open before the start. The Amiga looks ten times a second and the line stays quiet meanwhile, so this is the cheap way to wait for a program, a requester or the end of a dialog.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: title (required), new, gone, machine, +1 more. Returns: result

amiga_whereA

Name the code or data at an address: program and hunk, library function, resident module or ROM. For a guru's address, a debugger's or CacheCop's PC. Needs amigentd 1.4.0.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: address (required), machine. Returns: result

amiga_write_textA

Create or replace a text file on the Amiga, with LF line endings.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Inputs: path (required), text (required), machine. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 96 tools

    Disambiguation3/5

    Descriptions are unusually careful, but with 96 tools several deliberate clusters overlap heavily: amiga_exec/amiga_job/amiga_start/amiga_run, amiga_screenshot/amiga_screenshot_color/amiga_screen_text/amiga_screen_diff/amiga_wait_change, and amiga_click/amiga_click_text/amiga_ui_click/amiga_drag/amiga_button. The text explains the boundaries well, but an agent must read a lot before choosing correctly, so overlap is real even if mitigated.

    Naming Consistency4/5

    Every tool uses the amiga_ prefix with snake_case, and verbs and nouns are predictable (amiga_create_project, amiga_wait_text, amiga_machines, amiga_notes). The only deviation is the verb-first vs noun-first split for list/status tools, which is natural and still readable.

    Tool Count2/5

    96 tools is far beyond a comfortable agent surface, even for a broad domain like full Amiga remote control. Many tools earn their place individually (Emu68, PiStorm, installs, debug), but the sheer volume makes selection and context cost a serious burden.

    Completeness5/5

    The surface covers file CRUD and transfer, project build/run, job control, UI automation, memory/debug inspection, hardware status, installation with undo, Aminet, emulator control and update paths. There are almost no dead ends for the stated purpose of remote-controlling and diagnosing an Amiga.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to interact with Classic Mac OS 7-9 through structured commands and responses using a shared folder transport, supporting file browsing, window management, mouse/keyboard control, and more.
      23
      61 npm
      28
      GPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to see and control an existing Linux X11 desktop over SSH by taking screenshots and performing mouse, scroll, typing, and keyboard-shortcut actions across browsers, terminals, file managers, and other apps.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets an AI assistant drive measured Amiga reverse-engineering instruments locally — mapping ADF disks, verifying and unpacking packer blocks, reading HUNK executables, walk-based 68000 disassembly and hardware-boundary scans, static recompilation to C, and headless vAmiga screenshots and breakpoint captures compared byte-for-byte. It exposes 18 path-based tools that never fetch anything or write outside the paths they are given, returning only measurements such as entropy maps, listings, and diffs.
      2,599 PyPI
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI agent to drive a remote Linux machine over the LAN through a single TCP connection, exposing tools for shell commands, jobs, interactive PTYs, file read/write/search/transfer, process and service management, networking, packages, and power control, with optional multi-host switching. Operates without SSH or any Linux-side installation beyond one stdlib-only Python daemon, using a state-free binary protocol.
      MIT