agentle.agents.asgi.blacksheep.agent_to_blacksheep_route_handler_adapterΒΆ

Functions

Field()

!!! abstract "Usage Documentation"

cast(typ, val)

Cast a value to a type.

Classes

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

Agent-to-Agent Interface

Adapter()

Agent(*[, uid, name, description, url, ...])

The main class of the Agentle framework that represents an intelligent agent.

AgentRunOutput(*[, generation, ...])

Represents the complete result of an agent execution.

AgentToBlackSheepRouteHandlerAdapter()

Enhanced route handler adapter that creates BlackSheep controllers for Agents, Agent Teams, Agent Pipelines, and A2A interfaces.

Any(*args, **kwargs)

Special type indicating an unconstrained type.

AssistantMessage(*[, role])

Represents a message from an assistant in the system.

BaseModel()

Alias for pydantic.BaseModel.

DeveloperMessage(*[, role])

Represents a message from a developer in the system.

FilePart(*[, type])

Represents a file attachment part of a message.

Sequence()

All the operations on a read-only sequence.

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.

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

Parameters for querying a task in the A2A protocol.

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

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

TextPart(*[, type])

Represents a plain text part of a message.

Tool(*[, type, description])

A callable tool that can be used by AI models to perform specific functions.

UserMessage(*[, role])

Represents a message from a user in the system.