Python A2A extension for Iron Book by Identity Machines
Project description
Iron Book Extension (ironbook-a2a-extension)
Overview
This extension defines how to enable Iron Book's zero trust policy-based access control for agents.
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 - Action:
https://github.com/identitymachines/ironbook-a2a-extension/v1/action - Resource:
https://github.com/identitymachines/ironbook-a2a-extension/v1/resource - 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:
- Activate the IronBook A2A extension.
- Use the Iron Book SDK or portal to register the agent.
- Use the Iron Book SDK to get an auth token.
- Include the Message metadata fields.
The server agent MUST:
- Validate that the Message metadata fields are provided.
- If fields are missing, it MUST return an error.
- Use the Iron Book SDK to submit a policy decision request.
- If allowed, the Message will be processed.
- 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ironbook_a2a_extension-0.0.3.tar.gz.
File metadata
- Download URL: ironbook_a2a_extension-0.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98367b104719e05eecb6fc57a43565bd52a14924595951ec8e1306cfd668fd4f
|
|
| MD5 |
29f8cc63e0c3700f5e801ad66d8506ab
|
|
| BLAKE2b-256 |
de447690dd86f4b6c0f5349a90dcf4e7157dbbf4221740717fe5112a97060580
|
File details
Details for the file ironbook_a2a_extension-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ironbook_a2a_extension-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7ae9accea686e63d666b7979d219e69d7d79fe5ab552e8bd22113cd4e6b5e01
|
|
| MD5 |
9dd342317b01cdec5b2a91abf8586268
|
|
| BLAKE2b-256 |
89dd82641b9f2e9dac097c5b2364f8ef35f0585ee444316d171a636ec8699cf9
|