Skip to main content

Architecture

console

A console as an architecture of its own, made to be nested in another one: a steward agent is the one part on its border, hands work to a helper agent, and both reach their model through a gateway. A document that nests it reaches the steward as `console.steward` and nothing else of it. On its own the console has no principal: it is checked and drawn here, and simulated inside the architecture that nests it, team-with-console.

architectures/console.yaml

Graph​

The architecture as a graph: parts by layer, links labelled by what they carry, the border marked.Open full screen ↗

Check​

accepted 4 parts and 5 links; the structural check refuses nothing.

The architecture as a whole​

Read from the document alone, before any simulation: its size, autonomy, exposure, weak points and fixed limits. agenticspec sim check reports the same numbers; a marked place counts at its value as built. The KPIs are in the KPI catalogue under the block architecture.

KPIvaluewhat it counts
agents_total2Agent copies: the sum of count over the agent parts.
principals_total0Principal parts.
human_touchpoints0Links that end at a principal and carry a question or a proposal.
autonomy_depth1Links in the longest chain of order and question links from agent to agent.
model_call_paths2Distinct paths of model_call links from an agent part to a model part.
ungated_model_calls0Paths of model_call links from an agent to a model that pass no gateway part.
single_points2 (gateway, model)Parts whose removal leaves some agent with no model_call path to a model.
border_parts1Parts named in the border, the parts that take input from outside.
egress_targets0Distinct parts and endpoints named in the egress of the sandbox parts.
shared_workspaces0Workspace parts whose sharing is not exclusive.
capacity_ratio0Agent copies that claim a pool divided by its capacity, the largest over the pools.

Contract​

The ports a runtime implements to run this architecture: each port's protocol, the part that uses it with the settings that narrow it, and how many instances run. Derived from the document and the ports of the building blocks; how. The contract file: console.contract.yaml.

portkindblockprotocolpartsettingsinstances
gateway.callOutboundgatewayAdmitCall CompleteCallgatewayrate_limit_per_minute: 601
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionhelperharness: coding1
model.inferenceOutboundmodelStartInference FinishInferencehelpernone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)helpernone1
model.inferenceOutboundmodelStartInference FinishInferencemodelroute: frontier1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionstewardharness: coding, role: orchestrator1
model.inferenceOutboundmodelStartInference FinishInferencestewardnone1

Routing invariants, one per link whose value travels in a port:

  • helper -> steward carries question: every question.question@helper to steward
  • steward -> gateway carries model_call: every model.inference@steward inside gateway.call@gateway
  • helper -> gateway carries model_call: every model.inference@helper inside gateway.call@gateway
  • gateway -> model carries model_call: every gateway.call@gateway to model

Border: steward.

Ingresses: who reaches the architecture from outside, what each audience may use, and over which protocols.

ingressaudienceauthenticatedexportscommandsviewsfeedsmetrics
metricscontrol.monitornometrics_scrape0007
operatorcontrol.operatoryeshttp, event_stream, ui, tool319470
  • metrics: cache_bust_count, cache_hit_share, context_size_p90_tokens, cost_usd, priced_message_share, sub_agents_started, subagent_cost_share
  • operator: agentic.gateway.DetachUpstream, agentic.gateway.DrainGateway, agentic.gateway.StopGateway

Parts​

partblocksettings
gatewaygatewayrate_limit_per_minute 60
modelmodelroute frontier
helperagentharness coding
stewardagentharness coding; role orchestrator

No link, no reach: a part reaches only what a link names.

  • steward sends order to helper.
  • helper sends question to steward.
  • steward sends model_call to gateway.
  • helper sends model_call to gateway.
  • gateway sends model_call to model.

Border​

What a human reaches directly: steward.

Marked places​

None: this architecture is not searched.