Single Agent with Multiple Tools and a Human in the Loop

This pattern shows the Benefits Advisor as a central agent that helps employees understand and optimize their benefits. This agent coordinates specialized workers to provide personalized insights on medical, dental, and vision coverage.

  • The Benefits Advisor agent starts the interaction with a friendly introduction and asks for the employee's needs regarding benefits.
  • The Company Benefits Database tool retrieves information on the company’s benefits policies, eligibility, and plan details.
  • The Employee Enrollment Data tool uses the employee’s personal enrollment information to provide tailored advice, helping them understand and optimize their coverage.
  • The Benefits Optimizer tool analyzes the employee’s selections and offers personalized suggestions for improvement.
  • The Human-in-the-Loop flag determines whether a user must provide explicit approval before the agent retrieves sensitive data, such as salary or personal information.

Single agent with multiple tools and a human in the loop