Skip to main content

Architecture

shared-board

A team without an orchestrator on a shared board: the owner posts every task to the board, each post wakes the team, and every idle copy reads it and races to claim it. A team without an orchestrator on one repository resolved 19.31% at 1 agent and 28.78% at 128, with a typed board of length-limited entries (2609.26781); that study started one agent every 30 s, then every 3 s. The simulator charges each read of a post by an idle copy one model call and counts a claim conflict when a reader reads within `claim_window_seconds` of the copy that claims; a start stagger holds copies back so that a burst of posts is claimed one by one. A post that finds the team at its limit is offered again when a run ends. The simulator does not model the board's entry kinds and length limits, entries other than tasks (facts, failures, patch summaries), a reader that is busy while it reads, nor any effect of the team's size on how often a task succeeds.

architectures/shared-board.yaml

Search result​

A short run of the experiment shared-board-tuning tried 12 variants of the marked places. Its fitness, the weighted sum of KPIs the experiment scores, is 154.9 as built and 254.1 for the best variant. How the run was made: Optimization.

Marked places​

A marked place carries vary: the value as built and the values a search may try there. The best value is that of the best variant.

placeas builtbest valuethe search may try
parts.team.count8164, 8, 12, 16
parts.team.start_stagger3s30s0s, 3s, 30s

KPIs that moved​

37 of 102 KPIs differ between the architecture as built and its best variant; the others are equal. A weight is what the experiment scores a KPI by: above 0 more is better, below 0 less is better.

KPIweightas builtbest variantchange
false_completions_shipped−594.500139.5+47.6 %, worse
backlog_wait_p90_seconds−0.00127813.13657.1−86.9 %, better
cost_usd−0.051766.72754.2+55.9 %, worse
owner_wait_share−2000.0830.060−26.8 %, better
questions_defaulted−15070+40.0 %, worse
tasks_correct+1081117.5+45.1 %, better
firing_failure_share–0.5150.527+2.3 %
agents_total–816+100.0 %
task_completion–0.6640.969+46.1 %
agent_time_cost_usd–192.0383+99.5 %
backlog_wait_p50_seconds–16872.7113.6−99.3 %
capacity_ratio–0.5001+100.0 %
claim_conflicts–0117.5+117.5
coordination_calls–0726+726
cost_per_task_usd–10.07110.714+6.4 %
firing_skip_share–0.5650.259−54.2 %
firing_start_wait_p90_seconds–5296.0144.3−97.3 %
firings–440.5361−18.0 %
firings_skipped–24996−61.4 %
firings_started–183.5265+44.4 %
jobs–677.51010+49.1 %
jobs_killed–43.50062+42.5 %
pool_utilization–0.0760.113+47.7 %
questions_asked–95.500141+47.6 %
rework_turns–6970.510217+46.6 %
steps–20432916.5+42.8 %
steps_failed–12311768.5+43.7 %
tasks_claimed_done–175.5257+46.4 %
tasks_done–175.5257+46.4 %
tasks_started–183.5264.5+44.1 %
tokens_cache_read–11810400001778370000+50.6 %
tokens_cache_write–78736000118558000+50.6 %
tokens_input–3936800059279000+50.6 %
tokens_output–1181040017783700+50.6 %
turns–1968428913.5+46.9 %
worker_busy_share–0.9000.659−26.8 %
wrong_assumptions–19.50024+23.1 %

Graph​

The architecture as a graph, with the best variant of a short run of the experiment shared-board-tuning at its marked places.Open full screen ↗

Check​

accepted 8 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_total8Agent copies: the sum of count over the agent parts.
principals_total1Principal parts.
human_touchpoints1Links 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_ratio0.5Agent 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: shared-board.contract.yaml.

portkindblockprotocolpartsettingsinstances
channel.postOutboundchannelPostMessage TakePost?boarddistribution: board, kind: agent_message1
channel.subscriptionOutboundchannelSubscribe (Beat | ReceiveEvent | ResumeSubscription)* EndSubscriptionboarddistribution: board, kind: agent_message1
resource.claimOutboundresourceRequestClaim (ExpireWait | GrantClaim (ExpireClaim | KillClaim | ReleaseClaim) | WithdrawClaim)buildscapacity: 16, job_limit: 10m, kind: build_slots1
gateway.callOutboundgatewayAdmitCall CompleteCallgatewayrate_limit_per_minute: 1201
model.inferenceOutboundmodelStartInference FinishInferencemodelroute: frontier1
trigger.firingOutboundtriggerFireTrigger (RecordFailure | RecordStart (RecordEnd | RecordReplaced) | SkipFiring)on_entrychannel: board, kind: on_message, max_parallel: 16, policy: parallel1
channel.postOutboundchannelPostMessage TakePost?ownernone1
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)ownerkind: human1
harness.sessionOutboundharness(OpenSession | SpawnSubAgent) (CompactContext | NameSession | RecordRestart | RecordTurn | RequestRoute)* EndSessionteamharness: coding8
model.inferenceOutboundmodelStartInference FinishInferenceteamnone8
question.questionPrincipalquestionAsk (Answer | RecordUnreadableAnswer | TakeDefault ReviseAnswer? | Withdraw)teamnone8
resource.claimOutboundresourceRequestClaim (ExpireWait | GrantClaim (ExpireClaim | KillClaim | ReleaseClaim) | WithdrawClaim)teamnone8
workspace.leaseOutboundworkspaceRequestLease GrantLease RecordWrite* (ExpireLease | ReleaseLease)treesharing: exclusive8
workspace.proposalOutboundworkspacePropose (MergeProposal | RejectProposal | SupersedeProposal)treesharing: exclusive8

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

  • owner -> board carries message: every channel.post@owner to board
  • on_entry -> team carries trigger: every trigger.firing@on_entry to team
  • team -> owner carries question: every question.question@team to owner
  • team -> gateway carries model_call: every model.inference@team inside gateway.call@gateway
  • gateway -> model carries model_call: every gateway.call@gateway to model
  • team -> builds carries claim: every resource.claim@team to builds

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, tool9431050
  • 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.channel.SetPostingRule, agentic.gateway.DetachUpstream, agentic.gateway.DrainGateway, agentic.gateway.StopGateway, agentic.question.Answer, agentic.trigger.DisableSchedule, agentic.trigger.DisableTrigger, agentic.trigger.EnableTrigger, agentic.trigger.PassScheduleChecks

Parts​

partblocksettings
ownerprincipalkind human
gatewaygatewayrate_limit_per_minute 120
modelmodelroute frontier
teamagentcoordination board; count 8 marked: 4, 8, 12, 16; harness coding; start_stagger 3s marked: 0s, 3s, 30s
boardchanneldistribution board; kind agent_message
on_entrytriggerchannel board; kind on_message; max_parallel 16; policy parallel
buildspoolcapacity 16; job_limit 10m; kind build_slots
treeworkspaceper team; sharing exclusive

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

  • owner sends message to board.
  • on_entry sends trigger to team.
  • team sends question to owner.
  • team sends model_call to gateway.
  • gateway sends model_call to model.
  • team sends claim to builds.

Policies​

policyvalue
question_default_after15m

Optimization​

The experiment shared-board-tuning searches the marked places of this architecture under a behaviour profile. The figures on this page come from a short run of it: 24 evaluations of 2 seeds each. The experiment file asks for more; agenticspec sim run experiments/shared-board-tuning.yaml runs it in full.

Every KPI of the architecture as built and of its best variant:

KPIkindas builtbest variant
acts_for_not_principalcorrectness00
acts_for_without_partcorrectness00
agent_time_cost_usdquality192.0383
agent_without_model_pathcorrectness00
agents_totalcompleteness816
as_not_principalcorrectness00
autonomy_depthquality00
backlog_wait_p50_secondsquality16872.7113.6
backlog_wait_p90_secondsquality27813.13657.1
border_partsquality00
border_without_partcorrectness00
bus_reach_not_eventcorrectness00
capacity_ratioquality0.5001
claim_conflictsquality0117.5
coordination_callsquality0726
coordination_messagesquality00
cost_per_task_usdquality10.07110.714
cost_usdquality1766.72754.2
decision_kind_unknowncorrectness00
duplicate_runsquality00
egress_targetsquality00
egress_without_partcorrectness00
empty_architecturecorrectness00
endpoint_invalidcorrectness00
external_store_not_in_egresscorrectness00
false_completions_shippedcorrectness94.500139.5
firing_failure_sharecorrectness0.5150.527
firing_skip_sharequality0.5650.259
firing_start_wait_p90_secondsquality5296.0144.3
firingsquality440.5361
firings_emptyquality00
firings_queuedquality00
firings_skippedquality24996
firings_startedquality183.5265
gateway_without_modelcorrectness00
human_touchpointsquality11
invalid_concurrencycorrectness00
invalid_schedulecorrectness00
jobsquality677.51010
jobs_killedquality43.50062
link_existscorrectness00
link_grant_invalidcorrectness00
merge_conflictsquality00
model_call_pathscompleteness11
module_link_cyclescorrectness00
not_a_channelcorrectness00
not_reached_by_principalcorrectness00
operator_decided_owner_questionsquality00
operator_wait_sharequality00
owner_wait_sharequality0.0830.060
per_without_partcorrectness00
pool_utilizationquality0.0760.113
postsquality265265
principals_totalcompleteness11
question_without_answerercorrectness00
questions_askedquality95.500141
questions_defaultedquality5070
questions_forwardedquality00
queue_wait_p50_secondsquality00
queue_wait_p90_secondsquality00
rate_limited_secondsquality00
review_callsquality00
review_without_reviewercorrectness00
reviewsquality00
reviews_rejectedquality00
rework_turnsquality6970.510217
self_referencecorrectness00
semantic_store_without_modelcorrectness00
setting_invalidcorrectness00
setting_unknowncorrectness00
shared_workspacesquality00
single_pointsquality22
slot_wait_sharequality00
stepsquality20432916.5
steps_failedquality12311768.5
store_reach_not_record_or_readcorrectness00
swarm_needs_agentcorrectness00
task_completioncompleteness0.6640.969
tasks_arrivedquality265265
tasks_claimed_donequality175.5257
tasks_correctquality81117.5
tasks_donequality175.5257
tasks_startedquality183.5264.5
tokens_cache_readquality11810400001778370000
tokens_cache_writequality78736000118558000
tokens_inputquality3936800059279000
tokens_outputquality1181040017783700
trigger_source_not_triggercorrectness00
trigger_target_not_agentcorrectness00
trigger_without_sourcecorrectness00
turnsquality1968428913.5
under_not_authoritycorrectness00
ungated_model_callsquality00
ungoverned_tool_callcorrectness00
unknown_blockscorrectness00
unknown_carriescorrectness00
unknown_link_partscorrectness00
unreachable_partscorrectness00
via_not_in_egresscorrectness00
via_without_endpointcorrectness00
worker_busy_sharequality0.9000.659
wrong_assumptionsquality19.50024