ClawDOS: An AI Coding Agent Running on a 4.77 MHz IBM PC XT

Summary
ClawDOS is an AI coding agent that runs on a 4.77 MHz IBM PC XT under DOS, using a bridge PC for TLS and talking to Claude’s API.

Introduction: A 1980s PC Meets a Modern AI Agent

Imagine asking a modern AI assistant to write a program, and the thing doing the work is an IBM PC 5160, the machine better known as the PC XT. That’s what a developer has shown with ClawDOS, an AI chat and coding harness for DOS (Disk Operating System). It was shared on HackerNews on 2026-11-21.

Key Facts: What ClawDOS Does

According to the project page, ClawDOS runs on an 8088 processor at 4.77 MHz with 640K of RAM and a CGA (Color Graphics Adapter) card. You type CLAWDOS at the C:\> prompt and talk to Claude. The agent reads and edits files on the disk, writes programs, compiles them with Turbo C, runs them and looks at what they draw on the screen. It also keeps notes between conversations and picks up where it left off.

The harness is HARNESS.EXE, a 176 KB DOS program. It speaks the Claude Messages API itself: it writes the requests, parses the streamed reply, runs the tools and stores each conversation on the machine’s own disk.

A Quick Demo

In one example, the author asked ClawDOS to write PRIMES.C, print the primes below 100, then compile and run it. The agent read its guide to the compilers on the machine, wrote the source, and compiled, linked and ran it in a single tool call. The answer appeared 64 seconds after Enter, and 26 of those seconds went to compiling, linking and running.

The 8088 does everything but TLS.

Technical Background: The Bridge PC

TLS (Transport Layer Security) is the encryption layer behind secure web connections. It is far too demanding for an 8088, so the project relies on a bridge PC to handle it. Think of the bridge as a translator at the border. The old machine speaks everything else, and the bridge handles the encrypted part of the conversation.

The author also describes a PicoMEM, which emulates a hard drive from an SD card. The original 20 MB drive still works but is disconnected, which makes experimenting easier. The screens shown on the page come from a 5160 emulated in 86Box, and the conversations are with the live API.

Global Implications: Why This Matters Beyond Nostalgia

The author says the project was built “for my own entertainment,” to see how far an AI coding agent could be pushed under unusual constraints. They also say 100% of the repository was written by Claude, apart from the backstory text. That makes it a small test of whether an AI agent can build the tools that run on it, and whether those tools can in turn build other things.

The takeaway is that the intelligence lives in the cloud, while a very modest machine only needs to manage files, tools and a conversation loop. That idea could carry over to other low-power or legacy devices. The page doesn’t claim any commercial purpose, and it gives no details about wider deployment.

Conclusion and Outlook

ClawDOS is a charming hobby project, and it shows something practical too. An AI agent’s harness can be remarkably small, and an old PC can host it as long as something else handles encryption. It’s too early to say whether this approach will matter beyond retro-computing, but it is a vivid reminder that the agent loop of reading, writing, compiling and checking results doesn’t require modern hardware.


Stock Market Impact Analysis

Publicly traded companies directly or indirectly affected by this news. Always conduct independent research before making investment decisions.

Ticker Company Price Change Detail
IBM IBM 224.44 ▲ +1.10% Yahoo ↗
MSFT Microsoft 484.52 ▼ -2.58% Yahoo ↗
AMZN Amazon 246.82 ▼ -3.94% Yahoo ↗

Investor Impact by Stock

IBMNeutralIBM

Neutral; the IBM PC 5160 is a historical product and this hobby project has no direct financial impact, though it highlights the brand’s lasting legacy.

MicrosoftNeutralMSFT

Neutral; DOS is a Microsoft-era operating system, but the project is a nostalgia-driven experiment with no revenue implications.

AmazonPositiveAMZN

Neutral to mildly positive; as a known investor in Anthropic, it could benefit indirectly from creative uses of Claude’s API, though this single hobby project is immaterial financially.

※ Price data via yfinance (may include after-hours). Retrieved: 2026-11-22 00:03 UTC


🛒 Recommended Gear

As an Amazon Associate, this site earns from qualifying purchases.


Sources (1 articles)

※ This article synthesizes and analyzes the above sources. Generated: 2026-11-22 00:03

📬

AI & Robotics Newsletter

Subscribe for English AI & Robotics news every Mon & Thu.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top