Expand description
Multi-agent orchestration: agent pool, role definitions, and message bus.
Structs§
- Agent
Message - A message exchanged between agents via the message bus.
- Agent
Pool - An agent pool manages multiple agents with different roles.
- Agent
Role - Definition of an agent role.
- Memory
Entry - A single entry in the shared memory store.
- Message
Bus - An inter-agent message bus supporting publish/subscribe and history.
- Shared
Memory - Shared memory store for multi-agent coordination.
- Worker
Manifest Entry - Definition of a single worker entry within the agent manifest.
Enums§
- Agent
Mode - Execution mode for the unified
agentdelegation tool. - Message
Type - Message type for inter-agent communication.
Constants§
- MESSAGE_
BUS_ CAPACITY - Maximum messages retained in
MessageBus.messageshistory. 1000 messages × ~200 bytes/msg ≈ 200 KiB — bounded for long-running pools while still giving plenty of recent context for the goal-judge and history inspection.
Functions§
- coordinator_
system_ prompt - Return the system prompt that enables a coordinator agent to autonomously design a specialist team and orchestrate their work.
- default_
roles - Default role set for common multi-agent patterns.
- register_
subagent_ if_ enabled - Register the unified
Agent(sub-agent / team coordination) tool — plus the coordinator-side coordination tools (send_message,list_workers,task_create/task_get/task_list/task_output/task_stop/task_update) — ontoolswhenconfig.subagent_enabledis true.
Type Aliases§
- Agent
Manifest - Maps worker IDs to their role definitions. Required by the
agenttool.