Skip to content

contextpassport/spec

Context Passport

The envelope format for AI agent events.

Version 1.0 · Draft · Spec: CC0 1.0 · Reference implementations: Apache-2.0


Context Passport is a minimal JSON schema for structured, verifiable records of AI agent events — decisions, handoffs, checkpoints, forks, audits, and consent. Model-agnostic. Framework-agnostic. Cryptographically verifiable.

The goal: become the standard envelope format for AI agent events — a record any agent can produce and any party can verify, with built-in integrity guarantees that do not require trusting any central authority.

Quick look

{
  "$schema": "https://contextpassport.com/schema/v1.json",
  "schema_version": "1.0",
  "id": "ctx_1774358291224_bad9b976",
  "parent_id": "ctx_previous_or_null",
  "created_by": {
    "agent_id": "agent-researcher-01",
    "agent_name": "Research Agent",
    "role": "researcher",
    "provider": "anthropic",
    "model": "claude-opus-4-6"
  },
  "event": { "type": "commit", "to_agent_id": "agent-writer-01", "timestamp": "2026-03-29T10:00:00Z" },
  "payload": {
    "input":  "Analyze Q1 earnings",
    "output": { "summary": "APAC up 34%", "confidence": 0.94 }
  },
  "integrity": {
    "payload_hash":        "sha256:e7733904...",
    "parent_hash":         "sha256:f4a2b1c3...",
    "integrity_hash":      "sha256:8a1c9d22...",
    "verification_status": "valid"
  },
  "created_at": "2026-03-29T10:00:00Z"
}

Contents

Implementations

Open-source reference implementations are maintained under the contextpassport GitHub organization:

Third-party implementations are listed in IMPLEMENTATIONS.md. Building an implementation? Open a PR to add yours.

Status

Draft v1.0. The schema is stable enough to build against. We are collecting feedback before advancing to v1.0 final.

Feedback welcome via GitHub Issues.

Get involved

Context Passport is a community-governed open standard. We are actively looking for additional contributors and maintainers.

  • Open an issue or a PR. Editorial fixes, new examples, RFC proposals, extensions — all welcome. See CONTRIBUTING.md.
  • Become a maintainer. A standard with one maintainer is, in practice, a vendor schema. Becoming a maintainer is documented in CONTRIBUTING.md §5. We are explicitly looking for maintainers from underrepresented language ecosystems, regulated industries, and non-US/EU regulatory contexts.
  • Build a reference implementation. A new language port (Rust, Go, Java, Ruby) or framework integration (LangChain, LlamaIndex, CrewAI) is one of the most impactful contributions possible right now. See the contextpassport organization.
  • Discuss. General questions: GitHub Discussions. Direct contact: maintainers@contextpassport.com.

Governance and decision-making are documented in GOVERNANCE.md. Code of conduct in CODE_OF_CONDUCT.md. Security reports to security@contextpassport.com (SECURITY.md).

License

The specification (SPEC.md, schema/, README.md content) is released under CC0 1.0 Universal — no rights reserved, public domain. Implement it, fork it, extend it. No attribution required.

The reference implementations (server.js, test.js, language-specific SDKs) are released under Apache-2.0 — includes an explicit patent grant.

See LICENSE (CC0) and LICENSE-APACHE (Apache-2.0).

About

Open standard for AI agent context handoffs

Topics

Resources

License

CC0-1.0, Apache-2.0 licenses found

Licenses found

CC0-1.0
LICENSE
Apache-2.0
LICENSE-APACHE

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors