One container · Twelve services · Zero host installs

The chassis your agents live in.

agent-base is one self-contained Docker image that gives an AI agent everything a real employee needs: memory, a browser, an inbox, rules, workflows, a seat in your meetings, and a manager who signs off.

SCROLL
Durable runsModel gatewayHundreds of connectorsLocal fallback modelAgent harness · pi.devA real browserDocument readingBusiness rulesAgent inboxesLive meetingsHuman approvalsLearning loopFull audit trail Durable runsModel gatewayHundreds of connectorsLocal fallback modelAgent harness · pi.devA real browserDocument readingBusiness rulesAgent inboxesLive meetingsHuman approvalsLearning loopFull audit trail
The thesis

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.

0
services under one supervisor, wired on first boot
0
container. All state lives in one /data volume
0
model setting: LLM_URL. The gateway follows
0host deps
Nothing installed on the host except Docker
Capabilities

Everything an employee has. Nothing it shouldn't.

00pi · pi.dev
taskthinkcall a toolobserveskillanswer

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.

01Manifest
agentyour 27B serverfrontier modellocal 3B fallback

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.

02Hatchet
scout
ok
builder
retry→ok
invoice
ok
expense
ok
digest
cron

Runs that survive.

Every task is durable: queued, scheduled, retried and recorded. One task per agent at a time.

03agent-browser
https://portal.example.com/invoices

A real browser, driven.

Agents log in, click, read and fill forms on the sites your team uses, with no API required.

04joinly

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.

05Docling
PDF
DOCX
XLSX
→
.md

Reads what your business runs on.

PDF, Word, Excel, PowerPoint and HTML become clean markdown the model can reason over.

06GoRules ZEN · n8n
amount > 5,000 AND vendor = new→ humanrule
category in [travel, meals]→ autorule
new invoice in shared inbox→ webhookautomation
"does this look like fraud?"→ modeljudgment

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.

Self-building

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.

Builds its own automationsIntegrations across hundreds of connectors, built once, then run with no model call at all.n8n
Writes its own rulesTurns a judgment it keeps making into a decision table you can read and test.GoRules ZEN
Rewrites its own playbookCorrections become skill and identity changes, measured against its own test cases first.learn · GEPA

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.

invoice-router · live
Audit trail

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.

/01Did the run happen? Did it retry?Job engine: every run, timed, with retriesrun history
/02What did each model call cost?Model gateway: tokens, latency, spend per callcost log
/03Which tools did it call, with what?Run record: each step, input and outputruns show <id>
/04What did it ask, and what did a human decide?Decision log: proposals, verdicts and reasonsdecide
Anatomy

An agent is just a folder.

/data/agents/invoice-router/
AGENTS.mdidentity
agent.yamlmodel · tools · approvals · schedules
rules/lead-priority.jsondecision tables
skills/triage/SKILL.mdhow-to knowledge
tests/cases.yamlthe bar it must clear

Who decides what is part of the spec. Each kind of decision has exactly one owner.

The modelJudgment: reading, writing, weighing messy input.
RulesAnything a policy can state: thresholds, routing, eligibility.
AutomationsIntegrations and plumbing that should run the same way every time.
A humanSending email, publishing workflows, activating agents. Proposed, then approved.
Awakening

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.

01

Interview

What the job is, what good looks like, what must never happen.

02

Plan

Splits the job into judgment, rules, workflows and approvals, then plays it back.

03

Draft

Writes the agent folder in draft status. Nothing runs on its own yet.

04

Test

Evaluates the rules and does real trial runs against the test cases.

05

Activate

You approve the activate_agent proposal. Schedules switch on.

Operate

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 doctor
agent-base connectPlug your coding agent in over MCP
agent-base doctor --fixCheck everything, repair what's safe
agent-base logs --errorsEvery service, one stream
~/agent-base — zsh
Lessonrun · you · rejection · failure Placedmemory · skill · AGENTS.md Tested3 repeats vs cases.yaml Approvedby you, one at a time Liveloaded next run LEARN gets better
Learning

Corrections 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.

3×repeats per case, before and after
1lesson measured at a time
50/50train vs held-out for review rules
Boot

Give your agents
somewhere to live.

$./agent-base up --llm http://your-model:7817COPY