Skip to main content

Architecture

workstation-ingress

The workstation with an ingress per audience: owner, operator, monitoring.

architectures/workstation-ingress.yaml

Graph​

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

Check​

accepted 11 parts and 8 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_total13Agent copies: the sum of count over the agent parts.
principals_total3Principal parts.
human_touchpoints1Links 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_targets1Distinct parts and endpoints named in the egress of the sandbox parts.
shared_workspaces0Workspace parts whose sharing is not exclusive.
capacity_ratio0.75Agent 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: workstation-ingress.contract.yaml.

portkindblockprotocolpartsettingsinstances
sandbox.sandboxOutboundsandboxDefineSandbox (CheckEgress | CheckSecretRead | CheckWrite)*boxegress: [gateway], isolation: process12
resource.claimOutboundresourceRequestClaim (ExpireWait | GrantClaim (ExpireClaim | KillClaim | ReleaseClaim) | WithdrawClaim)buildscapacity: 16, job_limit: 10m, kind: build_slots1
channel.messageOutboundchannelSendMessage (MarkDelivered (MarkRead | MarkReadInTurn)? | MarkLost)chatkind: operator1
gateway.callOutboundgatewayAdmitCall CompleteCallgatewayrate_limit_per_minute: 1201
model.inferenceOutboundmodelStartInference FinishInferencemodelroute: frontier1
channel.messageOutboundchannelSendMessage (MarkDelivered (MarkRead | MarkReadInTurn)? | MarkLost)operatornone1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionoperatoracts_for: owner, harness: coding, role: operator1
model.inferenceOutboundmodelStartInference FinishInferenceoperatornone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)operatornone1
channel.messageOutboundchannelSendMessage (MarkDelivered (MarkRead | MarkReadInTurn)? | MarkLost)ownernone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)ownerkind: human1
workspace.leaseOutboundworkspaceRequestLease GrantLease RecordWrite* (ExpireLease | ReleaseLease)treesharing: exclusive12
workspace.proposalOutboundworkspacePropose (MergeProposal | RejectProposal | SupersedeProposal)treesharing: exclusive12
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionworkerharness: coding12
model.inferenceOutboundmodelStartInference FinishInferenceworkernone12
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)workernone12
resource.claimOutboundresourceRequestClaim (ExpireWait | GrantClaim (ExpireClaim | KillClaim | ReleaseClaim) | WithdrawClaim)workernone12

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

  • owner -> operator carries prompt over chat: every channel.message@owner to operator over chat
  • operator -> owner carries question over chat: every question.question@operator to owner over chat
  • worker -> operator carries question: every question.question@worker to operator
  • operator -> gateway carries model_call: every model.inference@operator inside gateway.call@gateway
  • worker -> gateway carries model_call: every model.inference@worker inside gateway.call@gateway
  • gateway -> model carries model_call: every gateway.call@gateway to model
  • worker -> builds carries claim: every resource.claim@worker to builds

Border: operator.

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

ingressaudienceauthenticatedexportscommandsviewsfeedsmetrics
metricsmonitornometrics_scrape0005
operatoradminyeshttp, event_stream, ui, tool338910
userowneryeshttp, event_stream, ui227590
  • metrics: cost_usd, owner_wait_share, pool_utilization, queue_wait_p90_seconds, rate_limited_seconds
  • operator: agentic.gateway.DetachUpstream, agentic.gateway.DrainGateway, agentic.gateway.StopGateway
  • user: agentic.channel.SendMessage, agentic.question.Answer

Parts​

partblocksettings
adminprincipalkind human
monitorprincipalkind service
ownerprincipalkind human
gatewaygatewayrate_limit_per_minute 120
modelmodelroute frontier
operatoragentacts_for owner; harness coding; role operator
workeragentcount 12; harness coding
chatchannelkind operator
boxsandboxegress gateway; isolation process; per worker
buildspoolcapacity 16; job_limit 10m; kind build_slots
treeworkspaceper worker; sharing exclusive

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

  • owner sends prompt to operator over chat.
  • operator sends question to owner over chat.
  • worker sends question to operator.
  • operator sends order to worker.
  • operator sends model_call to gateway.
  • worker sends model_call to gateway.
  • gateway sends model_call to model.
  • worker sends claim to builds.

Border​

What a human reaches directly: operator.

Policies​

policyvalue
operator_answers_alonefalse
question_default_after15m

Marked places​

None: this architecture is not searched.