Skip to main content

Architecture overview

Source review and historical material

This technical reference was reconciled statically with current implementation on 8 November 2026. Explicit historical examples, screenshots and pinned public links remain historical; they are not evidence of current runtime acceptance. Start with the current operator guide for installation and check your installed build before using newer capabilities.

BURROW separates the operator surface, runtime orchestration, authoritative state, execution placement, and provider transport. This keeps the conversational interface small while preserving inspectable evidence for work performed behind it.

Component map​

The HTTP entrypoint is backend/scripts/burrow-ui.mjs; transport normalization is in chat-turn-controller.mjs; app-runtime.mjs composes the turn. The model/tool loop belongs to runtime-orchestrator.mjs.

Ownership boundaries​

ComponentOwnsMust not be mistaken for
UI / HTTP transportInput, authentication, response/stream presentationModel or tool authority
Application runtimeTurn preparation, trusted agent context, continuity ownership, terminal coordinationA prose classifier that automatically grants actions
Context builderSelection and provider-ready context assemblyA second durable conversation store
Runtime orchestratorModel calls and native tool continuationsUI rendering or deployment management
Model adapterProvider serialization, stream decoding, normalized responseConversation persistence
Tool executorConcrete dispatch and execution-time validationA promise that every requested action ran
PostgreSQL storesConfiguration and current conversation/state authoritiesTrace files or release contents
Runtime filesystemWorkspaces, artifacts, trace/cache files, release materialUniversal settings or conversation authority

Normal chat fixes the route as a model-owned chat turn. Planning and route metadata are diagnostic/support information, not an independent execution engine.

State root versus execution root​

The controller must retain its agent/session state even when tools execute elsewhere. A remote assignment therefore changes the execution target, not the owner of PostgreSQL conversations or profile configuration. Each tool result can carry execution origin and correlation identifiers.

The built-in UI uses only its serving runtime, with relative API paths. There is no remote API-target selector. Backend execution placement remains separate:

SelectionChangesDoes not establish
Agent execution environmentLocal execution, or a remote providerId/targetId for supported toolsA new agent identity or a migration of controller-owned state
Filesystem target / command cwdThe directory used as task context or a command's working directoryHost choice, permission grants, or OS containment

An execution host, sometimes called a node by an integration, is an execution placement. It is not a registered agent or minion. The core router requires a live registered controller for a remote target; an unavailable controller fails the operation rather than falling back to the controller host. Provider-specific host discovery, enrollment, and transport belong to that integration's contract.

See Interface runtime ownership and Agent execution environments before operating across multiple runtimes or hosts.

Agent workspace and target paths establish context and defaults. They do not create a filesystem sandbox.

See Persistence, Trust boundaries, and Tools.

Conversation versus observability​

The current conversation is authoritative for what was said. Provider messages are a prepared projection, not a byte-for-byte copy of every stored event.

The runtime keeps separate channels for:

  • Chat-visible user, assistant, and attributed agent messages
  • Activity events for useful progress
  • Tool calls/results and compact execution digests
  • Receipts and debug information
  • Raw diagnostic artifacts

Raw receipts, tool protocol, and debug entries do not all become future conversation. The finalizer deliberately adds a bounded execution digest when appropriate.

Extension boundaries​

Skills extend instructions; MCP and mod capabilities extend tool availability; model adapters extend provider contracts. These are separate responsibilities. A skill cannot grant an unconfigured tool, and a discovered tool is not necessarily granted.

See Extensions, MCP, and Models.

Read the architecture in depth​