AminetAminet
Search:
85480 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/net/amiagent-0.11.0.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Lets another machine control your Amiga
Author: thomas at amiga-imager.com (Thomas Luebker)
Uploader:thomas amiga-imager com (Thomas Luebker)
Type:comm/net
Version:0.11.0
Architecture:m68k-amigaos >= 2.0
Date:2026-08-15
Distribution:Aminet
URL:https://amiga-imager.com
Download:comm/net/amiagent-0.11.0.lha - View contents
Readme:comm/net/amiagent-0.11.0.readme
Downloads:7

amiagent is the Amiga half of amimcp. It is a small TCP daemon that lets a
program on another machine work on this Amiga: run AmigaDOS commands, read and
write files, list drawers, report system state, capture the screen, run ARexx,
and inject mouse and keyboard input.

The other half is an MCP server that runs on a Mac or PC, which is how Claude
(Anthropic's LLM) talks to it. Nothing about the agent is specific to that,
though - the wire protocol is documented (PROTOCOL.md, now in this archive)
and simple enough to drive from a shell script if you would rather.

It is written in plain C against the OS libraries, needs no third-party
dependencies, and runs on AmigaOS 2.0 upwards. Two builds of each program are
included:

  amiagent        68000 - runs on any Amiga
  amiagent.020    68020+ - slightly smaller and faster
  amimon          68000 - the status window, GadTools (runs everywhere)
  amimon.020      68020+ - the same, for an 020 and up
  amimon-mui      68000 - the status window, MUI (needs MUI 3.8+)
  amimon-mui.020  68020+ - the same, for an 020 and up

NEW IN 0.11.0 - A LOCAL AREXX PORT

  The agent now opens a public ARexx port, "AMIAGENT", so your own ARexx
  scripts and ARexx-aware applications can drive its input machinery
  directly - no network, no AI, just ARexx:

      /* activate a window by title pattern, then type into it */
      address AMIAGENT
      'ACTIVATEWINDOW "CHAT --*"'      /* rc=0 found+activated, rc=5 not */
      'ENTERTEXT "hello there<enter>"'

  Commands:

    ACTIVATEWINDOW <pattern>  AmigaDOS wildcards ('*' accepted as #?),
                              plain text matches as a substring, any
                              screen; on success RESULT holds the
                              matched window title.
    ENTERTEXT <text>          (alias TYPE) typed through YOUR keymap, so
                              umlauts come out right. Inline key tokens
                              in the commodities style: <enter>, <esc>,
                              <tab>, <f1>..<f10>, <up>, <ctrl c>,
                              <shift tab>, <lamiga q>, ... - "<<" gives
                              a literal '<'.
    KEY <name>                one key press, same names as above.
    VERSION / HELP            what you would expect.

  rc=0 means it worked, rc=5 window not found, rc=10 bad command - so
  your script can check whether the window even opened. Test for the
  port with show('P','AMIAGENT') and fall back to whatever you did
  before; if a second agent instance is started it simply runs without
  the port rather than fighting over it.

ALSO RECENT (0.9.0 / 0.10.0)

  * CMD_AREXX - clients can run ARexx programs here and read the RESULT;
    REXXPORTS lists what is scriptable right now.
  * A semantic GUI layer: walk windows/gadgets as objects, click "the OK
    button" by name, enumerate menus and invoke by shortcut.
  * GETRANGE - chunked download for big files.
  * Optional TLS via AmiSSL 5 (opt-in SSL=1 rebuild; self-signs a cert on
    first run). The binaries in this archive are plain TCP.

RUNNING IT

  Bring your TCP/IP stack up first (Roadshow, AmiTCP, ...), then:

      amiagent TOKEN=somesecret

  It listens on port 7846 and prints that it is waiting. Ctrl-C stops it
  (from a Shell: Status, then Break <n> - the agent exits cleanly). To
  start it at boot, add this to S:User-Startup AFTER your TCP/IP stack:

      run >NIL: <path-to>/amiagent TOKEN=somesecret QUIET

  Then, optionally, run amimon (or amimon-mui) from the drawer to watch it
  work.

SECURITY - PLEASE READ

  amiagent runs whatever commands it is sent, and the connection is NOT
  encrypted. Always set a TOKEN, keep it on a LAN you trust, and never forward
  the port through your router. Without a TOKEN, anything on the network can
  run any command on this machine - and both monitors will say so in
  red-letter terms, showing "OPEN, no token".

Source, the MCP server, the protocol document and the issue tracker:

      https://github.com/thomas-luebker/amimcp

Distributed under the licence in the archive.


Contents of comm/net/amiagent-0.11.0.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4073   11358  35.9% -lh5- 19ee Aug 15 19:28 license
[generic]                 5852   12913  45.3% -lh5- 2796 Aug 15 19:28 README.txt
[generic]                 8484   18504  45.8% -lh5- 35d7 Aug 15 19:28 PROTOCOL.md
[generic]                56685  101736  55.7% -lh5- 1d09 Aug 15 19:28 amiagent
[generic]                  472    1020  46.3% -lh5- 5b45 Aug 15 19:28 amiagent.info
[generic]                54229   96832  56.0% -lh5- cb9c Aug 15 19:28 amiagent.020
[generic]                33468   59456  56.3% -lh5- 8af7 Aug 15 19:28 amimon
[generic]                  419     990  42.3% -lh5- 1000 Aug 15 19:28 amimon.info
[generic]                31402   55480  56.6% -lh5- 92eb Aug 15 19:28 amimon.020
[generic]                11255   19512  57.7% -lh5- 0f22 Aug 15 19:28 amimon-mui
[generic]                  419     990  42.3% -lh5- 1000 Aug 15 19:28 amimon-mui.info
[generic]                11006   19048  57.8% -lh5- 2224 Aug 15 19:28 amimon-mui.020
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        12 files  217764  397839  54.7%            Aug 15 23:55
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>