agentle.agents.a2a.tasks.managment.in_memory¶
A2A In-Memory Task Manager
This module provides an in-memory implementation of the TaskManager interface. The InMemoryTaskManager stores tasks in a simple in-memory dictionary, which makes it suitable for testing, development, and simple applications that don’t require persistent storage.
Functions
|
Cast a value to a type. |
|
|
|
Run a coroutine synchronously, creating an event loop if needed. |
Classes
|
The main class of the Agentle framework that represents an intelligent agent. |
|
A sequential pipeline of AI agents where the output of one agent becomes the input to the next. |
|
A dynamic team of AI agents managed by an orchestrator agent. |
|
Special type indicating an unconstrained type. |
|
Represents a message from an assistant in the system. |
|
Adapter for converting generation messages to A2A messages. |
|
In-memory implementation of the TaskManager interface. |
|
Represents error information in JSON-RPC responses. |
|
Represents a response in the JSON-RPC format. |
|
Represents a message exchanged between a user and an agent. |
|
Adapter for converting A2A messages to Generation messages. |
|
All the operations on a read-write sequence. |
|
Represents a unit of work in the A2A protocol. |
|
Result of a task query in the A2A protocol. |
|
Abstract base class for task management in the A2A protocol. |
|
Parameters for querying a task in the A2A protocol. |
|
Parameters for sending a task to an agent in the A2A protocol. |
|
Enum representing the possible states of a task in the A2A protocol. |
|
Type variable. |
|
Represents a message from a user in the system. |