Mission Control

The internal Company OS. Six layers and one policy plane put a person in control of company state and of autonomous execution.

1 min read Updated Aug 12, 2026

Mission Control

Status: draft for review · Date: 2026-08-12

This is the high-level design. It shows the six layers, the policy plane, and the rules that hold them apart. Each layer has its own page with its components and its detail diagram. This page does not repeat them.


1. What Mission Control is

Mission Control is the internal Company OS. It is the human control plane over company state and over autonomous execution.

A person uses it to do five things.

TEXT
Observe · Understand · Direct · Approve · Intervene

It is not a dashboard. A dashboard shows numbers. Mission Control operates the company through a mix of people, agents, workflows, company data and external systems.

Three properties set its scope.

PropertyWhat it means
Internal onlyEmployees use it. No customer reaches it.
Independently deployableIt ships on its own schedule, and it fails on its own.
Same blueprint, separate stackIt repeats the layer architecture of the agentic platform. It does not run on it.

Same blueprint, separate stack. Mission Control copies the layer model of the agentic platform, and shares its vocabulary and its rules. It shares no database, no run table and no deployment. Internal operations must not stop when the customer product stops. A customer must never reach an internal agent. The cost of this decision is real, and it is deliberate: two implementations of the same shape, kept in step by review.

2. Principles

  1. One execution substrate. One run table, one status model, one event stream, one reaper.
  2. Definitions are data, not code. An agent is a row. A workflow is a row. A tool is a row. A policy is a row.
  3. Intelligence is not execution. An agent decides. A workflow sequences. A run executes. A trigger starts.
  4. Knowledge is not memory. Knowledge is what the company knows. Memory is what happened before.
  5. A capability is not its implementation. A tool is the contract. The service behind it can change.
  6. An agent reaches the world only through a tool. It holds no credential, and it writes no SQL.
  7. Company state is a first-class primitive. The CRM is one domain inside it, not the whole of it.
  8. Policy is external to the agent. An agent must not decide its own authorization.
  9. Human approval is a policy decision. It is not a branch in agent code.
  10. Dependencies flow down. A layer knows the layer below it. It never knows the layer above it.
  11. Prefer a declarative specification. A spec is easier to inspect, to version and to control than code.

3. How the system works

Six layers and one plane. Each layer is thin. The design is in how few of them there are, and in what each one refuses to do.

Mission Control — the internal Company OS
six layers and one policy plane · a person enters at the top, a trigger enters at L4 · definitions are rows, not code · an agent reaches the world only through a tool
Mission Control — the internal Company OSsix layers and one policy plane · a person enters at the top, a trigger enters at L4 · definitions are rows, not code · an agent reaches the world only through a tool
PERSON
PERSON
External event
schedule · webhook · state change
External eventschedule · webhook · state change
L6 EXPERIENCE — where a person observes and controls the company
L6 EXPERIENCE — where a person observes and controls the company
Company views
Overview · Company · Work · Knowledge
Company viewsOverview · Company · Work · Knowledge
Execution views
Agents · Workflows · Runs · Activity
Execution viewsAgents · Workflows · Runs · Activity
Approval center
every pending human decision
Approval centerevery pending human decision
Command interface + control API
the only write path
Command interface + control APIthe only write path
L5 INTELLIGENCE — decide what to do, and how
L5 INTELLIGENCE — decide what to do, and how
Agents
versioned specs, rows not code
Agentsversioned specs, rows not code
Skills
reusable procedures
Skillsreusable procedures
Planner
intent becomes a plan
Plannerintent becomes a plan
Reasoner
the model loop, one hop
Reasonerthe model loop, one hop
L4 ORCHESTRATION — turn a decision into durable execution
L4 ORCHESTRATION — turn a decision into durable execution
Workflows
ordered steps, versioned
Workflowsordered steps, versioned
Runs and steps
one run table
Runs and stepsone run table
Triggers
manual · schedule · event · webhook · agent
Triggersmanual · schedule · event · webhook · agent
Events
append-only run log
Eventsappend-only run log
L3 COMPANY CONTEXT — what the work knows
L3 COMPANY CONTEXT — what the work knows
Company state
CRM · product · engineering
operations · finance
Company stateCRM · product · engineeringoperations · finance
Knowledge
documents and their index
Knowledgedocuments and their index
Memory
preferences and observations
Memorypreferences and observations
Context builder
deterministic, one brief per run
Context builderdeterministic, one brief per run
L2 TOOLS AND INTEGRATIONS — the only route to the outside world
L2 TOOLS AND INTEGRATIONS — the only route to the outside world
Tool registry
name · schema · scopes · risk
Tool registryname · schema · scopes · risk
Tool invoker
ask policy, check, execute, record
Tool invokerask policy, check, execute, record
Internal tools
CRM · company API · search
Internal toolsCRM · company API · search
External tools and adapters
Slack · email · GitHub · calendar
External tools and adaptersSlack · email · GitHub · calendar
L1 FOUNDATION — the technical base, with no business logic
L1 FOUNDATION — the technical base, with no business logic
Application API
Application API
PostgreSQL and vector index
PostgreSQL and vector index
Queue · event bus · scheduler
durable execution engine
Queue · event bus · schedulerdurable execution engine
Object storage · vault
auth · observability
Object storage · vaultauth · observability
POLICY AND GOVERNANCE — a plane, not a layer · applies across L2 to L5
identity · permissions · policies · limits · approvals · decision log — asked at admission, at every tool call, and as cost accrues
POLICY AND GOVERNANCE — a plane, not a layer · applies across L2 to L5identity · permissions · policies · limits · approvals · decision log — asked at admission, at every tool call, and as cost accrues
starts a run
starts a run
LEGEND
LEGEND
entry — the person who starts the work
entry — the person who starts the work
costs an LLM call
costs an LLM call
the cross-cutting policy plane
the cross-cutting policy plane
ordinary component
ordinary component
a layer band
a layer band
Text is not SVG - cannot display
Mission Control — the internal Company OS
six layers and one policy plane · a person enters at the top, a trigger enters at L4 · definitions are rows, not code · an agent reaches the world only through a tool
Mission Control — the internal Company OSsix layers and one policy plane · a person enters at the top, a trigger enters at L4 · definitions are rows, not code · an agent reaches the world only through a tool
PERSON
PERSON
External event
schedule · webhook · state change
External eventschedule · webhook · state change
L6 EXPERIENCE — where a person observes and controls the company
L6 EXPERIENCE — where a person observes and controls the company
Company views
Overview · Company · Work · Knowledge
Company viewsOverview · Company · Work · Knowledge
Execution views
Agents · Workflows · Runs · Activity
Execution viewsAgents · Workflows · Runs · Activity
Approval center
every pending human decision
Approval centerevery pending human decision
Command interface + control API
the only write path
Command interface + control APIthe only write path
L5 INTELLIGENCE — decide what to do, and how
L5 INTELLIGENCE — decide what to do, and how
Agents
versioned specs, rows not code
Agentsversioned specs, rows not code
Skills
reusable procedures
Skillsreusable procedures
Planner
intent becomes a plan
Plannerintent becomes a plan
Reasoner
the model loop, one hop
Reasonerthe model loop, one hop
L4 ORCHESTRATION — turn a decision into durable execution
L4 ORCHESTRATION — turn a decision into durable execution
Workflows
ordered steps, versioned
Workflowsordered steps, versioned
Runs and steps
one run table
Runs and stepsone run table
Triggers
manual · schedule · event · webhook · agent
Triggersmanual · schedule · event · webhook · agent
Events
append-only run log
Eventsappend-only run log
L3 COMPANY CONTEXT — what the work knows
L3 COMPANY CONTEXT — what the work knows
Company state
CRM · product · engineering
operations · finance
Company stateCRM · product · engineeringoperations · finance
Knowledge
documents and their index
Knowledgedocuments and their index
Memory
preferences and observations
Memorypreferences and observations
Context builder
deterministic, one brief per run
Context builderdeterministic, one brief per run
L2 TOOLS AND INTEGRATIONS — the only route to the outside world
L2 TOOLS AND INTEGRATIONS — the only route to the outside world
Tool registry
name · schema · scopes · risk
Tool registryname · schema · scopes · risk
Tool invoker
ask policy, check, execute, record
Tool invokerask policy, check, execute, record
Internal tools
CRM · company API · search
Internal toolsCRM · company API · search
External tools and adapters
Slack · email · GitHub · calendar
External tools and adaptersSlack · email · GitHub · calendar
L1 FOUNDATION — the technical base, with no business logic
L1 FOUNDATION — the technical base, with no business logic
Application API
Application API
PostgreSQL and vector index
PostgreSQL and vector index
Queue · event bus · scheduler
durable execution engine
Queue · event bus · schedulerdurable execution engine
Object storage · vault
auth · observability
Object storage · vaultauth · observability
POLICY AND GOVERNANCE — a plane, not a layer · applies across L2 to L5
identity · permissions · policies · limits · approvals · decision log — asked at admission, at every tool call, and as cost accrues
POLICY AND GOVERNANCE — a plane, not a layer · applies across L2 to L5identity · permissions · policies · limits · approvals · decision log — asked at admission, at every tool call, and as cost accrues
starts a run
starts a run
LEGEND
LEGEND
entry — the person who starts the work
entry — the person who starts the work
costs an LLM call
costs an LLM call
the cross-cutting policy plane
the cross-cutting policy plane
ordinary component
ordinary component
a layer band
a layer band
Text is not SVG - cannot display
Six layers from the human control plane down to the foundation, and one policy plane that applies across L2 to L5. A person enters at the top, a trigger enters at the orchestration layer, and both meet in one run.

One request moves through Mission Control in eleven steps.

  1. A person writes an instruction in Mission Control, or opens a proposal.
  2. The control API turns the instruction into one request. The UI runs no business operation.
  3. An agent reads the intent and the context. It answers, asks a question, or writes a brief.
  4. A brief starts one run, for an agent or for a workflow.
  5. Policy admits the run. It checks the principal, the agent and the account limits.
  6. The orchestration layer resolves what to run: the agent version, its skills and its tools.
  7. The context builder reads company state, knowledge and memory. It returns one brief.
  8. The run executes. Each step is durable, so a crash resumes rather than restarts.
  9. The agent calls a tool for anything outside its own context. Policy answers allow, deny or require approval.
  10. On require approval the run writes an approval row and waits. A person decides in the approval center.
  11. The tool writes to company state. Run events stream back to Mission Control.

A trigger starts the same flow at step 4, with no person. Step 5 still runs.

The run writes back to company state through tools. That is what the next brief reads.

4. The layers

#LayerJobPage
L6ExperienceWhere a person observes and controls the companyExperience
L5IntelligenceDecide what to do, and howIntelligence
L4OrchestrationTurn a decision into durable executionOrchestration
L3Company contextWhat the work knowsCompany context
L2Tools and integrationsThe only route to the outside worldTools and integrations
L1FoundationThe technical base, with no business logicFoundation
Policy and governanceWhat is allowed, under what conditions, and how muchPolicy and governance

Policy has no number, because it is not a step in the path. Nothing passes through it. It is asked one question at three points, and it answers in one word.

One more page cuts across every layer. Metrics and connectors is a worked example: three vendors, one metric pipeline, three views, and no new machinery. Read it to see how a feature is supposed to land.

5. Core primitives

Fourteen nouns carry the whole system. A reader who knows these knows Mission Control.

PrimitiveLayerResponsibility
AgentL5Decide and reason
SkillL5A reusable procedure an agent loads
WorkflowL4An ordered process definition
RunL4One execution of an agent or a workflow
StepL4One durable unit inside a run
TriggerL4The condition that starts a run
EventL4One fact a run emitted
Company stateL3The structured state of the business
KnowledgeL3Durable information the company holds
MemoryL3What happened before, and what was learned
ContextL3The brief assembled for one run
ToolL2A capability offered to an agent
PolicyPlaneOne rule that decides an action
ApprovalPlane, L6One human decision on one action

6. Data model

Eighteen tables carry the platform, plus the company state domain tables. Every definition is a row, so a new agent, workflow, tool or rule is a write and not a deploy.

TableLayerHolds
agentsL5The versioned agent spec: instructions, model, skills, tools, context policy, budget.
skillsL5One reusable procedure, and the tools it needs.
workflowsL4The versioned ordered steps.
runsL4One execution: input, state, output, error, cost. A workflow run is the parent of its step runs.
run_eventsL4One append-only fact from a run. This is the activity feed and the replay log.
triggersL4The start condition: manual, schedule, event, webhook or agent.
artifactsL4One file or record a run produced, and the step that produced it.
documentsL3One durable knowledge document, and its source.
document_chunksL3One embedded passage, for retrieval.
memoriesL3One preference or observation, and the run that proposed it.
toolsL2The registry: name, schema, kind, binding, scopes, side effect, risk.
connectionsL2One external account, and its vault credential.
external_refsL3One mapping: our entity, our id, the connection, the vendor id.
policiesPlaneOne rule: scope, action, conditions, decision.
limitsPlaneOne ceiling: scope, metric, window, value.
policy_decisionsPlaneOne evaluation: principal, action, matched policy, decision.
approvalsPlaneOne pending human decision, its TTL and its outcome.
usersL1One employee, and the roles that set what they may do.
secretsL1One credential reference. The value lives in the vault, never in a row.

Company state adds one table for each business entity: companies, people, opportunities, projects, tasks, goals, metrics, activities, decisions. Each one has exactly one owning domain. See Company context.

metrics and external_refs carry every external number and every vendor id, whatever the source. Their shape is on Metrics and connectors.

Three tables that do not exist are as important as the ones that do.

  • No permission table. An agent's permission surface is its tool list and its scopes. A person's rights are their roles. The plane computes the intersection, and stores neither side.
  • No audit table. run_events and policy_decisions are the audit trail. A third copy would drift.
  • No working memory table. Working memory is the run. Episodic memory is a query over runs and run_events.

7. Dependency rules

TEXT
L6 Experience
   ↓
L5 Intelligence
   ↓
L4 Orchestration
   ↓
L3 Company context
   ↓
L2 Tools and integrations
   ↓
L1 Foundation

A layer calls the layers below it, and not only the adjacent one. A workflow step at L4 calls a tool at L2 with no agent in the path. A lower layer never calls a higher one. It emits an event instead, and something above it listens.

Two consequences carry most of the value.

An agent knows no infrastructure. It does not know PostgreSQL, Redis, a Slack SDK, an HTTP controller or a UI component. It knows a tool.

TEXT
Agent → Tool → Service → Infrastructure

The UI mutates nothing directly. Every change of state passes through the control API and lands as a run or a record write.

TEXT
UI → Control API → Agent, workflow or run → Tool → Company state

There is one deliberate exception. The context builder reads company state, knowledge and memory directly, because it is deterministic infrastructure and not a capability an agent chooses. Both paths obey the same row-level security.

8. Key decisions

#DecisionWhyWhat would change it
D1Mission Control is a separate stack from the agentic platform, on the same blueprintInternal operations must survive a customer-product outage, and a customer must never reach an internal agentThe cost of two implementations exceeding the cost of a hard tenancy boundary inside one platform
D2Agents, workflows, tools and policies live in the database, not in codeA new agent must be a write, not a deploy. Versioning, inspection and rollback come freeAuthorship that stays engineer-only forever
D3One run table for agent runs and workflow runs. A workflow run is the parent of its step runsTwo run tables means two status models, two reapers and two activity feedsA workflow step whose shape a run row cannot carry
D4One agentic hop. An agent calls a workflow, and a workflow calls steps. An agent does not call an agentRouting errors multiply through nested reasoning chainsAn agent that must fan out, which it does to runs, not to other agents
D5A workflow is a first-class definition of ordered steps, not a compiled agentSequence, parallel branch, retry, wait, approval and schedule are what real processes needAgents becoming reliable enough that a fixed order adds nothing
D6The tool is the only route to the world, and it is the policy boundaryIt is also the audit line and the place a service change is absorbedNothing. This is the containment story
D7Company state is one model with many domains. The CRM is one of themA CRM-shaped company model cannot hold a goal, a project or a decisionNothing
D8The CRM beats knowledge, and knowledge beats memory, on a conflictWithout an order, three stores disagree and the agent picks the one that reads bestNothing. A system with no precedence rule has three sources of truth
D9The context builder is deterministic, and a context policy on the agent row drives itAn agent that chooses what to retrieve is a second hop, which D4 forbidsRetrieval quality a fixed policy cannot reach. Then a ranking model inside one step, still not a hop
D10Policy is a plane consulted at three checkpoints, not a layer in the pathA check only at the start is bypassed by reaching the same action on a later turnA measurement showing the per-call check costs more than it prevents
D11The decision set is closed at allow, deny and require approvalAn open set becomes a rules language, and a rules language is new infrastructureA real case that none of the three, plus a condition on the arguments, can express
D12A policy binds to an action, not to an agentPer-agent rules are the fragmentation the plane exists to removeNothing. An agent scope is already available as a narrowing
D13An approval cannot grant a permission the approver does not holdOtherwise approval is a privilege escalation pathNothing
D14The UI executes no business operationA UI that writes directly bypasses policy, audit and the run record in one stepNothing
D15An external number is stored as a metrics row. An external record detail is never stored, and is read liveA stored number is company state, so a trigger can fire on it and an agent can reason over it. A stored record is a mirror of a vendor's model that goes staleA number so large or so fast that storing it costs more than the trigger is worth
D16A tool is called by an agent or by a workflow step. A deterministic pipeline calls tools with no model in the pathIngest needs the adapter, the credential and the audit line, and none of that needs reasoningNothing. A model in an ingest pipeline is cost with no decision

9. Not building

  • A second orchestration engine. A workflow step is a durable step on the engine we already run.
  • A second run table.
  • A pause and resume checkpointer of our own.
  • Agent hierarchies deeper than one hop.
  • A general policy language, or a fourth decision beyond allow, deny and require approval.
  • A permission table.
  • A separate audit store.
  • A store for working memory or for episodic memory.
  • A knowledge graph. Company state is the entity model.
  • A retrieval agent. The context builder is deterministic.
  • A vector database. The vector index is an extension of the database we already run.
  • Direct database access for an agent, in any form.
  • Raw REST routes exposed to a model.
  • Business logic in the foundation layer.
  • An analytics product. We store the numbers the company is operated on, and we link out for the rest.
  • A mirror of a vendor's object model. We map a vendor id, and we store no vendor record.
  • A dashboard per data source. A source is a connector, and a dashboard is the Company view, filtered.

10. End-to-end example

The instruction is one sentence.

Find promising companies, enrich them, and add the qualified ones to the CRM.

The path is eleven hops, and every one of them is a primitive from section 5.

TEXT
Person
  → Mission Control            L6  the instruction becomes one request
  → Agent                      L5  read the intent, write a plan
  → Workflow                   L4  four ordered steps
      ├── Research             L4  step run, calls the web search tool
      ├── Enrichment           L4  step run, calls the company data tool
      ├── Qualification        L5  step run, agent reasoning, no tool
      └── CRM update           L2  step run, calls the CRM tool
  → Policy                     ··  allow, or require approval
      └── Approval             L6  a person decides in the approval center
  → CRM tool                   L2  the write happens once, and it is idempotent
  → Company state              L3  the record changes
  → Run events                 L4  the change appears in Mission Control

Nothing in this path is specific to prospecting. Change the four steps and the same machinery runs a hiring loop, a monthly close or an incident review.

11. What comes next

The layers are settled. The contracts between them are not, and they decide whether the system stays modular.

TEXT
Agent → Workflow → Run → Context → Policy → Tool → Company state

Each arrow is a schema that two layers must agree on. Each layer page ends with the open questions for its own arrow.

12. References