Skip to main content

Architecture

team-with-console

A team that reaches its operations through a console modelled as an architecture of its own, console, nested here as one part pinned by its digest. The owner prompts the console's steward, the one part on the console's border, as `console.steward`; the steward orders the workers and answers their questions, and asks the owner what it cannot decide. The simulator flattens the console into this document (its parts run as `console.steward`, `console.helper`, `console.gateway` and `console.model`) and simulates the result as any other architecture.

architectures/team-with-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 5 parts and 6 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_total3Agent copies: the sum of count over the agent parts.
principals_total1Principal parts.
human_touchpoints0Links that end at a principal and carry a question or a proposal.
autonomy_depth0Links in the longest chain of order and question links from agent to agent.
model_call_paths1Distinct 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_parts0Parts 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: team-with-console.contract.yaml.

portkindblockprotocolpartsettingsinstances
gateway.callOutboundgatewayAdmitCall CompleteCallconsole.gatewayrate_limit_per_minute: 601
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionconsole.helperharness: coding1
model.inferenceOutboundmodelStartInference FinishInferenceconsole.helpernone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)console.helpernone1
model.inferenceOutboundmodelStartInference FinishInferenceconsole.modelroute: frontier1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionconsole.stewardharness: coding, role: orchestrator1
model.inferenceOutboundmodelStartInference FinishInferenceconsole.stewardnone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)console.stewardnone1
gateway.callOutboundgatewayAdmitCall CompleteCallgatewayrate_limit_per_minute: 601
model.inferenceOutboundmodelStartInference FinishInferencemodelroute: frontier1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)ownerkind: human1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionworkerharness: coding3
model.inferenceOutboundmodelStartInference FinishInferenceworkernone3
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)workernone3

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

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

Border: console.steward.

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

ingressaudienceauthenticatedexportscommandsviewsfeedsmetrics
metricscontrol.monitornometrics_scrape0009
operatorcontrol.operatoryeshttp, event_stream, ui, tool420490
  • metrics: cache_bust_count, cache_hit_share, context_size_p90_tokens, cost_usd, human_prompt_share, owner_wait_share, priced_message_share, sub_agents_started, subagent_cost_share
  • operator: agentic.gateway.DetachUpstream, agentic.gateway.DrainGateway, agentic.gateway.StopGateway, agentic.question.Answer

Parts​

partblocksettings
ownerprincipalkind human
gatewaygatewayrate_limit_per_minute 60
modelmodelroute frontier
workeragentcount 3; harness coding
consolearchitecturedigest sha256:d58215ae6adcce5c73a0acf90692b6497aa10960d8b2f7fcda97d62c1d803c24; ref console.yaml

Nested architectures​

A nested architecture is one part here; a link reaches one of its border parts as <part>.<border part>. The simulator runs its parts under those names. How nesting works: Nesting an architecture.

partarchitecturepartslinksdigest
consoleconsole45sha256:d58215ae6adcce5c73a0acf90692b6497aa10960d8b2f7fcda97d62c1d803c24

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

  • owner sends prompt to console.steward.
  • console.steward sends question to owner.
  • console.steward sends order to worker.
  • worker sends question to console.steward.
  • worker sends model_call to gateway.
  • gateway sends model_call to model.

Border​

What a human reaches directly: console.steward.

Policies​

policyvalue
question_default_after15m

Marked places​

None: this architecture is not searched.