NewsCrawler.org

ClawDOS: an AI coding agent that runs on DOS on an IBM PC XT

The ClawDOS opening screen
ClawDOS writes, compiles and runs PRIMES.C
Video: the WarGames demo running on a real IBM PC 5160 (YouTube)
ClawDOS reads its WARGAMES memory and runs the demo with a screenshot
Image: ricapar.net

ClawDOS is an AI coding agent for DOS that runs on an IBM PC XT with an 8088 at 4.77 MHz, 640K of RAM and a CGA card[1]. The author says Claude wrote 100% of the repository, and the harness, HARNESS.EXE, is a 176 KB DOS program that speaks the Claude Messages API itself. A bridge PC handles TLS[2], which the 8088 could not manage.

The agent can read and edit files, write programs, compile them with Turbo C[3], run them and look at what they draw on the screen. It keeps notes between conversations, saves each chat as a file on disk and has 18 tools. Safe mode asks for confirmation before any change to a file, memory or port, unless the user turns it off.

In one example, a request to print the primes below 100 was answered 64 seconds after Enter. The screenshots were made in the 86Box emulator, and the WarGames demo was also run on a real IBM PC 5160 with a PicoMEM[4], a device that emulates a hard drive from an SD card.

Repository ClawDOS github.com

Open source AI coding agent for DOS that runs on an IBM PC XT, reading, editing, compiling and running programs via the Claude API.

Stars: 16Forks: 1License: GPL-3.0Updated:

Read the original ricapar.netDiscussion

Discussion

Commenters mostly like the idea and its playful side. Several suggest the same kind of agent for older Windows XP and Win7 machines to help with debugging, and others joke about a Go rewrite or a Lemmings remake.

Sources

Published: First seen: Читать по-русски

Open as a page