ClawDOS brings AI coding agent to DOS
Developer Ricapar released ClawDOS, a 176 KB open-source harness that runs an autonomous Claude-powered coding agent natively on MS-DOS and vintage 8088 hardware. Operating within 640 KB of conventional RAM, the agent uses 18 built-in tools to edit files, execute DOS commands, and compile code via Turbo C through a lightweight network bridge.
ClawDOS proves that AI coding harnesses don't need heavyweight runtimes or multi-gigabyte modern dependencies to deliver autonomous agent capabilities.
- –Minimalist engineering: Built with 13,000 lines of C and C++ compiled via Open Watcom, the harness demonstrates that agent loops are fundamentally simple state machines over text streams.
- –Memory-swapping architecture: To run Turbo C under 640 KB of RAM, ClawDOS serializes its conversation state to disk, yields memory to the compiler, and reloads execution context seamlessly.
- –Practical transport separation: Offloading TLS handling to a companion bridge over mTCP isolates heavy cryptography from core agent logic while keeping API credentials secure.
- –Sparks retro runtime movement: The release highlighted parallel community efforts running AI agents on ReactOS, Windows XP, Free Pascal, and legacy Perl, challenging modern devtool bloat.
DISCOVERED
3h ago
2026-11-22
PUBLISHED
4h ago
2026-11-22
RELEVANCE
AUTHOR
annanidev