Module forest

Module forest 

Source
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§

CreatePlanTool
A tool for the coordinator to create a task plan.
DelegateTaskTool
A tool that allows agents to delegate tasks to other agents.
ForestBuilder
Builder for creating a Forest of Agents with multiple agents.
ForestMessage
A message sent between agents in the forest.
ForestOfAgents
The main Forest of Agents structure that manages multiple agents.
SendMessageTool
A tool that allows agents to send messages to other agents.
ShareContextTool
A tool that allows agents to share information in the shared context.
SharedContext
Shared context that can be accessed by all agents in the forest.
TaskItem
A task in the collaborative plan.
TaskPlan
A collaborative task plan created by the coordinator.
UpdateTaskMemoryTool
A tool for updating task memory with results and findings.

Enums§

TaskStatus
Status of a task in the collaborative workflow.

Type Aliases§

AgentId
A unique identifier for an agent in the forest.