Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
AgentTeamBuilder
Defined in the workflows module.
Rust AI Agent SDK
Builder for AgentTeam
Fields
| Name | Type | Description |
|---|
agents | Vec<Arc<Agent>> | - |
process | Process | - |
verbose | bool | - |
Methods
new
Create a new builder
agent
fn agent(mut self, agent: Agent) -> Self
Add an agent
Parameters:
agent_arc
fn agent_arc(mut self, agent: Arc<Agent>) -> Self
Add an agent (Arc version)
Parameters:
| Name | Type |
|---|
agent | Arc<Agent> |
process
fn process(mut self, process: Process) -> Self
Set the process type
Parameters:
verbose
fn verbose(mut self, enabled: bool) -> Self
Enable verbose output
Parameters:
build
fn build(self) -> AgentTeam
Build the team
Source
View on GitHub
praisonai/src/workflows/mod.rs at line 254