The detail that made me stop scrolling was a screenshot. An IBM PC XT (!) had taken a picture of its own screen, encoded it as a PNG and sent it to Claude. The picture was 320 by 200 pixels in four colours. It showed a map from a little WarGames demo. Claude could look at the image and describe what was happening on the screen. The PC doing the capturing and encoding had an 8088 processor running at 4.77 MHz and 640 KB of RAM.
The project is called ClawDOS (https://ricapar.net/ClawDOS/). Its maker learned to type on his parents’ IBM PC, partly so he could launch alphabet games his mother had bought him. He went on to write simple programs in BASIC, including number-guessing games, and still has some parts from that first computer. His collection now includes an IBM PC XT, the machine he wanted to see a modern coding agent work on. There’s something nicely circular about that. The computer he first learned to give instructions to is now the sort of computer he can ask, in ordinary language, to build him a program.
Back at the DOS prompt
In this project Claude runs remotely, and a second computer handles the encrypted connection. The interesting part is how much that leaves for the XT to do. ClawDOS runs as a 176 KB DOS program. It reads Claude’s replies as they arrive, keeps conversations on its own disk and carries out operations on the machine. Give it a simple programming task and it can write a C file, compile it with Turbo C and run the resulting program. To give the compiler enough memory, ClawDOS saves its state and temporarily exits. When it returns, the conversation picks up with the output from the program it just ran.
That small manoeuvre says quite a bit about building software for an old computer. On one of my own projects, I could easily ask an AI to add a feature and forget to ask how much memory it takes. Here, making room for the compiler shapes the way the whole application works. The screenshot has a similar story behind it. The XT grabs the contents of its CGA video memory and turns them into a file that a modern model can read. A screenshot is such an ordinary thing to attach to a chat today that I rarely think about all the work a computer has to do to produce one.
You can find out more about ClawDOS here: https://github.com/Ricapar/ClawDOS.
The 486 that does its own thinking
Yeo Kheng Meng approached the problem from the other end. He had already made a ChatGPT client for DOS, then started wondering whether an old PC could generate the text itself. He ported llama2.c, a small implementation of the code needed to run a trained language model, to 32-bit DOS. On a 486, a roughly 260 KB model trained on short stories generated a little over two tokens per second. See here for more details: https://yeokhengmeng.com/2025/04/llama2-llm-on-dos/.
A tiny model producing story text and Claude helping to write a DOS program are two different jobs. Put them side by side, though, and the question “Can this old computer run AI?” gets more interesting. The XT is where the files live, the compiler runs and the results appear. The 486 is where the model generates its next piece of text. In both cases the old machine has a very specific job, and you can follow what happens on it.
There’s another variation on a Commodore 64. Nick Bild connected one to a Raspberry Pi that sends questions to ChatGPT. The Commodore takes the answer and reads it aloud using Software Automatic Mouth. Listen to the demo and you hear the peculiar result of that division of labour. The words come from a modern language model, but the voice is unmistakably from another era. (https://www.youtube.com/watch?v=DBXtr3ZzDoc)
What happens when someone shares the code?
This reminded me of the piece I wrote about toy projects after WordCamp. ClawDOS began because someone wanted to play with a computer he had a reason to care about. He published the code under the GPL, so someone else can try it on their own machine or in an emulator. Yeo published his DOS port under the MIT licence and made an executable available. There’s room for the next person to be curious about something slightly different. What happens on another processor? What would you ask a tiny model to write? What could you make Turbo C do that never occurred to you when it was your everyday compiler?