ClawDOS: An AI coding agent running on the IBM PC XT
Understand this story
Developer Ricapar has released ClawDOS, an AI coding agent that runs in the DOS environment on an IBM PC XT (8088 at 4.77 MHz, 640K of memory, CGA graphics). Typing CLAWDOS at the C:\> prompt lets you converse with Claude; it can read and edit files on disk, write programs, compile and run them with Turbo C, and then view the results the program draws on screen. To use it you need a Mac or Windows PC with Python 3 and an Anthropic API key; without a key, you can simulate the API offline with python3 tunnel/mockapi.py, enter CLAWDOS 10.0.2.2:18023, and send !help. On a real PC, you need to build the image using the address of the host running the tunnel, copy CLAWDOS.IMG to the microSD card of a PicoMEM, select it as the hard disk in the PicoMEM menu, then boot and enter CLAWDOS. Ricapar notes that the built disk image contains third-party software such as FreeDOS, mTCP, and Turbo C from the user's own floppy disks, and that images containing Turbo C should not be redistributed.
AI overview based on source reports · Updated 18 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIClawDOS – An AI coding agent for DOS
ClawDOS is an AI coding agent that runs on an IBM PC XT (8088 at 4.77 MHz, 640K RAM, CGA) under FreeDOS, with a 176 KB HARNESS.EXE that speaks the Claude Messages API directly while a separate bridge machine handles TLS. It provides 18 tools for reading and editing files, running DOS programs, compiling with Turbo C, taking CGA screenshots, and reading/writing memory and I/O ports, and keeps conversations and notes on disk. The author states the repository was written entirely by Claude, with the exception of the backstory text.
Activity for this story
- Current comparable activity
- 6
- Peak comparable activity
- 10Nov 21 14:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.