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.
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.
| place | as built | best value | the search may try |
|---|---|---|---|
parts.team.count | 8 | 16 | 4, 8, 12, 16 |
parts.team.start_stagger | 3s | 30s | 0s, 3s, 30s |
More columns: swipe horizontally, or focus the table and use the arrow keys.
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.
| KPI | weight | as built | best variant | change |
|---|---|---|---|---|
false_completions_shipped | −5 | 94.500 | 139.5 | +47.6 %, worse |
backlog_wait_p90_seconds | −0.001 | 27813.1 | 3657.1 | −86.9 %, better |
cost_usd | −0.05 | 1766.7 | 2754.2 | +55.9 %, worse |
owner_wait_share | −200 | 0.083 | 0.060 | −26.8 %, better |
questions_defaulted | −1 | 50 | 70 | +40.0 %, worse |
tasks_correct | +10 | 81 | 117.5 | +45.1 %, better |
firing_failure_share | – | 0.515 | 0.527 | +2.3 % |
agents_total | – | 8 | 16 | +100.0 % |
task_completion | – | 0.664 | 0.969 | +46.1 % |
agent_time_cost_usd | – | 192.0 | 383 | +99.5 % |
backlog_wait_p50_seconds | – | 16872.7 | 113.6 | −99.3 % |
capacity_ratio | – | 0.500 | 1 | +100.0 % |
claim_conflicts | – | 0 | 117.5 | +117.5 |
coordination_calls | – | 0 | 726 | +726 |
cost_per_task_usd | – | 10.071 | 10.714 | +6.4 % |
firing_skip_share | – | 0.565 | 0.259 | −54.2 % |
firing_start_wait_p90_seconds | – | 5296.0 | 144.3 | −97.3 % |
firings | – | 440.5 | 361 | −18.0 % |
firings_skipped | – | 249 | 96 | −61.4 % |
firings_started | – | 183.5 | 265 | +44.4 % |
jobs | – | 677.5 | 1010 | +49.1 % |
jobs_killed | – | 43.500 | 62 | +42.5 % |
pool_utilization | – | 0.076 | 0.113 | +47.7 % |
questions_asked | – | 95.500 | 141 | +47.6 % |
rework_turns | – | 6970.5 | 10217 | +46.6 % |
steps | – | 2043 | 2916.5 | +42.8 % |
steps_failed | – | 1231 | 1768.5 | +43.7 % |
tasks_claimed_done | – | 175.5 | 257 | +46.4 % |
tasks_done | – | 175.5 | 257 | +46.4 % |
tasks_started | – | 183.5 | 264.5 | +44.1 % |
tokens_cache_read | – | 1181040000 | 1778370000 | +50.6 % |
tokens_cache_write | – | 78736000 | 118558000 | +50.6 % |
tokens_input | – | 39368000 | 59279000 | +50.6 % |
tokens_output | – | 11810400 | 17783700 | +50.6 % |
turns | – | 19684 | 28913.5 | +46.9 % |
worker_busy_share | – | 0.900 | 0.659 | −26.8 % |
wrong_assumptions | – | 19.500 | 24 | +23.1 % |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Graph
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.
| KPI | value | what it counts |
|---|---|---|
agents_total | 8 | Agent copies: the sum of count over the agent parts. |
principals_total | 1 | Principal parts. |
human_touchpoints | 1 | Links that end at a principal and carry a question or a proposal. |
autonomy_depth | 0 | Links in the longest chain of order and question links from agent to agent. |
model_call_paths | 1 | Distinct paths of model_call links from an agent part to a model part. |
ungated_model_calls | 0 | Paths of model_call links from an agent to a model that pass no gateway part. |
single_points | 2 (gateway, model) | Parts whose removal leaves some agent with no model_call path to a model. |
border_parts | 0 | Parts named in the border, the parts that take input from outside. |
egress_targets | 0 | Distinct parts and endpoints named in the egress of the sandbox parts. |
shared_workspaces | 0 | Workspace parts whose sharing is not exclusive. |
capacity_ratio | 0.5 | Agent copies that claim a pool divided by its capacity, the largest over the pools. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
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.
| port | kind | block | protocol | part | settings | instances |
|---|---|---|---|---|---|---|
channel.post | Outbound | channel | Post | board | distribution: board, kind: agent_ | 1 |
channel.subscription | Outbound | channel | Subscribe (Beat | Receive | board | distribution: board, kind: agent_ | 1 |
resource.claim | Outbound | resource | Request | builds | capacity: 16, job_, kind: build_ | 1 |
gateway.call | Outbound | gateway | Admit | gateway | rate_ | 1 |
model.inference | Outbound | model | Start | model | route: frontier | 1 |
trigger.firing | Outbound | trigger | Fire | on_ | channel: board, kind: on_, max_, policy: parallel | 1 |
channel.post | Outbound | channel | Post | owner | none | 1 |
question.question | Principal | question | Ask (Answer | Record | owner | kind: human | 1 |
harness.session | Outbound | harness | (Open | team | harness: coding | 8 |
model.inference | Outbound | model | Start | team | none | 8 |
question.question | Principal | question | Ask (Answer | Record | team | none | 8 |
resource.claim | Outbound | resource | Request | team | none | 8 |
workspace.lease | Outbound | workspace | Request | tree | sharing: exclusive | 8 |
workspace.proposal | Outbound | workspace | Propose (Merge | tree | sharing: exclusive | 8 |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Routing invariants, one per link whose value travels in a port:
owner -> board carries message:every channel.post@owner to boardon_entry -> team carries trigger:every trigger.firing@on_entry to teamteam -> owner carries question:every question.question@team to ownerteam -> gateway carries model_call:every model.inference@team inside gateway.call@gatewaygateway -> model carries model_call:every gateway.call@gateway to modelteam -> 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.
| ingress | audience | authenticated | exports | commands | views | feeds | metrics |
|---|---|---|---|---|---|---|---|
| metrics | control. | no | metrics_ | 0 | 0 | 0 | 9 |
| operator | control. | yes | http, event_, ui, tool | 9 | 43 | 105 | 0 |
More columns: swipe horizontally, or focus the table and use the arrow keys.
- 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
| part | block | settings |
|---|---|---|
owner | principal | kind human |
gateway | gateway | rate_limit_per_minute 120 |
model | model | route frontier |
team | agent | coordination board; count 8 marked: 4, 8, 12, 16; harness coding; start_stagger 3s marked: 0s, 3s, 30s |
board | channel | distribution board; kind agent_message |
on_entry | trigger | channel board; kind on_message; max_parallel 16; policy parallel |
builds | pool | capacity 16; job_limit 10m; kind build_slots |
tree | workspace | per team; sharing exclusive |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Links
No link, no reach: a part reaches only what a link names.
- owner sends
messageto board. - on_entry sends
triggerto team. - team sends
questionto owner. - team sends
model_callto gateway. - gateway sends
model_callto model. - team sends
claimto builds.
Policies
| policy | value |
|---|---|
question_default_after | 15m |
More columns: swipe horizontally, or focus the table and use the arrow keys.
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:
| KPI | kind | as built | best variant |
|---|---|---|---|
acts_for_not_principal | correctness | 0 | 0 |
acts_for_without_part | correctness | 0 | 0 |
agent_time_cost_usd | quality | 192.0 | 383 |
agent_without_model_path | correctness | 0 | 0 |
agents_total | completeness | 8 | 16 |
as_not_principal | correctness | 0 | 0 |
autonomy_depth | quality | 0 | 0 |
backlog_wait_p50_seconds | quality | 16872.7 | 113.6 |
backlog_wait_p90_seconds | quality | 27813.1 | 3657.1 |
border_parts | quality | 0 | 0 |
border_without_part | correctness | 0 | 0 |
bus_reach_not_event | correctness | 0 | 0 |
capacity_ratio | quality | 0.500 | 1 |
claim_conflicts | quality | 0 | 117.5 |
coordination_calls | quality | 0 | 726 |
coordination_messages | quality | 0 | 0 |
cost_per_task_usd | quality | 10.071 | 10.714 |
cost_usd | quality | 1766.7 | 2754.2 |
decision_kind_unknown | correctness | 0 | 0 |
duplicate_runs | quality | 0 | 0 |
egress_targets | quality | 0 | 0 |
egress_without_part | correctness | 0 | 0 |
empty_architecture | correctness | 0 | 0 |
endpoint_invalid | correctness | 0 | 0 |
external_store_not_in_egress | correctness | 0 | 0 |
false_completions_shipped | correctness | 94.500 | 139.5 |
firing_failure_share | correctness | 0.515 | 0.527 |
firing_skip_share | quality | 0.565 | 0.259 |
firing_start_wait_p90_seconds | quality | 5296.0 | 144.3 |
firings | quality | 440.5 | 361 |
firings_empty | quality | 0 | 0 |
firings_queued | quality | 0 | 0 |
firings_skipped | quality | 249 | 96 |
firings_started | quality | 183.5 | 265 |
gateway_without_model | correctness | 0 | 0 |
human_touchpoints | quality | 1 | 1 |
invalid_concurrency | correctness | 0 | 0 |
invalid_schedule | correctness | 0 | 0 |
jobs | quality | 677.5 | 1010 |
jobs_killed | quality | 43.500 | 62 |
link_exists | correctness | 0 | 0 |
link_grant_invalid | correctness | 0 | 0 |
merge_conflicts | quality | 0 | 0 |
model_call_paths | completeness | 1 | 1 |
module_link_cycles | correctness | 0 | 0 |
not_a_channel | correctness | 0 | 0 |
not_reached_by_principal | correctness | 0 | 0 |
operator_decided_owner_questions | quality | 0 | 0 |
operator_wait_share | quality | 0 | 0 |
owner_wait_share | quality | 0.083 | 0.060 |
per_without_part | correctness | 0 | 0 |
pool_utilization | quality | 0.076 | 0.113 |
posts | quality | 265 | 265 |
principals_total | completeness | 1 | 1 |
question_without_answerer | correctness | 0 | 0 |
questions_asked | quality | 95.500 | 141 |
questions_defaulted | quality | 50 | 70 |
questions_forwarded | quality | 0 | 0 |
queue_wait_p50_seconds | quality | 0 | 0 |
queue_wait_p90_seconds | quality | 0 | 0 |
rate_limited_seconds | quality | 0 | 0 |
review_calls | quality | 0 | 0 |
review_without_reviewer | correctness | 0 | 0 |
reviews | quality | 0 | 0 |
reviews_rejected | quality | 0 | 0 |
rework_turns | quality | 6970.5 | 10217 |
self_reference | correctness | 0 | 0 |
semantic_store_without_model | correctness | 0 | 0 |
setting_invalid | correctness | 0 | 0 |
setting_unknown | correctness | 0 | 0 |
shared_workspaces | quality | 0 | 0 |
single_points | quality | 2 | 2 |
slot_wait_share | quality | 0 | 0 |
steps | quality | 2043 | 2916.5 |
steps_failed | quality | 1231 | 1768.5 |
store_reach_not_record_or_read | correctness | 0 | 0 |
swarm_needs_agent | correctness | 0 | 0 |
task_completion | completeness | 0.664 | 0.969 |
tasks_arrived | quality | 265 | 265 |
tasks_claimed_done | quality | 175.5 | 257 |
tasks_correct | quality | 81 | 117.5 |
tasks_done | quality | 175.5 | 257 |
tasks_started | quality | 183.5 | 264.5 |
tokens_cache_read | quality | 1181040000 | 1778370000 |
tokens_cache_write | quality | 78736000 | 118558000 |
tokens_input | quality | 39368000 | 59279000 |
tokens_output | quality | 11810400 | 17783700 |
trigger_source_not_trigger | correctness | 0 | 0 |
trigger_target_not_agent | correctness | 0 | 0 |
trigger_without_source | correctness | 0 | 0 |
turns | quality | 19684 | 28913.5 |
under_not_authority | correctness | 0 | 0 |
ungated_model_calls | quality | 0 | 0 |
ungoverned_tool_call | correctness | 0 | 0 |
unknown_blocks | correctness | 0 | 0 |
unknown_carries | correctness | 0 | 0 |
unknown_link_parts | correctness | 0 | 0 |
unreachable_parts | correctness | 0 | 0 |
via_not_in_egress | correctness | 0 | 0 |
via_without_endpoint | correctness | 0 | 0 |
worker_busy_share | quality | 0.900 | 0.659 |
wrong_assumptions | quality | 19.500 | 24 |
More columns: swipe horizontally, or focus the table and use the arrow keys.