Skip to main content

Agent Governance Protocol (AGP)

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.

120-Second Demo

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.

Read the demo documentation

Whitepaper

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.

Why AGP?

  • MCP connects models to tools and data.
  • A2A-style protocols let agents communicate.
  • Workflow engines coordinate execution.
  • AGP governs collective decisions.

A workflow can record that a deployment was approved. AGP additionally aims to make the authority snapshot, evidence, ballots, resolution and history independently verifiable.

Core properties

  • deterministic resolution;
  • canonical serialization;
  • independent Python and Go implementations;
  • Ed25519 signed envelopes;
  • replay, expiration and revocation checks;
  • append-only transparency log;
  • external audit receipts;
  • conformance and adversarial test vectors.

Architecture

flowchart LR
    P[Proposal] --> E[Evidence]
    E --> B[Signed ballots]
    B --> R[Deterministic resolution]
    R --> L[Transparency log]
    L --> A[Independent audit]

AGP vs. a conventional workflow

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.

Reproducible results

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.

Quick start

Requirements:

  • Python 3.10+
  • Go 1.22+
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

Repository map

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

What AGP does not claim

AGP does not:

  • replace authentication, authorization or IAM;
  • replace orchestration engines;
  • guarantee that evidence is factually true;
  • eliminate compromised members;
  • solve governance for every multi-agent system;
  • claim production maturity.

Current research question

Do high-impact multi-agent systems need a portable, independently verifiable governance layer distinct from communication and orchestration?

Documentation

License

Apache License 2.0. See LICENSE.

Release files for agp-tpe 2.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agp-tpe 2.3.3
File Size Uploaded
agp_tpe-2.3.3.tar.gz 33.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agp-tpe 2.3.3
File Interpreter ABI Platform
agp_tpe-2.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 96.8 kB

Release files / agp_tpe-2.3.3.tar.gz

Download URL agp_tpe-2.3.3.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3a9bad4c5196097c2361564ebb9480ceee34b9b2f3f29b7d08f88dcd0c6cf0ba
BLAKE2b-256 checksum
How to use checksums
f0f7442fdf73360a9a1feb647bfc1474732a9f7ecc58dba874b09c82fb1dfe07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.

Transparency log

Release files / agp_tpe-2.3.3-py3-none-any.whl

Download URL agp_tpe-2.3.3-py3-none-any.whl
Size 63.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0e96986a1860b02f472341ae748f275cef9fcd1b73dba8a6f10c56a88851f2e
BLAKE2b-256 checksum
How to use checksums
cedf07bfcecb131841e89ed4fc77ce54ec5b4420e6556b653fbc1e5f36be0abe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.

Transparency log

Release history Release notifications | RSS feed

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.4

2 release files

This release

2.3.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page