ClawDOS – An AI coding agent for DOS
Reported by Hacker News1 source ↓
ClawDOS is a DOS-based coding agent that runs on an IBM PC XT-class machine and connects to Claude through a separate PC that handles TLS. It can edit files, compile and run programs, and inspect screenshots sent back to the model.
Key points
- ClawDOS runs on an 8088-based IBM PC XT with 640 KB of RAM and CGA graphics
- Its 176 KB DOS harness connects to the Claude Messages API; a bridge PC handles TLS
- It can use Turbo C to build and run a program; one example took 64 seconds
- Safe mode is on by default and asks permission before changes to files, memory or ports
Details
The project’s author says the harness runs on the DOS machine and handles API requests, streamed responses, tool execution and local conversation files. A separate bridge PC handles TLS, which the author says the 8088 could not manage. The demonstration ran in an 86Box emulation of an IBM PC 5160, with conversations using the live API.
In one demonstration, a prompt to print prime numbers below 100 led ClawDOS to read its compiler guide, write the source code, compile and link it with Turbo C, and run the program. The result appeared 64 seconds after the prompt; 26 seconds were spent compiling, linking and running. The author says the harness gives Turbo C about 450 KB of free memory during a build.
The agent can also search and edit source files, retain notes between conversations, and send screen captures to Claude. The project includes DOS development tools and supports switching among configured providers and models through the Messages API. The author says the repository was written by Claude, except for the project’s introductory text.
Written from coverage as of
Stocks in this story
Change since open: 20 Nov to 21 Nov 2026
Last refresh