Level 13 project
Interoperable Agent System
Start from the canonical project files, validate the result, and keep the evidence you need to explain what you built.
There is no upload or grading service. Run the documented validator or checks where applicable, keep the results, and score your own evidence against the rubric below. A passing check by itself does not mean the project is complete. Suggested strong-evidence target: 90/100. Critical-condition rule: A high total is not sufficient if your work fails any critical or zero-tolerance condition the rubric lists.
Start here
Launch lesson: Interoperable Agent System Workshop
Prerequisite project: Production-Grade Agent Harness
Prerequisites
Python help for this project:
Goal
Build a version-aware interoperability layer around the durable agent harness from Level 12.
Task
Complete the TODO functions in system.py:
- protocol-version compatibility;
- local filtering of MCP capabilities;
- A2A agent selection by version, skill, and interface;
- task/artifact provenance validation;
- versioned shared-state updates;
- raw-event evaluation and release decisions.
Run:
python projects/tests/l13/validate_submission.py \
projects/starters/l13/system.py \
projects/tests/l13/fixtures/passing/system-run.jsonThe starter is expected to fail until the TODO functions are implemented.
Stuck on a TODO?
Choose one function at a time. Hint 1 offers direction, hint 2 offers pseudocode, and hint 3 reveals only that function's reference implementation after confirmation.
system.py: protocol_compatible()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
system.py: expose_mcp_capabilities()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
system.py: select_agent()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
system.py: artifact_allowed()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
system.py: apply_versioned_update()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
system.py: validate_run()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
Validation
Run these commands from the downloaded Project folder or the public materials repository root.
python projects/tests/l13/validate_submission.py \
projects/starters/l13/system.py \
projects/tests/l13/fixtures/passing/system-run.jsonCompare with a reference
First complete your own TODOs and run the submission validator above. Then open the published reference solution. Reference acceptance tests check the completed reference, not your submission:
python projects/tests/l13/test_reference.pyRubric
Total: 100 points.
- Protocol/version discipline — 20: MCP 2026-07-28 and A2A v1.0.0 boundaries are explicit and incompatible versions fail visibly.
- Capability and trust mapping — 20: discovered MCP capabilities remain subject to local role/task policy and remote data is not treated as authority.
- A2A task/artifact provenance — 15: agent selection uses compatible capability/interface evidence and artifacts remain bound to the expected child task.
- Shared-state coordination — 15: stale writes are detected with version checks and conflict handling remains explicit.
- System evaluation — 20: task, compatibility, authority, provenance, conflict, and coordination metrics are recomputed from raw events.
- Reproducibility and operational clarity — 10: deterministic local tests and the Docker bridge clearly separate protocol/controller logic from environment setup.
Full credit requires independent recomputation of critical facts. Remote or fixture booleans must not be trusted as the source of authorization, provenance, or release truth.
Self-check before you call it done
- Can you show protocol versions, incompatible-version rejection, and locally enforced capability permissions?
- Can you trace agent selection, child-task and artifact provenance, and rejection of untrusted remote authority?
- Can you reproduce versioned shared-state conflicts and explain how they are detected and handled?
- Can you recompute task, authorization, provenance, conflict, and release metrics from event records and rerun the local tests?