Skip to main content

Iron Book Extension (ironbook-a2a-extension)

Overview

This extension defines how to enable Iron Book's zero trust policy-based access control for agents.

Drop-In Implementation Sample with 2 Agents

https://github.com/identitymachines/a2a_ironbook

Extension URI

The URI of this extension is https://github.com/identitymachines/ironbook-a2a-extension/v1.

This is the only URI accepted for this extension.

Messages Metadata Fields

Messages from the client agent MUST include the following metadata fields:

  • Agent DID: https://github.com/identitymachines/ironbook-a2a-extension/v1/agent-did
  • Auth token: https://github.com/identitymachines/ironbook-a2a-extension/v1/auth-token
  • Context: https://github.com/identitymachines/ironbook-a2a-extension/v1/context

Process

If a client agent wishes to send a message to a server agent that enforces Iron Book policies, the client agent MUST:

  1. Activate the IronBook A2A extension.
  2. Use the Iron Book SDK or portal to register the agent.
  3. Use the Iron Book SDK to get an auth token.
  4. Include the Message metadata fields.

The server agent MUST:

  1. Validate that the Message metadata fields are provided.
    1. If fields are missing, it MUST return an error.
  2. Use the Iron Book SDK to submit a policy decision request.
    1. If allowed, the Message will be processed.
    2. If denied, it MUST return an error.

Extension Activation

Clients indicate their desire to receive traceability on response by specifying the Extension URI via the transport-defined extension activation mechanism. For JSON-RPC and HTTP transports, this is indicated via the X-A2A-Extensions HTTP header. For gRPC, this is indicated via the X-A2A-Extensions metadata value.

Metadata

Release files for ironbook-a2a-extension 0.0.4

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

Source distribution (sdist)

Source distribution for ironbook-a2a-extension 0.0.4
File Size Uploaded Provenance
ironbook_a2a_extension-0.0.4.tar.gz 6.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ironbook-a2a-extension 0.0.4
File Interpreter ABI Platform
ironbook_a2a_extension-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / ironbook_a2a_extension-0.0.4.tar.gz

Download URL ironbook_a2a_extension-0.0.4.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9df71e1749a9fea682ef9047d148fadb89c2db959444a9351b6e6d0ed4f67cb5
BLAKE2b-256 checksum
How to use checksums
849a9e5e4b7d5fc99967a8551f13281349f4347ce4a9ddab82194e7f58997954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / ironbook_a2a_extension-0.0.4-py3-none-any.whl

Download URL ironbook_a2a_extension-0.0.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98f06cebf58455280d677282024b123c04b7566380059b6834acf8edb53f89e5
BLAKE2b-256 checksum
How to use checksums
5d20a1624a9ae4d2cc552ffc7433e3fe62920e02ae5c1d11eecd2701fd5b7a02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for ironbook-a2a-extension 0.0.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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