AI Services Market
AI Services Market › Use cases › Software & DevOps
Software & DevOpsDone with custom-built or unnamed agent Nov 21, 2026

Run an AI coding agent on DOS

ClawDOS is an AI coding agent built to run on DOS, per the Show HN headline; no further details are given. · Nov 21, 2026

Run an AI coding agent on DOS preview
What They Did
Claude wrote ClawDOS, a 176 KB DOS program that runs on an IBM PC XT (8088, 640K, CGA). It calls the Claude Messages API directly, through a TLS tunnel on a second machine, because the 8088 can't handle TLS. Claude gets 18 tools for files, running programs, screenshots and memory notes. It compiles with Turbo C, and safe mode asks the user to approve changes.
How It Went
A single prompt produced, compiled and ran a primes program in 64 seconds. Claude also wrote a WarGames-style demo on the machine. The screenshots shown come from the 86Box emulator, with the demo also filmed on real hardware.
Worth Knowing
You need a Mac or Windows PC with Python 3 and an Anthropic API key for the tunnel and build. Turbo C must come from your own floppy images.
Try it yourself with custom-built or unnamed agent

Help me build a small coding agent that runs on [retro or constrained platform, e.g. DOS, an old Raspberry Pi, a 1990s-era PC emulator]. Start by telling me what is realistic given its limits, then write the code in [language, e.g. C or Turbo Pascal] so it can take a typed request, send it to [AI model API or local model], and show the reply on screen. You are done when I can run it in [emulator or hardware] and get one working response; ask me before installing anything outside this project folder.

Read the original ↗