Start with each agent’s rules
AgentDNA provides default, rule-based, and YAML configuration, plus validation and a decorator for governed calls.
Inspect the sourceMULTI-AGENT COORDINATION
Embed policy checks, peer validation, and replayable governance evidence into multi-agent workflows. Build on your existing agent stack with constitutional-swarm.
For teams evaluating governed coding, review, and multi-agent handoffs.
WHERE IT FITS
Use this when multiple agents need declared task dependencies, assigned validators, and evidence of how a shared decision was reached.
Define task dependencies and the agents available to claim them.
Assign validators and collect their signed votes through the mesh.
Use the configured quorum and retain settlement records in your selected store.
INSIDE THE PRODUCT
Follow each behavior to its implementation or maintained documentation.
AgentDNA provides default, rule-based, and YAML configuration, plus validation and a decorator for governed calls.
Inspect the sourceThe public API exposes task DAG compilation, task availability, claims, results, and governed commit operations.
Inspect the sourceThe mesh supports local and remote peer registration, assigned validators, signed votes, and quorum settlement.
Inspect the sourceOptional JSONL and SQLite settlement stores keep governance evidence. The receipt-verification CLI is part of the declared package interface.
Inspect the sourceLOCAL EVALUATION
The example uses the inspected AgentDNA 1.1.0 source API. Follow the repository setup before running it: PyPI currently hosts constitutional-swarm 0.1.1 (April 2026, prior to the 0.2.0 signer/agent API split), while 1.1.0 is in the GitHub repository.
Use Python 3.11+ and the repository instructions. The package depends on acgs-lite; review the AGPL license for your use.
Start with AgentDNA.default and a proposed action. Check the result and constitution hash.
Introduce task ownership and peer validation. Configure settlement persistence and retain signing keys before relying on evidence across restarts.
from constitutional_swarm import AgentDNA
agent = AgentDNA.default(agent_id="reviewer")
result = agent.validate("Summarize the meeting notes")
print(result.valid)
print(result.constitutional_hash)One local validation call. The mesh, transport, and task executor are separate integration steps.
Copy the example or select the code manually.
DESIGN AROUND THE BOUNDARY
The integration and operating conditions are part of the product decision.
The inspected product is an embeddable Python runtime. This page makes no hosted dashboard, managed transport, or production service claim.
The mesh has no settlement storage configured by default; persistent settlement on current main requires quorum >= 3, distinct assigner/voter/producer/settlement-signer roles, and TLS off loopback. APCC atomic commits default to a SQLite authority store (with an optional PostgreSQL 17 extra).
No. The README separates core APIs from advanced optional integrations and research modules. LangGraph, Bittensor, and transport are optional; evaluate the surface you intend to use.
Default Python tests, type checks, and packaging passed at the inspected commit. Overall CI failed on a PostgreSQL outbox contention test timeout. Historic benchmark figures are not current product promises.
SOURCE, RELEASE, AND CHECKS
1.1.0 is inspected source metadata. Current package publication was not independently verified. The project separates its core API, advanced integrations, and research modules.
Reviewed 2026-09-08. Source version and published release are tracked separately.
Default Python 3.11/3.12 tests, type checks, and package checks passed. Overall CI failed when one PostgreSQL authority-store outbox test timed out.
Read the workflow evidenceFROM READING TO EVALUATION
Follow one example. Inspect the result. Decide whether it fits your workflow.