ClawDOS – An AI coding agent for DOS
- ID
- 49315
- Status
- summarized
- Published
- 21 Nov 2026, 1:38 PM
- Fetched
- 23 Nov 2026, 8:15 AM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- http://ricapar.net/ClawDOS/
- Source URL
- https://hnrss.org/best
Summary
- Score
- 6.5
- Created
- 23 Nov 2026, 8:15 AM
- Tags
- Audience
- developersai_agent_usersvibe_coders
What happened
ClawDOS is a Claude-powered coding harness that runs natively on an IBM PC 5160 — an 8088 at 4.77 MHz with 640K RAM and a CGA card — using a 20 MB drive swapped out for a PicoMEM SD-card emulator. HARNESS.EXE is a 176 KB DOS binary that builds Claude Messages API requests, parses the streamed reply, executes tools, and persists each conversation to disk; a separate 'bridge' PC handles TLS because the 8088 can't. In the demo, a single prompt to write PRIMES.C, compile it with Turbo C and run it produced output on screen 64 seconds after Enter, and the author states 100% of the repo was written by Claude.
Why it matters
The concrete takeaway for anyone building an agent harness: request construction, streaming-response parsing, the tool loop, and per-conversation state fit in 176 KB of DOS code on a 4.77 MHz CPU, with TLS offloaded to a bridge machine. If that much of your agent stack's essential logic is that small, the node_modules-and-framework bulk in a typical harness is a design choice, not a requirement — worth measuring what your own loop actually needs. The 64-second prompt-to-running-program time also shows the round trip was dominated by API and Turbo C compile, not the vintage hardware, so 'slow client' is rarely your latency problem.
Discussion angle
Strip a modern agent harness down to request-building, stream parsing, tool dispatch and on-disk state — what would you keep, and what in your current stack is there only because it was convenient? The 176 KB figure and the TLS-on-a-bridge split are a good concrete starting point for that argument.