content_team.py
Run Your Team
1
Set up your environment
2
Install Definable
3
Export your API key
4
Run
Constructor Reference
str
Human-readable team name. Auto-generated if not set.
str | Model
Model for the leader agent. Accepts string shorthand (
"gpt-4o") or a Model instance.List[Agent | Team]
Agents or nested teams the leader can delegate to.
TeamMode
default:"coordinate"
Execution mode:
coordinate, route, collaborate, or tasks.str
Instructions for the leader agent.
int
default:"10"
Maximum delegation rounds (relevant for
tasks mode).When
true, member responses are shared with subsequent delegations.List[Function]
Additional tools for the leader (on top of auto-injected delegation tools).
Type[BaseModel]
Pydantic model for structured output from the leader.
bool
default:"false"
Enable debug logging for team operations.