█

AI/TLDR

Ricapar · 2026-11-21 · notable

ClawDOS — a Claude coding agent running on a 4.77 MHz IBM PC XT

In short

ClawDOS is an AI coding agent for DOS that runs on an original IBM PC XT with an 8088 CPU and 640K RAM. It talks to the Claude Messages API through a TLS bridge, edits files, compiles with Turbo C and keeps memories on disk.

Ricapar · 2026-11-21 · 3 sources checked

ClawDOS opening screen on a DOS PC with the Claude chat prompt

A real 8088 PC from the 1980s chats with Claude, writes C code and runs it.

What is it?

ClawDOS puts an AI coding agent on an IBM PC XT 5160 with an 8088 CPU at 4.77 MHz, 640K RAM and CGA graphics. Typing CLAWDOS at the DOS prompt opens a chat with Claude that can read, write and edit files, compile and run programs, look at the screen, and keep memories and chat history on disk. Claude wrote all of the code except the author's note.

How does it work?

A 176 KB DOS program, HARNESS.EXE, speaks the Claude Messages API, handles streamed replies and runs 18 tools. Because the 8088 cannot do TLS, the PC uses mTCP over plain HTTP to a bridge machine that tunnels to api.anthropic.com and can hold the API key. A PicoMEM card supplies the disk image, WiFi as an NE2000 adapter, EMS memory and a clock.

Why does it matter?

The project shows how little local hardware an agent harness needs when the model runs in the cloud: about 13,000 lines of C and C++ built with Open Watcom on FreeDOS 1.4. Any host that speaks the Messages API can be swapped in with the /model command.

Who is it for?

retro-computing fans, agent-harness builders

Try it

https://github.com/Ricapar/ClawDOS

Sources · 3 outlets

Tags

  • clawdos
  • dos
  • retro-computing
  • coding-agent
  • claude
  • ibm-pc
  • freedos
  • open-source
  • gpl-3

← All releases · Learn AI