---
updatedAt: 2026-07-17T01:30:34.000Z
agentTools:
  projectIndex: https://docs.getmontecarlo.com/llms.txt
---

# Agent Monitors

Monitor AI agents — metrics, evaluations, trajectory, and validation — with Monitors as Code.

Agent monitors observe AI agents — their spans, traces, and conversations. All four name an `agent` source the same way (see each page); they differ in what they alert on.

| YAML key           | Name                                             | What it monitors                                                                      |
| ------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------- |
| `agent_metric`     | [Agent Metric Monitor](https://docs.getmontecarlo.com/docs/agent-metric)         | Statistical metrics over agent spans (null rate, latency, …), ML or fixed thresholds. |
| `agent_evaluation` | [Agent Evaluation Monitor](https://docs.getmontecarlo.com/docs/agent-evaluation) | LLM-as-judge evaluation scores, with eval transforms and sampling.                    |
| `agent_trajectory` | [Agent Trajectory Monitor](https://docs.getmontecarlo.com/docs/agent-trajectory) | Span occurrence and relationship rules over an agent's trajectory.                    |
| `agent_validation` | [Agent Validation Monitor](https://docs.getmontecarlo.com/docs/agent-validation) | Row-level validation rules over agent spans.                                          |