Skip to main content

Agent-to-Agent (A2A) Protocol Python SDK

Project description

✅ FINAL COMPLIANCE VERDICT

A2A Core Concept Status
Tasks
Task lifecycle
Parts
Artifacts
Artifact streaming
Discovery
AgentCard
Webhooks / Push
Context
Security hooks
Conformance tests

5️⃣ FINAL COMPLIANCE VERDICT (NO AMBIGUITY)

A2A Discovery Requirement Status
Agent Card
Well-known discovery
Direct discovery
Secure discovery
Capability introspection
Registry discovery
Trust declaration
Selective disclosure support
Spec-level tests

🧠 Enterprise Coverage: Now Fully Completed

Enterprise Requirement SDK Status Covered by
Security & Trust security/ + trust declarations
Auth / Scopes security/ + enterprise/auth_helpers.py
RBAC enterprise/rbac.py
Audit enterprise/audit.py
Policy Enforcement enterprise/policy_engine.py
HITL support enterprise/hitl.py
mTLS enforcement enterprise/auth_helpers.py
Message governance Governance in schema

✅ Final Compliance Checklist (Life of a Task)

Spec Requirement Covered Notes
Stateless message responses Done
Stateful task initiation Done
Task lifecycle updates Done
Context grouping (contextId) Done
Immutable tasks Done
Parallel follow-ups Done
Artifact linkage Done
Reference task refinements ⚠ Partial Needs reference_task_ids
Task event models ⚠ Partial Needs explicit event types

🧠 SPEC COMPLIANCE CHECKLIST (Extensions)

Extension Feature Implemented? Location
Declare extensions in AgentCard schema/agent_card.py
Extension model (uri, params, required) extensions/models.py
Client negotiation helper extensions/negotiation.py
Transport support for headers transport/extension_headers.py
Server echo back activated extensions extensions/activation.py
Tests for extension behaviors tests_conformance/*.py
Input validation guidance extension params should be validated in extension code
Required extension enforcement ✔ (model field exists) enforcement logic TBD in server layer

✅ What This Validator Guarantees (Spec-Level)

Requirement Status
Valid URI enforcement
Required extension enforcement
Unsupported extension rejection
Dependency validation
Parameter schema enforcement
Duplicate detection
Safe for enterprise use
Framework-agnostic

🎯 Final Compliance Checklist — Streaming & Async

Spec Requirement Covered?
Async accept (202)
Correlation IDs
Polling API
Push webhooks ⚠ via enterprise module
Streaming parts (structured)
SSE streaming
WebSocket streaming
Backpressure / generator
Completion semantic
Error handling in streams ⚠ basic

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

a2a_python_sdk-0.1.6.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2a_python_sdk-0.1.6-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

Details for the file a2a_python_sdk-0.1.6.tar.gz.

File metadata

  • Download URL: a2a_python_sdk-0.1.6.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for a2a_python_sdk-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4b4091092ea7567ea9d64c12c13080e8a7ef3ea20a74c15758eb3b5f80f6fed1
MD5 bb7d37d14db66e1cf50a45cf25d933a5
BLAKE2b-256 6241283c6c281f9c7affd5255837a8842f95742d7029a4cc104b4d5adc40dc80

See more details on using hashes here.

File details

Details for the file a2a_python_sdk-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: a2a_python_sdk-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 56.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for a2a_python_sdk-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7c865bf406fdf994ab1f4d47a258ed142c848962bd78c3da5fb5d47a96dce3
MD5 e2fe7c94b6064239866c09cb11560a92
BLAKE2b-256 2057b497cad2d16496e12891d28af65fa90fe1b782a98cdda74328c2feeb929a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page