AI4MorphOS

A native AI client & tool-using agent for MorphOS

Chat with Claude or any OpenAI-compatible model, or switch on the agent and let it read, write and run things on your MorphOS — safely, with per-folder approvals. Built natively in C with MUI, HTTPS over the SDK's OpenSSL + libcurl.

v0.9 MorphOS / PPC MUI Anthropic + OpenAI
AI4MorphOS running on MorphOS — client, model list and an editor
AI4MorphOS on MorphOS: the client, the fetched model list, and CygnusEd — the agent has just built a “Hello World” with a Makefile.

Features

Everything runs locally on your MorphOS box; only the API calls leave the machine.

🔌

Multi-provider

Anthropic (Claude) natively, plus any OpenAI-compatible endpoint — OpenAI, DeepSeek, OpenRouter and more. Pick provider & model in the top bar.

🤖

Agent mode

A ReAct tool loop that works the same on every provider: list_dir, read_file, write_file, search, replace_in_file, run, remember — several tools per turn, with targeted edits instead of rewriting whole files.

đŸ›Ąī¸

Safe by default

File tools are confined to a working directory; anything outside prompts Yes / Session / Always / No. Every action is written to an audit log.

đŸ—‚ī¸

Sessions

Conversations auto-save on the left, each with its own working directory. Double-click to resume; a right-click menu edits memos or clears a chat.

🧠

Memo & tool cache

A Markdown memory injected every turn — global and per-project. The agent caches where it found the compiler and other tools, so it never searches twice.

âŒ¨ī¸

Slash commands

Type /help, /new, /cwd, /model, /remember or /memo right in the input — handled locally, never sent to the AI.

âšī¸

Responsive & stoppable

Non-blocking transfers (curl multi) keep the GUI live during a request, and the Stop button aborts a call in flight.

đŸŒŋ

Git & editor

A one-click git init appears when your working dir isn't a repo, and you can open memos in your own editor of choice.

📜

Rich view

Conversation on Scintilla — selectable, copyable, user vs AI styled, optional folding to collapse long replies. Multi-line input for pasting.

⚡

Live streaming

Replies stream in token by token, a token counter shows usage, and long chats are auto-compacted (summarised) so requests stay small and cheap.

Agent at work

Told to build a program, the agent writes the source and Makefile, runs the PPC gcc, reads the errors and iterates — here it produced a running SDL Mandelbrot.

The agent built and ran an SDL Mandelbrot on MorphOS
A full round trip: write_file (with a .bak backup), run make, read the build log, fix, run again — and a Mandelbrot window appears. Note the new »/[] Send/Stop buttons and the git init shortcut.

How the agent works

A provider-neutral text protocol — the model asks for a tool by writing a line, the app runs it and feeds the result back.

Your message Model <<TOOL …>> Run tool Result Final answer

Tools

  • list_dir list a directory
  • read_file read a file
  • write_file write a file — backs up to .bak first
  • run run an AmigaDOS command
  • remember cache a note (global or project)

Guard rails

  • Confined to the working directory you choose
  • Yes / Session / Always / No approval per folder and for every command
  • Full audit log of provider, model, tool and decision
  • Stop button and a configurable step limit

Download

AI4MorphOS.lha
v0.9 native PPC binary + data
Download the archive

Requirements

  • MorphOS on PPC
  • An internet connection
  • An API key for your provider (Anthropic or an OpenAI-compatible service)

Set up

  1. Unpack the archive anywhere.
  2. Copy claude.json.example to config/claude.json and add your key.
  3. Launch AI4MorphOS, pick a provider & model, and start chatting.
Use at your own risk. Provided AS IS, without any warranty. The author takes NO responsibility and is NOT liable for any damage, data loss, system damage or any other consequences of using this software. Agent mode can read & write files and run commands, and AI can make mistakes. All responsibility for what the app and the AI do rests solely with the user — keep backups and run in a safe directory.