Agent Behavior Monitoring (ABM)
Monitoring agent behavior when interacting with customers in production
When you're ready to deploy your agent, you need to be able to monitor its actions. While development and testing help catch many issues, the unpredictable nature of user inputs and non-deterministic agent behavior means that regressions are inevitable in production.
Monitoring your agents helps you:
Key Areas to Monitor
Collect agent telemetry in 30 seconds
Click here to collect all of the following data from your agent fleets with our tracing.
Agent Behavior Metrics
Use CustomScorers and PromptScorers with Online Evals to track key agent behavior metrics in real-time, such as:
Goal completion: Is the agent successfully completing the task or is it causing customer irritation?
Task alignment: Is the agent following instructions, using tools appropriately, or responding in a way that's helpful and contextually aware?
Correctness: Is the agent producing correct, domain-specific outputs?
Tool Usage Tracking
Tool usage telemetry can help you:
Identify performance bottlenecks/Optimize resource allocation (e.g. which tools might be overloaded)
Spot unusual patterns in tool selection (ex: tools that are rarely/never called)
Error Detection and Analysis
Real-world interactions can lead to various types of errors:
API failures and rate limits
Network timeouts
Resource constraints
Learn More
To dive deeper into monitoring your agents, check out:
- Online Evals for real-time alerts and actions on your agent's specific behavior
- Rules to set up automated alerts based on eval results
- Tracing to get started with tracking your agent's interactions