Skip to main content

Architecture

handoff

A sequential hand-off: agent a works first and hands its result to agent b. In 2611.00314 this solved 54% at the cost of one agent; more alternating turns gave no gain at 1.59 times the cost. The simulator has no hand-off: the `handoff` link is drawn and checked but not simulated, so a and b both take tasks from the backlog as two independent workers.

architectures/handoff.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 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_total2Agent copies: the sum of count over the agent parts.
principals_total1Principal parts.
human_touchpoints2Links 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_paths2Distinct paths of model_call links from an agent part to a model part.
ungated_model_calls2Paths of model_call links from an agent to a model that pass no gateway part.
single_points1 (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: handoff.contract.yaml.

portkindblockprotocolpartsettingsinstances
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionaharness: coding1
model.inferenceOutboundmodelStartInference FinishInferenceanone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)anone1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionbharness: coding1
model.inferenceOutboundmodelStartInference FinishInferencebnone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)bnone1
model.inferenceOutboundmodelStartInference FinishInferencemodelroute: frontier1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)ownerkind: human1

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

  • a -> owner carries question: every question.question@a to owner
  • b -> owner carries question: every question.question@b to owner
  • a -> model carries model_call: every model.inference@a to model
  • b -> model carries model_call: every model.inference@b to model

Border: none.

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, tool117400
  • 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.question.Answer

Parts​

partblocksettings
ownerprincipalkind human
modelmodelroute frontier
aagentharness coding
bagentharness coding

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

  • owner sends prompt to a.
  • a sends handoff to b.
  • a sends question to owner.
  • b sends question to owner.
  • a sends model_call to model.
  • b sends model_call to model.

Policies​

policyvalue
question_default_after15m

Marked places​

None: this architecture is not searched.