Agentic infra

The high-level system design of the agentic infra - who starts a run, the one run start, the runtime, what a run can do and know, and where it is stored.

1 min read Updated Oct 15, 2026

Agentic infra

This page is the map of the agentic infra. It shows every module and the path from a request to a result. Each module has its own page, and the numbers on the diagram match the module pages.

AgencyCore agentic infra · high-level system design
AgencyCore agentic infra · high-level system design
Numbers match the module pages. Dashed means not ours, not built yet, or async.
Numbers match the module pages. Dashed means not ours, not built yet, or async.
01 · Surfaces and channels (where work is asked for)
01 · Surfaces and channels (where work is asked for)
Web app
product UI · chat
Web appproduct UI · chat
ac CLI
an AI agent on a person's seat
ac CLIan AI agent on a person's seat
Channel gateway
Slack · email conversations
Channel gatewaySlack · email conversations
MCP server
TODO: planned, not built
MCP serverTODO: planned, not built
03 · Front Door
reads scoped context · answers, asks,
or selects one Agent or Workflow
03 · Front Doorreads scoped context · answers, asks,or selects one Agent or Workflow
02 · Triggers
events · webhooks · schedules
matched to one rule
02 · Triggersevents · webhooks · schedulesmatched to one rule
04 · Runs
RunManager · admission · freeze the
definition · dispatch
04 · RunsRunManager · admission · freeze thedefinition · dispatch
05 · Runtime (one runtime executes every run)
05 · Runtime (one runtime executes every run)
Definitions
published Agents
and Workflows
Definitionspublished Agentsand Workflows
Workflow executor
steps · tool nodes · waits
Workflow executorsteps · tool nodes · waits
Agent loop
Agno · reason, call
tools, observe
Agent loopAgno · reason, calltools, observe
Durable execution on Inngest · retry from the failed step · wait for events · time out
Durable execution on Inngest · retry from the failed step · wait for events · time out
06 · Model provider
OpenAI · Anthropic · Gemini
model choice · token cost
06 · Model providerOpenAI · Anthropic · Geminimodel choice · token cost
What a run can do and know
What a run can do and know
07 · Capabilities
company and people search and enrich
signals · CRM question
definition builder
07 · Capabilitiescompany and people search and enrichsignals · CRM questiondefinition builder
08 · Tools and integrations
tool registry · provider jobs
Exa · Parallel · Hunter · FullEnrich
08 · Tools and integrationstool registry · provider jobsExa · Parallel · Hunter · FullEnrich
09 · Context and memory
scoped context packing
memory · platform corpus
09 · Context and memoryscoped context packingmemory · platform corpus
10 · Intelligence and product state
global intelligence → org
prospects → CRM
10 · Intelligence and product stateglobal intelligence → orgprospects → CRM
11 · Governance · policy at admission, at every tool call, and as cost accrues · approvals inbox · budgets · idempotency
11 · Governance · policy at admission, at every tool call, and as cost accrues · approvals inbox · budgets · idempotency
12 · Observability and cost · one run row · one span per unit of work · one cost meter · live events after the durable span
12 · Observability and cost · one run row · one span per unit of work · one cost meter · live events after the durable span
13 · Storage
13 · Storage
Postgres (Supabase)
runs · definitions · product state
Postgres (Supabase)runs · definitions · product state
pgvector
memory · platform corpus
pgvectormemory · platform corpus
Redis
cache · short-lived state
Rediscache · short-lived state
What the colours mean
What the colours mean
every run starts here
every run starts here
costs an LLM call
costs an LLM call
a machine starts it
a machine starts it
platform plumbing
platform plumbing
a component
a component
1. chat message
1. chat message
product action
product action
2. start run
2. start run
matched rule
matched rule
3. claim + dispatch
3. claim + dispatch
4. model calls
4. model calls
5. tool calls · results
5. tool calls · results
read / write
read / write
6. progress + result
6. progress + result
Text is not SVG - cannot display
AgencyCore agentic infra · high-level system design
AgencyCore agentic infra · high-level system design
Numbers match the module pages. Dashed means not ours, not built yet, or async.
Numbers match the module pages. Dashed means not ours, not built yet, or async.
01 · Surfaces and channels (where work is asked for)
01 · Surfaces and channels (where work is asked for)
Web app
product UI · chat
Web appproduct UI · chat
ac CLI
an AI agent on a person's seat
ac CLIan AI agent on a person's seat
Channel gateway
Slack · email conversations
Channel gatewaySlack · email conversations
MCP server
TODO: planned, not built
MCP serverTODO: planned, not built
03 · Front Door
reads scoped context · answers, asks,
or selects one Agent or Workflow
03 · Front Doorreads scoped context · answers, asks,or selects one Agent or Workflow
02 · Triggers
events · webhooks · schedules
matched to one rule
02 · Triggersevents · webhooks · schedulesmatched to one rule
04 · Runs
RunManager · admission · freeze the
definition · dispatch
04 · RunsRunManager · admission · freeze thedefinition · dispatch
05 · Runtime (one runtime executes every run)
05 · Runtime (one runtime executes every run)
Definitions
published Agents
and Workflows
Definitionspublished Agentsand Workflows
Workflow executor
steps · tool nodes · waits
Workflow executorsteps · tool nodes · waits
Agent loop
Agno · reason, call
tools, observe
Agent loopAgno · reason, calltools, observe
Durable execution on Inngest · retry from the failed step · wait for events · time out
Durable execution on Inngest · retry from the failed step · wait for events · time out
06 · Model provider
OpenAI · Anthropic · Gemini
model choice · token cost
06 · Model providerOpenAI · Anthropic · Geminimodel choice · token cost
What a run can do and know
What a run can do and know
07 · Capabilities
company and people search and enrich
signals · CRM question
definition builder
07 · Capabilitiescompany and people search and enrichsignals · CRM questiondefinition builder
08 · Tools and integrations
tool registry · provider jobs
Exa · Parallel · Hunter · FullEnrich
08 · Tools and integrationstool registry · provider jobsExa · Parallel · Hunter · FullEnrich
09 · Context and memory
scoped context packing
memory · platform corpus
09 · Context and memoryscoped context packingmemory · platform corpus
10 · Intelligence and product state
global intelligence → org
prospects → CRM
10 · Intelligence and product stateglobal intelligence → orgprospects → CRM
11 · Governance · policy at admission, at every tool call, and as cost accrues · approvals inbox · budgets · idempotency
11 · Governance · policy at admission, at every tool call, and as cost accrues · approvals inbox · budgets · idempotency
12 · Observability and cost · one run row · one span per unit of work · one cost meter · live events after the durable span
12 · Observability and cost · one run row · one span per unit of work · one cost meter · live events after the durable span
13 · Storage
13 · Storage
Postgres (Supabase)
runs · definitions · product state
Postgres (Supabase)runs · definitions · product state
pgvector
memory · platform corpus
pgvectormemory · platform corpus
Redis
cache · short-lived state
Rediscache · short-lived state
What the colours mean
What the colours mean
every run starts here
every run starts here
costs an LLM call
costs an LLM call
a machine starts it
a machine starts it
platform plumbing
platform plumbing
a component
a component
1. chat message
1. chat message
product action
product action
2. start run
2. start run
matched rule
matched rule
3. claim + dispatch
3. claim + dispatch
4. model calls
4. model calls
5. tool calls · results
5. tool calls · results
read / write
read / write
6. progress + result
6. progress + result
Text is not SVG - cannot display
A person or a machine asks for work. Every run starts at Runs, and one runtime executes it. A run reaches the world only through capabilities and tools, and governance and observability apply at every stage. Dashed means not ours, not built yet, or async.

The path of one request

  1. A person sends a chat message from a surface, or works in the product UI.
  2. The Front Door selects one Agent or Workflow and starts a run. A product action and a matched trigger start a run directly.
  3. Runs admits the run, freezes the published definition, and dispatches it to the runtime.
  4. The runtime executes the steps. An agent step calls the model provider.
  5. Steps call tools. Tools read and write context, memory, product state and storage.
  6. The run reports progress and the result back to the surface that asked.

Modules

#ModuleWhat it owns
01Surfaces and channelsWhere work is asked for: the web app, the ac CLI, the channel gateway, and the planned MCP server.
02TriggersHow events, webhooks and schedules match one rule and start a run without a person.
03Front DoorHow a conversation reads scoped context and answers, asks, or selects one Agent or Workflow.
04RunsThe one run start: RunManager, admission, the frozen definition, and dispatch.
05RuntimeThe one runtime: published definitions, the workflow executor, the agent loop, and durable execution on Inngest.
06Model providerThe LLM vendors behind the agent loop, model choice, and token cost.
07CapabilitiesThe business actions a user can request: search, enrich, signals, the CRM question, and the definition builder.
08Tools and integrationsThe tool registry and the provider jobs that reach third-party data vendors.
09Context and memoryScoped context packing, memory, and the platform corpus.
10Intelligence and product stateWhere discovery work lands: global intelligence, then organization prospects, then CRM.
11GovernancePolicy at admission, at every tool call and as cost accrues, plus approvals, budgets and idempotency.
12Observability and costThe run row, the spans, the cost meter, and the live events.
13StoragePostgres on Supabase, pgvector, and Redis.

Governance and observability apply at every stage, so the diagram shows them as bars with no arrows.