Skip to main content

Module types

Module types 

Source

Structs§

Artifact
A resource generated by an agent during a task.
AuthenticationInfo
Authentication details for a push notification endpoint.
CancelTaskRequest
Request to cancel a task.
CreateTaskPushNotificationConfigRequest
Request to create a push config for a task.
DeleteTaskPushNotificationConfigRequest
Request to delete a push config.
GetExtendedAgentCardRequest
Request to get an extended (authenticated) agent card.
GetTaskPushNotificationConfigRequest
Request to get a specific push config.
GetTaskRequest
Request to get a task by ID.
ListTaskPushNotificationConfigsRequest
Request to list push configs for a task.
ListTaskPushNotificationConfigsResponse
Response for listing push configs.
ListTasksRequest
Request to list tasks.
ListTasksResponse
Response for listing tasks.
Message
A single message in a conversation between user and agent.
Part
A content part of a message or artifact. Uses field-presence serialization (like C# SDK) so only the relevant content field is present in JSON.
PushNotificationConfig
Push notification configuration.
SendMessageConfiguration
Configuration for SendMessage / SendStreamingMessage.
SendMessageRequest
Request to send a message to an agent.
SubscribeToTaskRequest
Request to subscribe to task updates.
Task
A single stateful operation or conversation between client and agent.
TaskPushNotificationConfig
Container associating push config with a task.
TaskStatus
The status of a task at a specific point in time.

Enums§

PartContent
The content of a part — a discriminated union.
Role
Identifies the sender of a message.
SendMessageResponse
Response from SendMessage — either a Task or a Message.
TaskState
The lifecycle state of a task.

Constants§

TRANSPORT_PROTOCOL_GRPC
gRPC transport protocol constant.
TRANSPORT_PROTOCOL_HTTP_JSON
HTTP+JSON (REST) transport protocol constant.
TRANSPORT_PROTOCOL_JSONRPC
JSON-RPC transport protocol constant.
TRANSPORT_PROTOCOL_SLIMRPC
SLIMRPC transport protocol constant.

Functions§

new_artifact_id
Generate a new random artifact ID (UUIDv7).
new_context_id
Generate a new random context ID (UUIDv7).
new_message_id
Generate a new random message ID (UUIDv7).
new_task_id
Generate a new random task ID (UUIDv7).

Type Aliases§

ArtifactId
Unique identifier for an artifact within a task.
ProtocolVersion
Protocol version string (e.g., “1.0”).
TaskId
Unique identifier for a task, generated by the server.
TransportProtocol
Transport protocol identifier. Open-form string to allow custom protocols.