Observed since 21 Oct, 09:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AGP Trust Primitive Engine for deterministic Trust Policy 2 evaluation
AGP is an experimental governance layer for multi-agent systems.
It defines how independent agents or authorities can propose, review, approve, reject, veto and audit high-impact decisions without trusting a single coordinator as the sole source of truth.
Status: experimental. AGP is not yet a production standard.
Run the public AGP demo with no external dependencies:
python3 examples/120_second_demo/demo.py
Fast mode:
python3 examples/120_second_demo/demo.py --fast
Valid governance path:
python3 examples/120_second_demo/demo.py --happy-path --fast
The demo shows a coordinator changing a deployment payload after approval. A coordinator-trusting workflow accepts it because the approval count is still present. AGP rejects it because the approvals are bound to the exact approved input.
The current public review draft is:
AGP Whitepaper v0.9.2 — A Deterministic Governance Layer for Multi-Agent Systems
The whitepaper is experimental, is not a production standard, and has not yet received independent security review.
A workflow can record that a deployment was approved. AGP additionally aims to make the authority snapshot, evidence, ballots, resolution and history independently verifiable.
flowchart LR
P[Proposal] --> E[Evidence]
E --> B[Signed ballots]
B --> R[Deterministic resolution]
R --> L[Transparency log]
L --> A[Independent audit]
| Property | Workflow | AGP |
|---|---|---|
| Coordinates steps | Yes | Yes |
| Deterministic replay across implementations | Not inherent | Yes |
| Signed authority actions | Optional/custom | Built into profile |
| Evidence version validation | Optional/custom | Yes |
| Revocation-aware decisions | Optional/custom | Yes |
| Tamper-evident history | Optional/custom | Yes |
| Independent audit without trusting coordinator | Not inherent | Yes |
AGP is intentionally more complex. For low-risk internal automation, a conventional workflow is usually the better choice.
AGP v0.3 Conformance: 260/260 passed
AGP v0.4 Signed Conformance: 10/10 passed
AGP v0.5 Transparency: 8/8 passed
AGP vs Workflow benchmark: 8/8 attacks detected by AGP
The workflow baseline in the benchmark detected 0/8 because it treated coordinator state as authoritative. This is a limited experimental benchmark, not a claim that all workflow engines are insecure.
The AGP Trust Primitive Engine 2.6 is published on PyPI as agp-tpe.
Requirements:
Install it without cloning this repository:
python -m pip install agp-tpe
Verify the installed distribution and packaged schemas:
python - <<'PY'
from importlib.metadata import version
from trust_primitive_engine import DEFAULT_SCHEMA_DIR
print("agp-tpe", version("agp-tpe"))
print("schemas:", DEFAULT_SCHEMA_DIR)
assert DEFAULT_SCHEMA_DIR.is_dir()
PY
Use the stable public facade:
from trust_primitive_engine import (
TrustPolicyEvaluationError,
evaluate_trust_policy,
)
try:
result = evaluate_trust_policy(
signed_context=signed_context,
policy=policy,
keyring=keyring,
policy_set=policy_set,
)
except TrustPolicyEvaluationError as exc:
print(exc.code, exc.detail)
else:
print(result["status"])
A real evaluation requires an AGP signed Decision Context, a Trust Policy, and the corresponding verification keyring. See the Trust Primitive Engine integration guide for the complete input contract, policy references, failure handling, and command-line examples.
TPE 2.6 remains experimental and has not received an independent security audit.
Requirements:
git clone https://github.com/agpprotocol/agp.git
cd agp
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-v0.4.txt
python3 run_benchmark_all.py
Expected final line:
AGP BENCHMARK COMPLETE
spec/ Conformance profile
python/ Python resolver
go/ Go resolver
signed/ Signed envelope conformance
transparency/ Append-only audit log
benchmark/ AGP vs workflow experiment
examples/ Reference scenarios
docs/ Architecture, threat model and evaluation
AGP does not:
Do high-impact multi-agent systems need a portable, independently verifiable governance layer distinct from communication and orchestration?
Apache License 2.0. See LICENSE.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.6.0 | 1 Aug 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:22 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:02ab81f88e28e24fef745dae62e738c38f7f7e477ee89ef6a0b3afd0b8030e4a