agentle.agents.a2a.a2a_interfaceΒΆ

A2A Interface

The Agent-to-Agent Interface that allows one agent to interact with another by sending it tasks or subscribing to it.

Functions

cast(typ, val)

Cast a value to a type.

Classes

A2AInterface(agent, *[, task_manager, options])

Agent-to-Agent Interface

A2AInterfaceOptions(*, max_concurrent_tasks, ...)

Any(*args, **kwargs)

Special type indicating an unconstrained type.

Coroutine()

PushNotificationResource(*, agent)

Resource for configuring and managing push notifications.

Task(*[, id, history, artifacts, metadata])

Represents a unit of work in the A2A protocol.

TaskGetResult(*[, id, error])

Result of a task query in the A2A protocol.

TaskManager()

Abstract base class for task management in the A2A protocol.

TaskQueryParams(*, id[, historyLength, metadata])

Parameters for querying a task in the A2A protocol.

TaskResource(*, agent, manager)

Provides methods for interacting with tasks in the A2A protocol.

TaskSendParams(*[, id, sessionId, ...])

Parameters for sending a task to an agent in the A2A protocol.

TasksWrapper(task_manager, agent)

Wrapper for task operations with thread-safe async/sync conversion.