Skip to main content

a2a-types

A2A-compatible message types exposed as Pydantic models.

Installation

uv add a2a-types

Usage

from a2a_types.types import AgentCard

card = AgentCard(
    name="My Agent",
    description="This is my agent.",
    url="https://example.com/api",
    provider=AgentProvider(organization="My Organization"),
    version="1.0.0",
    documentationUrl="https://example.com/docs",
    capabilities=AgentCapabilities(streaming=True, pushNotifications=True, stateTransitionHistory=True),
    authentication=AgentAuthentication(schemes=["bearer"], credentials="secret"),
    defaultInputModes=["text"],
    defaultOutputModes=["text"],
    skills=[
        AgentSkill(id="my-skill", name="My Skill", description="This is my skill.", tags=["tag1", "tag2"], examples=["example1", "example2"], inputModes=["text", "code"], outputModes=["text", "code"]),
    ],
)

Metadata

Release files for a2a-types 0.1.0

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

Source distribution (sdist)

Source distribution for a2a-types 0.1.0
File Size Uploaded Provenance
a2a_types-0.1.0.tar.gz 12.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for a2a-types 0.1.0
File Interpreter ABI Platform
a2a_types-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / a2a_types-0.1.0.tar.gz

Download URL a2a_types-0.1.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f94097ed4425d9aacd55c508d77897937e14f56a89c974024abf9f31b280a355
BLAKE2b-256 checksum
How to use checksums
801e2fa0c5f12fc2e91e73fbe005b3cfbf80d3eb5a36c840cdf7fd7841baae79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.18

Release files / a2a_types-0.1.0-py3-none-any.whl

Download URL a2a_types-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37291afcf903cbf36e43112b7cf73d17db80fc8d410603b67ff3b7ff75bdde0d
BLAKE2b-256 checksum
How to use checksums
687f4764b079816e2d4d0727841945ebc96b251d6a8517e1895b601af46833c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.18

Security for a2a-types 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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