Agents don't need a smarter prompt. They need a place to work.
Every serious agent ends up rebuilding the same plumbing: a job queue that survives crashes, a gateway that logs every model call, somewhere to keep rules a lawyer can read, a browser, an inbox, a human approval step. agent-base ships all of it, already wired together, in a single image you start with one command.
/data volumeLLM_URL. The gateway followsEverything an employee has. Nothing it shouldn't.
A real agent harness at the core.
Every agent runs inside pi, an open-source agent harness: the loop that thinks, calls tools, loads skills and keeps its context. The same harness powers the awakening conversation in your terminal and every queued run, on whatever model the gateway points at. Its tools are only what the agent's folder allows.
One gateway for every model call.
Routing, fallbacks, and the cost, tokens and latency of every call, logged. Point LLM_URL at any OpenAI-compatible server and every tier re-routes on restart.
Runs that survive.
Every task is durable: queued, scheduled, retried and recorded. One task per agent at a time.
A real browser, driven.
Agents log in, click, read and fill forms on the sites your team uses, with no API required.
It joins the call as itself.
Each agent gets its own meeting body with its own signed-in profile. It listens, answers when something is for it, and leaves when the call ends.
Reads what your business runs on.
PDF, Word, Excel, PowerPoint and HTML become clean markdown the model can reason over.
Logic you can read.
Business rules live in tested decision tables, not hidden in a prompt. Integrations run as automations, across hundreds of connectors, that the agents build themselves.
It builds what it needs. You just approve.
Elsewhere, an agent waits for an engineer to wire up every integration. Here, every agent wakes up already knowing how to use each part of its own base. When it hits something it does over and over, it builds the automation, writes the rule or sharpens its own skill. Then it tests the change and hands you one card to approve.
Nothing appears without an owner: every workflow is named after the agent that built it, every step is in the run record, and anything that reaches the outside world waits for your yes.
Never take an agent's word for it. Check the record.
Every run, model call, tool call and human decision lands somewhere you can query. "Done" is something you verify, not something you're told.
run historycost logruns show <id>decideAn agent is just a folder.
Who decides what is part of the spec. Each kind of decision has exactly one owner.
Describe the job. Meet your new hire.
Run awaken expense-checker in a terminal, or ask your coding agent over MCP. Either way it interviews you, plays back a plan, writes the folder and tests it. The final switch is always yours.
Interview
What the job is, what good looks like, what must never happen.
Plan
Splits the job into judgment, rules, workflows and approvals, then plays it back.
Draft
Writes the agent folder in draft status. Nothing runs on its own yet.
Test
Evaluates the rules and does real trial runs against the test cases.
Activate
You approve the activate_agent proposal. Schedules switch on.
One command up. One to heal it.
The host-side script handles the whole lifecycle. doctor checks processes, the model, a real completion through the gateway, keys, disk and failed runs, and --fix repairs what's safe. It never touches credentials or data.
agent-base upBuild, start, wait for healthy, run doctoragent-base connectPlug your coding agent in over MCPagent-base doctor --fixCheck everything, repair what's safeagent-base logs --errorsEvery service, one streamCorrections become tested, approved change.
Lessons come from the agent mid-run, from you, from proposals you reject with a reason, and from failed runs. Each one is placed in exactly one part of the agent, measured alone against its test cases, and filed with a before-and-after diff. Your decisions even train review rules the agent checks itself against, kept only if they predict you better on held-out cases.