Skip to content
stafordtitussPublic

About

AMEP: Agentic Mandate Evidence Protocol. Open specification for proving that AI agent actions stayed within delegated authority.

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

227 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMEP: Agentic Mandate Evidence Protocol. An agent's path lands inside the delegation, inside the mandate: preserved.

AMEP™ · Agentic Mandate Evidence Protocol

Signed evidence that an AI agent stayed within the authority it was given,
and a verdict anyone can re-run.

Project site · Verifier in your browser · Specification · IETF draft · Paper

DOI PyPI npm Limits published


Contents: The question · How it works · Quick start · Checked in the open · In this repository · Standards and interop · Limits · Help AMEP · Develop · Cite · License · Contact


I. The question: did the agent stay inside?

AI agents act for people through chains of delegation, tools and adapters. Identity tells you who acted, and authorization tells you what a token allowed. Neither shows that what actually happened stayed within what a person authorized.

AMEP defines signed records for each link of that chain, from a person's mandate to an independently observed effect, and one deterministic answer:

Three verdicts. Preserved: everything stayed inside what was allowed. Violated: it crossed a boundary, and the result names the rule and the party. Unresolved: a record is missing, and a gap is never read as permission.

Two verifiers given the same records and keys return the same verdict, byte for byte.

II. How it works: one signed chain The chain: mandate, delegation, invocation and effect, each signed by the party that made it, then a verdict any verifier can reach offline.
What each record says
Record Says Signed by
Mandate Which actions, on which resources, up to which effect class, until when The person or organization granting authority
Delegation The part handed on to an agent, never more than its parent (I1) The delegator
Invocation The call the agent made, and the authority it cites The agent's host
Effect receipt What was actually executed The executing party. For high-impact effects, not the agent's host (I10)
Verdict record The outcome of every call, naming the packet by digest Any verifier, as an in-toto attestation

Eleven invariants decide the verdict. They are listed, with every rule, in the specification.

III. Quick start: check a packet

In your browser, nothing to install: the verifier runs the full conformance suite and checks any packet you paste in, offline, in the page.

Install:

Use Package Install
Python 3.10+ amep-protocol pip install --pre amep-protocol
Node.js 20+ @stafordtituss/amep npm install @stafordtituss/amep
Any MCP client amep-mcp uvx amep-mcp
OpenAI Agents SDK, LangGraph amep-agents pip install --pre "amep-agents[openai-agents]" or [langgraph]

Check a packet:

amep-protocol verify packet.json --keys keys.json      # exit 0 preserved, 1 violated, 2 unresolved
amep-protocol keygen --kid issuer-1 --roles issuer,approver --out issuer-1
amep-protocol check-suite vectors/

Record an agent: five runnable guides cover LangGraph, the OpenAI Agents SDK, saving and checking evidence, keeping the observer key away from the agent, and publishing a signed verdict. CI runs every one: packages/agents/HOWTO.md.

IV. Checked in the open: checked by others
Who What Record
Brennan Zambo An independent verifier, zambo-amep-verify, written from the specification and vectors alone. Agrees on all 228 single-packet core vectors. #19
Takao Sato, VATE AMEP's evaluation of VATE's recovery cases, pinned to both projects and re-run by VATE's maintainer VATE reference/amep/
Agent Payments Protocol AMEP, AER-1 and APAF-1 run over the same pinned AP2 payments, joined row by row AP2 #402
Reviewers Reviews that found real bugs, from the IETF audit list, the OpenID AIIM list, Zealynx Security and others REVIEWS.md · CONTRIBUTORS.md · vectors/CREDITS.md
A model of the hold rules Every reachable state at three calls, checked against the verifier formal/

V. Standards: where AMEP fits

AMEP isn't an identity provider, a policy engine or a prompt-injection detector. It checks, afterwards, what those systems decided and what then happened, and composes with them:

With How Notes
IETF WIMSE (agent identity) Evidence for the Agent Compliance component of draft-ietf-wimse-aims interop/ietf/WIMSE-AIMS.md
IETF SCITT (RFC 9943) Verdicts as signed statements, beside action receipts interop/ietf/SCITT.md
in-toto Signed verdicts as an attestation predicate; completeness from Observed Effect records PREDICATE.md · OBSERVED-EFFECT.md
Agent Payments Protocol and x402 Mandates, checkout binding, settlement as observed effect interop/ap2/ · interop/x402/
OpenID AuthZEN, MCP Decisions and tool calls as evidence spec/bindings/
OpenTelemetry GenAI Joining traces to evidence by id and digest interop/otel-genai/
EU AI Act Article 12 Signed, re-checkable event records for auditors interop/eu-ai-act/
Agent Receipts Import profile over the cross-sdk-tests/ vectors; the Agent Receipts maintainers reviewed the profile's reading of their receipts interop/agent-receipts/ · #37 · agent-receipts/obsigna#1204
Related work

AMEP evaluates evidence after authority has been granted and exercised. Related work, mostly on granting and checking authority before an action:

  • Delegation Receipt Protocol (draft-nelson-agent-delegation-receipts, R. Nelson). A user-signed Authorization Object, anchored before the agent runs and checked before execution. A DRP receipt is a natural mandate input for AMEP.
  • Authenticated Delegation and Authorized AI Agents (arXiv:2501.09674, South et al., 2025). Scoped, verifiable delegation credentials for agents, extending OpenID Connect and OAuth 2.0.
  • Infrastructure for AI Agents (arXiv:2501.10114, Chan et al., TMLR 2025) and IDs for AI Systems (arXiv:2406.12137, Chan et al., 2024). Attribution and response infrastructure; AMEP's evidence is one form of it.
  • DIF Threat Model for Delegated Authority in AI-Mediated Systems (identity.foundation) and DIF Delegated Authority Evaluations (identity.foundation), Trusted AI Agents Working Group.
  • NIST NCCoE, Software and AI Agent Identity and Authorization (concept paper, 2026).
  • GNAP (RFC 9635). Delegated authorization negotiation across multiple parties.
  • AgentDojo (arXiv:2406.13352) and CaMeL (arXiv:2503.18813), Debenedetti, Tramèr et al. A successful prompt injection is an effect outside the user's mandate, which AMEP reports as violated.

VI. Help AMEP: scrutiny wanted

AMEP needs outside scrutiny more than anything else.

Five minutes: run the suite in the browser verifier, star the repository if it's useful, or open an issue with a case you think AMEP gets wrong. Every case that turns out to be right becomes a vector with your name on it.

Longer, and worth the most:

  1. Run it against your own system, publish the results (failures included), and open an implementation report.
  2. Write a port. A Go or Rust verifier written from the specification and vectors alone would be a further independent implementation. It will be listed and credited (#18).
  3. Review it in public: an independent technical review, or a comment on an IETF, W3C, DIF or OpenID Foundation list.
  4. Cite it where relevant: if your draft, paper or specification overlaps, an informative reference or a note on where the approaches differ is welcome.

Every review, implementation and citation is logged as written, critical ones included, in REVIEWS.md. EVALUATION.md says, for the current release, who checked what and against which version, and what hasn't been checked yet.


REFERENCE

Limits

What AMEP can't show is written down, and each limit is pinned by a vector or a test: LIMITS.md. The main ones:

  • A signer that lies consistently can't be caught; contradictions between signed records can.
  • An effect nobody recorded can't be seen, except where an observer below the agent covers it (Observed Effect).
  • Verifiers say what the evidence shows, not whether the authority itself was wise.

In this repository

Path Contents
spec/ The core specification, bindings (AuthZEN, MCP, agent hosts) and profiles (Biscuit, Macaroon, PASETO, UCAN, Verifiable Credentials)
vectors/ The conformance suite: positive and must-reject packets. Also on Hugging Face: stafordtituss/amep-conformance
schemas/ JSON Schemas, one per object, and CDDL
packages/python/ · packages/js/ The two reference verifiers, with SDK and command-line tool (written separately, by the same author)
packages/mcp/ The verifier and suites as MCP tools
packages/agents/ Evidence for every tool call in OpenAI Agents SDK and LangGraph agents
packages/conformance/ Runs the suites against any verifier, and imports other formats (AER-1, OpenID action receipts, Provared, Observed Effect) with a gap report
verifier/browser/ The offline browser verifier
interop/ Mappings and runs against other work. COVERAGE.md shows which parts of AMEP's question each format can settle
proposals/ Proposed changes: evaluation records, accountable owners, selective disclosure
ietf/ The Internet-Draft, in Markdown with rendered XML, text and HTML
formal/ A TLA+ model of the hold and single-use rules, with an explorer that checks it against the verifier

Develop

python3 -I verifier/python/amep_verifier.py                 # regenerate the vectors and check them
python3 -I verifier/python/amep_verifier.py --check vectors # check the vectors as committed
node verifier/typescript/amep_verifier.mjs vectors          # the JavaScript verifier on the same vectors
node verifier/browser/build.mjs && node verifier/browser/test_page.mjs
python3 tools/validate_schemas.py
python3 -I tools/validate_cddl.py                           # needs: gem install cddl
python3 -I tools/vector_index.py --check

CI runs all of these on every push and pull request, and fails if the committed vectors, schemas or browser page differ from what the generators produce.

Changing the specification: open an issue, then an AMEP-Proposal-N document in proposals/. Every normative change needs at least one positive and one must-reject vector. See CONTRIBUTING.md, RESEARCH.md for open problems, and CHANGELOG.md.

Cite

The Zenodo DOI always resolves to the latest version. GitHub's Cite this repository button, from CITATION.cff, gives the same entries.

BibTeX
@software{selvaraj2026amep,
  author    = {Selvaraj, Staford Titus},
  title     = {{AMEP}: Agentic Mandate Evidence Protocol},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24317758},
  url       = {https://github.com/stafordtituss/amep}
}

@techreport{selvaraj2026amepdraft,
  author      = {Selvaraj, Staford Titus},
  title       = {Continuity Evaluation of Agent Delegation Records},
  type        = {Internet-Draft},
  number      = {draft-stafordtituss-agentic-mandate-evidence-01},
  institution = {Internet Engineering Task Force},
  year        = {2026},
  month       = nov,
  url         = {https://datatracker.ietf.org/doc/draft-stafordtituss-agentic-mandate-evidence/}
}

@misc{selvaraj2026ameppaper,
  author = {Selvaraj, Staford Titus},
  title  = {{AMEP}: Verifiable Evidence That Agent Actions Stayed Within Delegated Authority},
  year   = {2026},
  note   = {Preprint},
  doi    = {10.20944/preprints202611.1865.v1}
}

License and trademarks

  • Specification text: Community Specification License 1.0 (LICENSE-SPEC.md), with Scope.md and Notices.md. Derivative works must credit the AMEP project and its original author. The license calls the project its "Working Group"; AMEP is an open-source project, not a standards-body working group.
  • Code, schemas and vectors: Apache License 2.0 (LICENSE-CODE). Redistributions must keep NOTICE.
  • Trademarks: "AMEP" and "AMEP Conformant" are trademarks of Staford Titus Selvaraj (TRADEMARKS.md). Forks are welcome under a different name.

Contact

About

AMEP: Agentic Mandate Evidence Protocol. Open specification for proving that AI agent actions stayed within delegated authority.

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages