Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
Hierarchical teams and handoff filters
Run
from praisonai import Agent, handoff billing = Agent(name='Billing', instructions='Answer refund questions in one sentence.') triage = Agent( name='Triage', instructions='Hand off billing questions to Billing.', handoffs=[handoff(billing, detect_cycles=True, max_depth=3)], ) print(triage.start('How long do refunds take?'))
Press Run. The result appears here.
Esc
Search in
All
Docs
University