dave.engineer
Work

Hubcap

AI agent in just 25 lines of code. It can read your code and fix your bugs or make API requests and process results, all autonomously.

Hubcap was my first AI coding agent, built as a working proof of concept in August 2023.

Just like Claude Code (released Feb 2025), OpenAI Codex CLI (April 2025), and others, you can give Hubcap a goal and it will keep going until its done.

Hubcap works surprisingly well but isn't safe or as useful as more modern coding agents.

Hubcap demonstrates how far a compact AI agent can go in just a few lines of code.

I documented the original experiments in the blog post Amazingly Alarming Autonomous AI Agents.