Skip to main content

Module domain

Module domain 

Source
Expand description

Pure domain model: entities, value objects, and the task lifecycle FSM.

Nothing in this module performs IO. Every type is serde-serializable so that adapters can persist/transport them without re-declaring shapes.

Structs§

Agent
An addressable participant.
Conversation
A threaded exchange of messages, scoped to an engine conversation.
ConversationDump
A raw, engine-specific conversation export (pre-normalization).
EngineCapabilities
Static capabilities advertised by an engine adapter.
Mailbox
A per-recipient ordered collection of messages.
Message
An A2A-shaped message exchanged between agents.
RoutingDecision
A routing decision: which engine + which model the router chose for a task.
Session
A live (or recorded) engine process handle.
StructuredResult
The normalized outcome of an engine run.
Task
A unit of dispatchable work.
Team
A named set of agents collaborating on a goal.

Enums§

AgentRole
The role an agent plays in a team hierarchy.
MessageKind
The semantic kind of a Message, mirroring the A2A protocol shape.
Part
A single content part of a message (A2A parts).
TaskState
The lifecycle state of a Task.