Skip to content
Source: ClawDOS

🕹️Ricapar's ClawDOS Runs an AI Coding Agent on a 4.77 MHz IBM PC XT

An AI agent just booted on 1981 hardware

TL;DR

Ricapar built ClawDOS, an AI coding agent running natively on an IBM PC XT with an 8088 at 4.77 MHz and 640K of RAM. It writes, compiles with Turbo C, and runs programs, which makes it a fun stress test of what agents can do on constrained hardware.

Somebody got an AI coding agent running on an IBM PC XT from 1983, and it works. ClawDOS, built by Ricapar, talks to the Claude Messages API from a 176 KB DOS program on an 8088 clocked at 4.77 MHz with 640K of RAM and a CGA card. It can read and edit files, write programs, compile them with Turbo C, and run them in a single tool call. Why should you care? Because it's a sharp reminder of how much the agent loop depends on the layer underneath it. The harness handles the request cycle, and a separate bridge PC takes care of TLS, since a 4.77 MHz machine has no business doing modern cryptography. If you build agent tooling, the design choices here, like caching the system prompt and tools and uploading only new content after the first request, are the same ones you'd want on a production stack. The numbers are the fun part. The codebase is 13,000 lines of C and C++, built with Open Watcom for the 8086 instruction set, and the two executables total 205 KB. A PicoMEM card stands in for the original 20 MB hard drive by emulating a disk from an SD card, and an NE2000 adds WiFi. Hardware nerds will enjoy this, and everyone else gets a clear picture of what an agent actually needs to function.

Key Points

1

The IBM PC XT runs an 8088 processor clocked at 4.77 MHz, with 640K of RAM and a CGA graphics card, making it a deliberately constrained host for a modern AI agent.

Keep reading — it's free

Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.

Also get
or

Already a member? Sign in

AI agentsretro computingDOSClaude APIIBM PC XT

Comments

Subscribe to join the conversation...

Be the first to comment