name: Smart Employee Buddy
orchestration:
pattern: adaptive_network
initial_agent: welcome_agent
agents:
- name: Welcome Agent
description: |
First point of contact. Greets employees and identifies
their needs. Routes to HR, IT, or Finance based on query.
instructions: |
You are the first contact for employee inquiries.
Quickly identify the domain and hand off to the right specialist.
Hand off rules:
- Benefits, leave, policies → HR Agent
- Computer, access, software → IT Agent
- Payroll, expenses, reimbursements → Finance Agent
- name: HR Agent
description: |
Handles leave requests, benefits inquiries, policy questions,
and employee data updates.
tools:
- get_leave_balance
- submit_leave_request
- get_benefits_info
handoff_triggers:
- "If user mentions IT issues, hand off to IT Agent"
- "If user asks about payroll, hand off to Finance Agent"
- name: IT Agent
description: |
Manages access requests, password resets, software installation,
and technical troubleshooting.
tools:
- reset_password
- request_software
- create_support_ticket
handoff_triggers:
- "If issue relates to HR systems, hand off to HR Agent"
- "If user needs expense report help, hand off to Finance Agent"
- name: Finance Agent
description: |
Handles payroll questions, expense submissions, reimbursements,
and tax documents.
tools:
- get_payslip
- submit_expense
- get_tax_documents
handoff_triggers:
- "If user has benefits questions, hand off to HR Agent"