Skip to main content
Vizra ADK is in maintenance mode. It continues to work and receives compatibility fixes, but no new features are planned. For evaluating AI agents — now built on the official Laravel AI SDK — check out Vizra Evals, its successor for the evaluation use-case. Coming from ADK? See the migration guide.

Overview

This example demonstrates how to build a customer support agent that can:
  • Look up customer orders by order ID or email
  • Check order status and shipping information
  • Process refund requests
  • Handle common customer inquiries

Agent Definition

Order Lookup Tool

Refund Processor Tool

Usage Example

Best Practices

Before sharing sensitive order information or processing refunds, ensure the customer has provided verifiable information like their order ID and associated email.
Customer support requires consistent, accurate responses. Use a lower temperature (0.3) to reduce creative variation in responses.
Include refund policies, response guidelines, and escalation procedures directly in the agent’s instructions.
Use the tracing system to log all order lookups and refund processing for audit purposes.

Next Steps

Add Memory

Enable conversation memory to maintain context across sessions

Add Evaluations

Write automated tests to ensure your agent handles edge cases