ClawDOS Review 2026: An AI Coding Agent on a 4.77 MHz IBM PC
ClawDOS is a free, GPLv3 chat and coding harness that runs on DOS, on an IBM PC 5160 with an 8088 at 4.77 MHz and 640K of RAM. It talks to the Claude Messages API, edits files, compiles C with Turbo C and sends screenshots back to the model. It is a hobby project and a technical curiosity, not a tool to rely on, and its API key handling needs care.

There are no affiliate links in this review.
| Cost | Free; you pay your own API usage |
| Licence | GPL-3.0 |
| Runs on | IBM PC XT class, DOS, CGA |
| Catch | Key in clear on your LAN; single author; no releases |
| Evidence | Official page, repo docs, Hacker News |
A real agent loop on an 8088, built by one person with Claude, and best read as a proof of concept.
The 8088 does everything except TLS. The agent part is real; the security model is a hobbyist's.
What it is. ClawDOS is a 176 KB DOS program, HARNESS.EXE, that writes Claude Messages API requests, parses the streamed reply, runs 18 tools on the local disk and keeps every conversation as a file. Its author, Rich Acosta (GitHub user Ricapar), says all of the repository except one note on the project page was written by Claude. That is the author's statement and is not independently checked.
Why it matters. The project reached Hacker News on Nov 21, 2026 and had 164 points and 51 comments on Nov 22, 2026. It is a vivid demonstration that an agent harness is mostly plumbing: requests, a tool loop, files and a screen.
The catch. Three things. The API key is stored on the DOS PC's disk and crosses your local network unencrypted to a small tunnel, unless you set up the tunnel to hold the key instead. The project has one author, no releases and 20 stars. And it needs an emulator or real vintage hardware plus a pay-per-token API account, so it is not a casual install.
Not a hands-on test: JAVIS did not build or run ClawDOS, did not use 86Box or an 8088 PC and sent no requests to the model through it. Everything below comes from the official project page, the repository documentation, GitHub's public numbers and the Hacker News thread, each dated.
What you need to know in thirty seconds.
The PC runs the agent. A second machine only handles encryption.
An 8088 cannot do modern TLS, so ClawDOS puts a small tunnel on another computer (a Python script, socat or stunnel). The DOS PC talks plain HTTP to the tunnel over WiFi, through an mTCP stack and a PicoMEM card that emulates a network adapter. The tunnel opens an HTTPS connection to api.anthropic.com. Everything else, including building requests, parsing the stream, running tools and saving the conversation, happens on the 8088.
Swipe sideways to see every column.
| Part | What the project says |
|---|---|
| Machine | IBM PC XT 5160: 8088 at 4.77 MHz, 640K, CGA. A PicoMEM card supplies the disk (an image on microSD), WiFi as an NE2000, EMS and a clock |
| Code | 13,000 lines of C and C++, built with Open Watcom for the 8086 instruction set |
| Programs | HARNESS.EXE 176 KB; CLAWDOS.EXE 29 KB launcher |
| System | FreeDOS 1.4 with mTCP |
| Memory for programs it runs | 200K beside the harness, or 450K when the harness steps out of memory for a build |
| Tests | 31 boot tests in DOSBox-X against a mock API, unit tests on DOS, and runs on 86Box's 8088 |
Source: the official page, section Under the hood, as of Nov 22, 2026.
One sentence in, a compiled program out, in 64 seconds.
The author's first example is the message "Write PRIMES.C: print the primes below 100. Compile it with Turbo C and run it." ClawDOS reads its own guide to the installed compilers, writes the source, then compiles, links and runs it in one tool call. The page reports the answer on screen 64 seconds after Enter, 26 of them spent on compiling, linking and running. All screens on the page come from a 5160 emulated in 86Box talking to the live API; one clip was filmed on a real machine.


The author's larger showcase is a tribute to the film WarGames, which ClawDOS wrote on the PC itself: a vector world map, missiles arcing over the pole, a tic-tac-toe endgame and music for the PC speaker or an AdLib card. The page gives five files of Turbo C, 15 KB of source and an executable under 10 KB.





It sees the screen
The run tool can return a screenshot. A timer-interrupt hook copies the CGA video memory at a chosen moment, the 8088 encodes it as a PNG (320x200, four colours, 16 KB) and the picture goes to Claude with the tool result. In the author's example the model describes the map, the missile arcs and the colours correctly against what the program draws.



An agent at work
Asked to make the demo exit on its own, ClawDOS searches the sources for the keyboard wait, reads the file, says what it found and edits one line. Each tool call shows in the transcript with its result.

Eighteen tools, notes that persist and a model switch mid-chat.
Swipe sideways to see every column.
| Tools | What they do |
|---|---|
| sysinfo, dir, read, search, peek | Inspect the system, list directories, read files as text or hex, search text across files |
| write, edit, delete, mkdir, rename | Create and change files; edit replaces one piece of a file in place |
| run | Run DOS programs and batch files, up to twelve commands per call, with an optional screenshot |
| poke, port | Write memory and read or write I/O ports |
| play, textart | PC speaker music and coloured text art |
| memory_list, memory_read, memory_write | Its own notes in C:\MEMORY |
Source: the official page and docs/MANUAL.md, as of Nov 22, 2026.
- Memories and skills. Memories are plain text notes ClawDOS writes about what you built together; skills are guides that ship with it, such as the dev tools and CGA effects. Both are listed in every conversation's system prompt and read when they fit.
- Conversations on disk. Each chat is a file in the API's message format, and a chat cut off by the power switch reopens.
- Model switching.
/modelswitches between providers and models listed in the config without losing the conversation. The manual says any host that speaks the Messages API works; OpenAI-style chat completions hosts are not supported. - Slow link handling. The system prompt and tools are cached by the API, so after the first request a tool result goes up in about 500 bytes. A log line from the page shows one round: first token after 2,750 ms, 221 tokens out, 5,543 cache-read tokens.
- Dev kit. Two assemblers, Bruce's C, GW-BASIC, the lDebug debugger and Turbo C 2.0, installed from your own floppy images.



The documented default puts your API key in clear text on your network.
Swipe sideways to see every column.
| Setup | Where the key lives | Exposure |
|---|---|---|
Default (key in .env, built into the image) | DOS PC's disk, in CLAWDOS.CFG | On the microSD card and unencrypted between PC and tunnel |
Tunnel holds the key (--no-key build, --key-file, --allow) | A file next to the tunnel | Off the DOS PC; the tunnel adds the key to forwarded requests and drops any key the client sent |
The second mode has its own condition in the manual: the DOS PC's address comes by DHCP, so you should reserve it in your router. On a new lease the tunnel refuses the PC, and whoever is handed the old address would be served with your key. The tunnel also refuses to start in key mode without --allow unless it listens on a loopback address.
What the tunnel code confirms
The tunnel source, tunnel/tunnel.py (340 lines of Python, as of Nov 22, 2026), backs the manual on the main points. It listens on all addresses by default. Without --allow, its own header says anyone who can reach the port is served, so on a shared network the default tunnel is an open relay to api.anthropic.com for any client (though without your key unless the key mode is on). With --key-file it removes any x-api-key and authorization header the client sent, adds the key, and will not start without --allow unless it listens on a loopback address. Its connection to the API uses Python's default certificate checking with the server hostname. Per its header, it does not log request bytes. This is a reading of the code, not a run of it.
What the agent may do on the PC
Safe mode is on at startup. According to the manual, tools that change files, memory or ports ask "Allow ...? (y/n)" first; looking at things, playing music and memories never ask. F3 turns safe mode off, and the -unsafe flag starts with it off. The manual also says programs started by run cannot use the network. JAVIS did not test which calls prompt in practice.
One question raised on Hacker News was what stops the agent from running a delete you cannot undo. A commenter's answer was that on its own system there is little beyond instructions, and that the idea is to point the agent at filesystems elsewhere, where the file server's permissions apply (comment 50594333). DOS has no user permissions, so safe mode is the main guard.
If you try it, JAVIS suggests: use the emulator first, use a dedicated key with a low spending limit, prefer the tunnel-held key, and keep the tunnel on a network you control. See the related guide on running coding agents without credentials. These are JAVIS suggestions, untested.
The software is free. Your costs are the API and the setup.
- GPL-3.0 licence
- Source on GitHub
- Billed by your API provider
- The docs give no price
- Mac or Windows with Python 3
- Runs in an emulator
- IBM PC with CGA
- PicoMEM card for disk and WiFi
Quick start per the official page: run python3 scripts/setup-tools.py to fetch compilers, FreeDOS, mTCP and emulators, put your key in a .env file, run scripts/build.py to make a bootable image, start tunnel/tunnel.py and boot an emulated XT with scripts/run86box.py, then type CLAWDOS. Without a key, a mock API (tunnel/mockapi.py) plays the service offline for a look around.
Licence note. The harness links mTCP, which is GPLv3. Turbo C is commercial, so the build copies it from floppy images you supply, and the project says not to redistribute an image that contains it.
Model cost. The project states no per-token cost, so this review gives no price per session; check the provider's price list for your model. The only usage figure is one logged round: 2 input, 221 output, 5,543 cache-read and 739 cache-write tokens. The page's demo screens show a status line of 5.8K to 7.7K tokens for one turn.
Young, active, one author, no releases.
Swipe sideways to see every column.
| Signal | Value on Nov 22, 2026 |
|---|---|
| Repository created | Oct 30, 2026 |
| Last push | Nov 21, 2026 |
| Commits | 201 on the main branch |
| Contributors | 1 (Ricapar) |
| Stars / forks / open issues | 20 / 1 / 0 |
| Releases | None published |
| Licence | GPL-3.0 |
| Version shown on the welcome screen | v20261111.2018 |
Source: GitHub public repository data as of Nov 22, 2026 and the welcome screen shown above. Only the stars are a popularity signal here; they are few, so treat the project as an experiment. No independent reviews or ratings exist yet, so there is no Trustpilot or store rating to cite.

Hacker News: delight at the idea, practical questions about safety and architecture.
The Hacker News story had 164 points and 51 comments on Nov 22, 2026, so this is a small, enthusiastic sample, not a review panel. Below are paraphrased summaries of six comments, in the commenters' framing, not JAVIS's view.
It feels playful to start agents in unusual environments such as DOS or Windows 95 and watch how they react.
The market lacks an agent for the many devices still on Windows XP or 7, not for developing on them but for debugging work.
Asks why most harnesses send requests to the provider from the same machine that runs the tools, and suggests a client and server split.
Asks whether this shows Claude Code does not need to ship as a 200 MB binary.
Asks what stops the agent from running a delete that cannot be undone.
Liked the screenshots and built a similar for-fun coding agent in Tcl/Tk that shells out to curl for its networking.

Where this review, and the project, stop.
- Key exposure. The default setup stores the API key on the DOS PC and sends it unencrypted over your LAN. The documented fix needs a second machine and a fixed address.
- Single author, young repo. One contributor, 201 commits since Oct 30, 2026, no releases. Expect breaking changes and no support.
- Author's claims. The statement that Claude wrote everything except one note, the 64 second timing and the 31 tests are the author's own; JAVIS did not reproduce any of them.
- No sandbox. DOS has no user permissions. Safe mode asks before writes, but JAVIS did not test the prompts.
- One provider family. The manual supports hosts that speak the Messages API; OpenAI-style hosts are not supported.
- Not a daily tool. A 64 second round trip for a tiny program and a 4.77 MHz machine make this a demonstration, not a way to ship software.
- No hands-on test. JAVIS built and ran nothing. Screens are the author's, from an emulated 5160, as the page states.
- Model name in screenshots. The welcome screen names a Claude model as configured by the author; JAVIS did not verify it.
A short decision list.
- Collect or tinker with vintage PCs and want an agent on them
- Want to see a minimal agent loop in C and read how tools, caching and streaming fit together
- Build harnesses and want a tiny reference with a mock API for offline tests
- Need a coding agent for real work
- Cannot manage an API key with a low spend limit
- Want a supported, packaged product
Five actions if you want to try it.
--no-key and run the tunnel with --key-file and --allow.No affiliate links, and nothing to buy from JAVIS.
ClawDOS is free. JAVIS has no relationship with its author. The only spend is your own API usage and any hardware you choose to buy.
Curious about coding agents? Read these next.
Questions people ask about ClawDOS.
What is ClawDOS?
A free, open source AI chat and coding harness for DOS that runs on an IBM PC XT class machine and talks to the Claude Messages API through a small TLS tunnel.
Does it run on a real IBM PC XT?
The author says yes: an IBM PC 5160 with an 8088 at 4.77 MHz, 640K, CGA and a PicoMEM card, and one demo clip was filmed on it. Most screens come from an emulator. JAVIS did not verify either.
Is it free?
The software is free under GPL-3.0. You pay your API provider for model usage, and Turbo C is commercial software you must supply yourself.
Is my API key safe?
Not by default. The manual says the key sits on the DOS PC's disk and crosses your LAN in clear. Use a dedicated key with a spending limit, or let the tunnel hold the key.
Can I try it without vintage hardware?
Yes. The project runs in 86Box or DOSBox-X on a Mac or Windows PC with Python 3, and has an offline mock API.
Did JAVIS test it?
No. This review uses the official page, the repository docs, GitHub data and the Hacker News thread, each dated Nov 22, 2026.
Where this came from, and when.
Official page: ricapar.net/ClawDOS, as of Nov 22, 2026.
Tunnel code: tunnel/tunnel.py, as of Nov 22, 2026.
Repository and docs: github.com/Ricapar/ClawDOS, including docs/MANUAL.md, docs/API.md and docs/ROADMAP.md, and GitHub's public repository data, as of Nov 22, 2026.
Hacker News: story 50586292 with comments 50586705, 50586979, 50587664, 50588637, 50593769, 50594333 and 50589636, as of Nov 22, 2026.
Images: product screens are copied from the project's own docs (GPL-3.0 repository) and shown to describe the product; the official page and Hacker News screenshots were taken by JAVIS on Nov 22, 2026. Charts and diagrams are JAVIS drawings from the cited figures.
Not covered: any build or run of ClawDOS, API pricing, real hardware tests and independent user ratings, which do not exist yet.



