Expand description
Forest of Agents - Multi-agent collaboration system.
§Forest of Agents Module
This module implements the “Forest of Agents” feature, which allows multiple agents to interact with each other, share context, and collaborate on tasks.
The ForestOfAgents struct manages a collection of agents and provides mechanisms for inter-agent communication and coordination.
Structs§
- Create
Plan Tool - A tool for the coordinator to create a task plan.
- Delegate
Task Tool - A tool that allows agents to delegate tasks to other agents.
- Forest
Builder - Builder for creating a Forest of Agents with multiple agents.
- Forest
Message - A message sent between agents in the forest.
- Forest
OfAgents - The main Forest of Agents structure that manages multiple agents.
- Send
Message Tool - A tool that allows agents to send messages to other agents.
- Share
Context Tool - A tool that allows agents to share information in the shared context.
- Shared
Context - Shared context that can be accessed by all agents in the forest.
- Task
Item - A task in the collaborative plan.
- Task
Plan - A collaborative task plan created by the coordinator.
- Update
Task Memory Tool - A tool for updating task memory with results and findings.
Enums§
- Task
Status - Status of a task in the collaborative workflow.
Type Aliases§
- AgentId
- A unique identifier for an agent in the forest.