Skip to main content

agnara-a2a

agnara-a2a is the Agent-to-Agent (A2A) adapter for Agnara. The published agnara-a2a==1.0.3 wheel is still an empty namespace. This checkout adds an unreleased, provisional surface that serves the ADR 0098 complete-result profile; ADR 0099 records its names, signatures and dependency pin.

The profile is deliberately narrow: one capability per surface, JSON-RPC 2.0 at A2A revision 1.0, one immediate Message per SendMessage, and no tasks, streaming, push notifications, extended or signed cards. It is not a support claim. The runnable guide links official-client, installed candidate-wheel and bounded Uvicorn/h11 loopback tests in the existing cross-platform CI matrix. Its optional application-owned disconnect recipe adds cooperative cancellation without changing adapter defaults or exports. Those fixtures do not certify a deployment or promote host support/stability.

The adapter depends on the exact agnara kernel and on a2a-sdk[http-server]==1.3.0. It does not depend on sibling adapters.

from agnara_a2a import A2a, A2aAgentCard, build_a2a_app

a2a = A2a(app)
a2a.skill(add, id="add", name="Add", description="Adds two integers", tags=("math",))

asgi = build_a2a_app(
    a2a.compile(),
    plans,
    container,
    card=A2aAgentCard(name="Calculator", description="Adds numbers", version="2026.10"),
    url="https://agents.example/calculator/",
    principals=resolve_principal,  # authenticated ASGI scope -> Principal | None
    challenge='Bearer realm="agents.example"',
)

principals is required: the host authenticates the caller, and returning None refuses the request with 401 before its body is parsed. The host mounts the application at url, owns the DI container and closes it after the application's lifespan.

Every export is provisional: it may change in a minor release after a reviewed decision. See the public API policy and maturity matrix.

Metadata

Release files for agnara-a2a 1.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 agnara-a2a 1.0.4
File Size Uploaded Provenance Actions
agnara_a2a-1.0.4.tar.gz 15.3 kB With provenance Details for agnara_a2a-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agnara-a2a 1.0.4
File Interpreter ABI Platform Actions
agnara_a2a-1.0.4-py3-none-any.whl Python 3 none any Details for agnara_a2a-1.0.4-py3-none-any.whl

Total release size: 32.7 kB

Release files / agnara_a2a-1.0.4.tar.gz

Download URL agnara_a2a-1.0.4.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
27f422ef14aefdec9d0ecc81ed742bdf5df8c14055f3fe003ccbd551a0134377
BLAKE2b-256 checksum
How to use checksums
bc087fc9080353b5e91cbde50b43673294ecd497d69fa5fdf8175e8a713f1936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / agnara_a2a-1.0.4-py3-none-any.whl

Download URL agnara_a2a-1.0.4-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7512a24d1ed52f8b63075c2f78d835b398315966df681485e9d1ff4efa024e81
BLAKE2b-256 checksum
How to use checksums
90adab74d45cfa178017ab39db2fe34d7bc7b804101609cf1013154735d8db13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for agnara-a2a 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agnara_a2a-1.0.4.tar.gz

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 Nov 10, 2026.

Transparency log

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