Saturday night I had an idea, what if a modern AI could control my vintage Mac? So Sunday afternoon I taught Claude to use an 80s Macintosh running System 7.
No screen capture. No SSH.
A native Mac application, written in C, cross-compiled for the Motorola 68k with a GCC-based retro toolchain, communicating with a modern AI agent using nothing but text files in a shared folder. Getting it to compile on Apple Silicon was the hardest part.
The project is called AgentBridge, and it's the most fun I've had building something in years.
Here's how it works: AgentBridge sits on the Classic Mac and polls an inbox folder for command files. A TypeScript MCP server on the modern side writes commands, the Mac executes them through the Toolbox API, and writes responses back. The AI agent can list windows, launch apps, type text, read the clipboard, browse the filesystem, select menu items, 22 tools in total.
The protocol is deliberately primitive. No JSON. No dynamic memory allocation. CR line endings. MacRoman encoding. Parseable in about 50 lines of C. The entire message format fits in 32KB. I designed it this way because Classic Mac OS has 4MB of RAM and cooperative multitasking, so you don't get to be wasteful.
The transport layer is just a folder. Mount it via AFP, SMB, or an emulator's shared directory. Put it on a NAS. The protocol doesn't care. Have multiple Macs? Each Mac gets its own subfolder with its own copy of the app, zero configuration, works on real hardware and emulators identically.
Why build this?
Because the interesting problem in AI agent integration isn't connecting to modern APIs. It's connecting to everything else, the legacy systems, the constrained environments, the platforms that weren't designed for automation. And the principles that make AgentBridge work (stateless commands, transport-agnostic messaging, no host-side dependencies, no system modifications) are the same principles you'd need to safely integrate AI agents into any legacy regulated environment.
I’ve spent a decade building products that had to work across federal, state, healthcare, and military networks with FedRAMP, NIST, and DoD compliance. The constraints are different, but the design thinking is the same: assume nothing about the transport, keep commands self-contained, make the system recoverable, and don't modify what you don't own.
Happy 50th Apple. AgentBridge supports Mac OS 7 - 9, Macintosh Plus (with RAM expansion to 4MB) up through PowerPC. It’s available on Github at: https://github.com/SeanFDZ/agentbridge