ClawDOS – An AI coding agent for DOS
ClawDOS is an AI coding agent written in C that runs natively on an IBM PC XT with an 8088 CPU, communicating with the Claude API via a TLS bridge.
read it The detailed architectural breakdown of running an LLM agent on 1980s hardware with extreme memory constraints is fascinating and technically rewarding.
summary
ClawDOS is an AI coding agent that runs natively on vintage IBM PC XT hardware, utilizing FreeDOS and a meager 4.77 MHz 8088 processor. Because vintage hardware cannot handle modern TLS encryption, it delegates API communication and TLS termination to a separate bridge machine. The harness includes 18 tools, supports prompt caching to minimize slow-link data transfer, and manages memory tightly by swapping out processes to give compilers enough room to run. Built entirely by Claude, the project demonstrates how far modern AI can be pushed under severe system constraints.
key points
- Runs natively on an IBM PC XT using FreeDOS and Open Watcom C and C plus plus.
- Uses a separate bridge machine to handle TLS termination and forward requests to the Claude API, bypassing 8088 hardware limitations.
- Implements resource management by temporarily unloading the harness to leave 450K of free memory for compilers like Turbo C.
who should read it
Retrocomputing enthusiasts and systems programmers interested in unconventional agent architectures and extreme resource optimization.
discussion warm
consensus
Commenters are delighted and fascinated by running AI agents on vintage and unusual hardware, viewing it as a fun evolution of the classic trend of running software on tiny or old gear.
pushback
Some participants point out practical safety risks regarding unconstrained file deletions or question why agent harnesses are tightly coupled to the machines running tool executions.
In general, I've wondered whymost (all?) harnesses perform the API calls to the provider from the same machine that runs the tools. Why not have a client/server architecture? Then one session could talk to as many tool harnesses as it wanted to and you wouldn't have this kind of arbitrary limit of the session being tied to one specific workspace.
It questions why tool harnesses are tightly coupled to the local machine, suggesting a client/server architecture for managing multiple workspaces.
Generated by an LLM from the article and thread. Check the sources before relying on it.