Skip to main content

Google A2A-compatible message types exposed as Pydantic models.

Project description

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"]),
    ],
)

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_types-0.1.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

a2a_types-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file a2a_types-0.1.0.tar.gz.

File metadata

  • Download URL: a2a_types-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for a2a_types-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f94097ed4425d9aacd55c508d77897937e14f56a89c974024abf9f31b280a355
MD5 4366b461ae013ebe4dae9855770ba79b
BLAKE2b-256 801e2fa0c5f12fc2e91e73fbe005b3cfbf80d3eb5a36c840cdf7fd7841baae79

See more details on using hashes here.

File details

Details for the file a2a_types-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: a2a_types-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for a2a_types-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37291afcf903cbf36e43112b7cf73d17db80fc8d410603b67ff3b7ff75bdde0d
MD5 5f439fcb2808f893c1b2c5689e2acfc2
BLAKE2b-256 687f4764b079816e2d4d0727841945ebc96b251d6a8517e1895b601af46833c7

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