AminetAminet
Search:
85673 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

dev/misc/amai.lha

Mirror:Random
Showing: ppc-powerup icongeneric icon
No screenshot available
Short:AI Assistant Shell for Commodore Amiga
Author:Patu^Xenium^AberrationCreations
Uploader:patuwwy gmail com
Type:dev/misc
Version:v0.1.0
Architecture:m68k-amigaos
Date:2026-10-09
Requires:AmigaOS 2.04+ (Kickstart 37+), bsdsocket.library, 2MB+ Fast RAM
Download:dev/misc/amai.lha - View contents
Readme:dev/misc/amai.readme
Downloads:5

AMAI (Amiga AI) - Amiga AI Shell
================================
AMAI is an interactive AI coding and assistant Shell client for Commodore
Amiga (in the style of Claude Code / Gemini CLI / Aider). It enables pair
programming directly on AmigaOS (C, 680x0 ASM, ARexx, Amiga E, AmigaDOS),
reading/writing files, patching code, and executing AmigaDOS commands with
safety approval modes.

Project Homepage & Source Code:
-------------------------------
GitHub Repository: https://github.com/patuwwy/amai
Issue Tracker:     https://github.com/patuwwy/amai/issues
Releases & Source: https://github.com/patuwwy/amai/releases

Please Note (Early Development):
--------------------------------
This is an early development release. While core tool execution and
pair-programming features are working, occasional quirks or edge-case
issues may occur. Feedback and bug reports are welcome on GitHub!

It connects through a lightweight bridge server on your modern PC/Mac/Linux
machine, allowing you to use local models (Ollama, LM Studio) or cloud AI
providers (Google Gemini, OpenAI, OpenRouter) with full tool-calling support.

Included Executables:
---------------------
This archive contains standalone self-contained executables created with
the NodeAmiga compiler (-compile). They do NOT require NodeAmiga or external
JS files to run:
- amai       : Universal build for MC68000 / MC68010 (all Amiga models)
- amai_020   : Optimized for MC68020 / MC68030 (A1200 / A3000 / 030 boards)
- amai_040   : Optimized for MC68040 (A4000 / 040 accelerators)
- amai_060   : Optimized for MC68060 (060 accelerators - maximum speed)

Quick Start Guide:
==================

1. On your PC / Mac / Linux (Host Bridge):
------------------------------------------
AMAI requires a bridge server running on a PC, Mac, or Linux machine on the
same local network (or localhost for WinUAE).

a) Download the Host Bridge:
   Clone or download the project repository from GitHub:
   git clone https://github.com/patuwwy/amai.git
   (or download ZIP from https://github.com/patuwwy/amai/releases)

b) Requirements:
   Node.js (v18+) is required on the host machine (https://nodejs.org).

c) Setup AI Model:
   - For Local AI: Install Ollama (https://ollama.com) and pull your model:
     ollama run qwen3.8:latest
   - For Cloud AI: Copy pc/.env.example to pc/.env and set your API keys:
     GEMINI_API_KEY=your_key_from_aistudio.google.com
     OPENAI_API_KEY=your_openai_key
     OPENROUTER_API_KEY=your_openrouter_key

d) Run the bridge server:
   - On Windows: double-click start_bridge.bat (or run "node pc/server.js")
   - On Linux/macOS: run "./start_bridge.sh" (or "node pc/server.js")
   The bridge will log active providers and listen on port 11435.

2. On your Amiga:
-----------------
a) Ensure a TCP/IP stack is running (Roadshow, Miami, AmiTCP, ImpBox, or
   WinUAE bsdsocket emulation) providing bsdsocket.library.
b) Extract this archive to your preferred location (e.g. DH0:Tools/amai/).
c) Edit amai.config.json to set your PC's IP address:
   "host": "192.168.1.50"
   (or in WinUAE use "127.0.0.1")
d) Run AMAI from the AmigaDOS Shell:
   amai
   Or specify host and model on the command line:
   amai -h 192.168.1.50 -m gemini-flash-latest

Interactive Commands:
---------------------
During the session, built-in slash commands are available:
- /help               : Show commands and safety mode help
- /status             : Check connection to PC bridge and active models
- /model [name|prov]  : Show/switch model, or filter by provider
- /mode [smart|manual|auto] : Set safety approval mode
- /auto [on|off]      : Quick toggle unrestricted AUTO execution mode
- /encoding [mode]    : Character charset (ascii, amigapl, iso-8859-2, raw)
- /read <file>        : Inject Amiga file contents into conversation
- /run <cmd>          : Run AmigaDOS command directly
- /save               : Save current settings to amai.config.json
- /clear              : Reset conversation history

About NodeAmiga Runtime:
------------------------
AMAI is developed and compiled using NodeAmiga, a JavaScript runtime
environment and compiler for Classic AmigaOS:
- Author: Juen / R3D + Appendix + Nah-Kolor
- Documentation: http://juen.in/NodeAmiga/
- Aminet package: https://aminet.net/package/dev/lang/NodeAmiga
- Support: http://juen.in/support/


Contents of dev/misc/amai.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x  1001/1001        0       0 ****** -lhd- 0000 Oct  7 23:04 amai/
-rw-r--r--  1001/1001     6163   14934  41.3% -lh5- c987 Oct  7 23:04 amai/README.md
-rw-r--r--  1001/1001   228397  499184  45.8% -lh5- e92f Oct  7 23:04 amai/amai
-rw-r--r--  1001/1001      119     163  73.0% -lh5- 2e3a Oct  7 23:04 amai/amai.config.json
-rw-r--r--  1001/1001     2214    4630  47.8% -lh5- 230f Oct  7 23:04 amai/amai.readme
-rw-r--r--  1001/1001   227412  494932  45.9% -lh5- 8ed8 Oct  7 23:04 amai/amai_020
-rw-r--r--  1001/1001   226284  498628  45.4% -lh5- 4bcf Oct  7 23:04 amai/amai_040
-rw-r--r--  1001/1001   224909  494892  45.4% -lh5- 0f83 Oct  7 23:04 amai/amai_060
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files  915498 2007363  45.6%            Oct  9 01:01
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>