Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
Hierarchical teams and handoff filters
Run
from praisonai import Agent, Task, AgentTeam researcher = Agent(name='Researcher', instructions='Find two crisp facts.') writer = Agent(name='Writer', instructions='Turn facts into one short sentence.') team = AgentTeam( agents=[researcher, writer], tasks=[ Task(description='Gather two facts about SQLite.', agent=researcher), Task(description='Summarize those facts for a beginner.', agent=writer), ], process='hierarchical', manager_model='gpt-4o-mini', ) print(team.start())
Press Run. The result appears here.
Esc
Search in
All
Docs
University