Hacker News·First covered 21 Nov 2026HN front page
ClawDOS – An AI coding agent for DOS
ClawDOS is a Claude coding agent that runs natively on an IBM PC XT, with an 8088 CPU and 640K of RAM, handing only TLS to a bridge machine.
Stats
(As of 22 Nov 2026)- Points
- 167
- Comments
- 52
- Submitted by
- Ricapar
- Posted
- 1d
- HARNESS.EXE, a 176 KB DOS program, builds Messages API requests, parses the streamed reply, runs 18 tools and stores chats on disk.
- The agent edits files and compiles with Turbo C, stepping out of memory so the compiler has the machine to itself.
- A timer interrupt captures CGA video memory, which the 8088 encodes as a PNG so Claude can see program output.
- Memories and skills are plain text files; a safe mode asks before any file, memory or port change.
- The author says Claude wrote the whole repo; it is GPLv3 and runs in 86Box or on real hardware.
The discussion
- ThemeOne commenter wants agents for legacy Windows XP and 7 machines, since most current agents need Windows 10 1809 or newer. comment
- AgreedMany enjoy dropping agents into odd environments; one built a Win32 agent and watched a model realise it was on NT 4.0. comment
- CounterpointAnother suggests demoscene-style projects would work better driven remotely, since the harness competes with them for resources. comment