An AI agent is writing code on an IBM PC XT, somehow
The open source ClawDOS turns an IBM PC XT into a DOS environment for chatting with Claude and writing programs. The agent reads files, compiles code with Turbo C, and runs it on vintage hardware.
AI news faster than on the site — on Telegram KARMAZIN MEDIA

Developer Rich Acosta has released ClawDOS, an open source AI agent for chatting and coding in DOS. It runs on an IBM PC XT with an 8088 processor, a 4.77 MHz clock speed, and 640 KB of RAM. Every file in the repository was written by Claude, except for the author’s description.
ClawDOS can read and edit files on the disk, create programs, compile them with Turbo C, run them, and analyze what appears on screen. It saves conversation history, so it can continue from where it stopped after a restart. The HARNESS.EXE program takes up 176 KB and handles everything on the PC except TLS, which requires a separate bridge computer.
In one demonstration, a command to create PRIMES.C, print prime numbers below 100, compile the program, and run it took 64 seconds. Compilation, linking, and execution accounted for 26 seconds. Before the build, ClawDOS frees memory and leaves Turbo C about 450 KB, then returns to the previous context with the result.
The project can be built on Mac or Windows with Python 3 by cloning the repository, running python3 scripts/setup-tools.py, and then running python3 scripts/build.py. The image runs in DOSBox-X or 86Box, and working with Claude requires an Anthropic API key. An offline mock API is available for autonomous testing, so a network connection to Claude is not required.
AI agents
AI agents
Tools