Agent
Agent is the reusable worker runtime in openboa.
It is not one app surface.
It is the durable runtime that lets one worker identity keep working across wakes, reuse prior work, operate through a filesystem-native execution hand, and improve safely over time.
This page explains the meaning of the layer.
It is the right place to start if you want to understand the Agent system itself before reading runtime details or code structure.
Why the Agent layer exists
openboa does not want worker behavior to be defined by whichever upper-layer product surface happens to exist today. If one surface owns the worker contract, the runtime becomes shape-locked to that surface. That makes the system harder to reuse, harder to reason about, and harder to evolve. The Agent layer exists to protect one reusable runtime contract:- a durable session is the running object
- one wake is a bounded run over that session
- execution happens through mounted resources and tools
- durable improvement is explicit instead of accidental
What an Agent is
An openboa Agent is:- session-first
- long-running
- filesystem-native
- tool-using
- capable of proactive revisits
- capable of durable learning
- able to reopen prior truth instead of trusting only prompt-local summaries
- a chat transcript with tools bolted on
- a single prompt string
- a single app surface
- a hidden background process that mutates shared state without gates
Core mental model
Read it this way:- the
Agent definitionis the reusable worker identity - the
Sessionis the durable running object - the
Harness runis one bounded interpretation of the current session state - the runtime works through mounted resources, tools, memory, retrieval, and outcome posture
- every run writes back into the same session truth
What the Agent layer gives you
Today the Agent layer gives you:- a durable
Sessionmodel - a bounded
Harnessloop - an
EnvironmentandSandboxexecution hand - attached
Resourcessuch as execution workspace, shared substrate, runtime artifacts, and vault mounts - managed
Toolsfor navigation, retrieval, shell, memory, and promotion - durable
Learningcapture and optional memory promotion - bounded
Proactiverevisits through queued wakes - outcome-aware self-improvement and promotion gates
The design logic
The Agent layer is built around four rules.1. Session truth is durable
The session is the source of runtime truth. The prompt is only a bounded view assembled for one wake.2. Execution is filesystem-native
The Agent should be able to work through mounts, files, shell state, and runtime artifacts rather than depending only on prompt text.3. Retrieval reopens prior truth
Cross-session reuse should happen through retrieval and reread, not through irreversible compaction becoming the only memory model.4. Durable improvement must be gated
The Agent may improve itself, but durable shared substrate and shared memory should only change through explicit promotion paths.The two capability pairs that matter most
Two pairs explain most of the runtime:session truthandretrievalproactive continuationandlearning
Session truth and retrieval
The runtime keeps truth in the session log and runtime artifacts. Retrieval exists so the Agent can reopen the parts of prior truth that matter to the current run.Proactive continuation and learning
Proactive means the Agent can schedule its own later revisit.
Learning means the Agent can convert runtime experience into durable lessons.
They solve different problems:
- proactive without learning keeps moving but does not improve
- learning without proactive continuation remembers lessons but behaves like a one-shot worker
The durable steering substrate
Every Agent has a shared workspace substrate that holds bootstrap files such as:AGENTS.mdSOUL.mdTOOLS.mdIDENTITY.mdUSER.mdHEARTBEAT.mdBOOTSTRAP.mdMEMORY.md
- visible from the filesystem
- inspectable by the runtime
- editable without changing runtime code
- separable from live session artifacts
What the Agent layer does not own
The Agent layer should not become the owner of:- application-specific routing semantics
- product-specific publication semantics
- broader organizational state
- delivery-specific presentation of evidence
How to read the Agent docs
The Agent docs are organized from meaning to contract to internal structure.1. Start here
- Agent
- what the layer is and why it exists
- Agent Capabilities
- what the runtime can actually do and why those capabilities matter
2. Then read the runtime contract
- Agent Runtime
- the public runtime model and operating flow
- Agent Memory
- durable shared memory versus session-local memory
- Agent Context
- bounded prompt view versus durable session truth
- Agent Resilience
- how the runtime pauses, retries, requeues, and resumes
- Agent Bootstrap
- durable steering files and system prompt assembly
3. Then read the internal architecture
- Agent Architecture
- layer model, storage model, mounts, promotion flow, code map
4. Then use the detail pages as references
Reading goal
If these docs are doing their job, you should be able to answer:- what an openboa Agent is
- why the runtime is session-first
- where durable steering lives
- where live execution state lives
- how resilience works
- how proactive revisits work
- how learning works
- how prior truth is reopened
- how shared durable improvement stays safe