AI ShortsOpen the app
Agents ยท

AI coding helper now runs on a 1983 IBM PC

A developer got an AI chat and coding helper running on an IBM PC XT, a 1983 computer with 640 KB of memory. The old machine runs a small program, and a newer computer handles the secure internet link to Claude. The AI can read files, write code and run it.

ClawDOS is an open-source project that runs an AI helper on DOS, the old PC operating system. The target machine is an IBM PC XT: a 4.77 MHz processor, 640 KB of memory and a CGA graphics card. Emulators work too.

A 176 KB DOS program builds the requests, reads the streamed replies, runs the tools and saves each chat to disk. The old chip can't handle secure web connections, so a helper on another machine passes the data to Anthropic's service.

Claude gets 18 tools. They cover system info, files, running DOS programs, screenshots, memory and port access, PC speaker music and text art. Safe mode is on by default and asks before changing files, memory or ports.

The author says Claude wrote everything in the repository except the backstory note. The project uses the GPL-3.0 license, and you supply your own Anthropic key.

New to this? The key idea

An AI helper is mostly a loop. A small program builds a request, sends it to a model, reads the reply and runs the tools the model asks for. That loop needs very little computing power, which is why it can fit on a 1983 PC. The heavy thinking happens on Anthropic's servers.

Use it at work

Use it for: hobbyists and engineers who want to see how an agent loop works at its smallest. It is a learning project, not a work tool.

Try it: setup as described on the project page, on a Mac or Windows PC with Python 3 and your own API key in `.env`:

python3 scripts/setup-tools.py
python3 scripts/build.py
python3 tunnel/tunnel.py
python3 scripts/run86box.py

Then type `CLAWDOS` at the `C:\>` prompt. Without a key, run `python3 tunnel/mockapi.py`, then `CLAWDOS 10.0.2.2:18023` and send `!help`. Needs FreeDOS 1.4 with mTCP. Turbo C must come from your own floppy images.

Before you roll it out: free software under GPLv3 or later, but you pay for your own Anthropic API use. Requests, including the system prompt, tool results and any screenshots, go to Anthropic through a tunnel on your other machine. Chats and memories are stored as plain text on the PC. Safe mode asks before changing files, memory or ports. A programme run by it gets 200K of memory, and the page's example took 64 seconds.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.