the short answer
Open Analyze → Alerts in Failproof AI and create an evaluation_score alert for one important evaluation, or an eval_compound alert when several results should fail together. Set the severity and delivery route, test the alert, and investigate the resulting incident under Analyze → Issues. Failproof can notify by email, Slack, webhook or the dashboard.
- Create
- Analyze → Alerts.
- Evaluation triggers
evaluation_scoreandeval_compound.- Other triggers
metric_threshold,custom_sqlandper_event.- Delivery
- Email, Slack, webhook or dashboard.
1. Start with an Evaluation You Trust
Create the evaluation before the alert. Use a code-based check for exact conditions such as a missing required action, a tool error or too many repeated calls. Use an LLM-based evaluation when the result depends on meaning, such as whether the agent completed the request or followed a customer policy. Failproof AI runs both in the cloud and can also run your existing evaluation suite.
Test the evaluation against real sessions, inspect both passing and failing results, and deploy a stable version. An alert amplifies whatever the evaluation says. A vague criterion or an untested threshold creates noisy incidents faster than it creates useful evidence.
fp evals --since 1h --score tool_reliability:0..1
fp evals --since 24h --aggregate
fp evals --agent-id checkout-agent --aggregate
fp --json evals --aggregate --env production2. Choose the Alert Trigger
| Trigger | Use it for |
|---|---|
evaluation_score | One evaluation score crossing the condition you set. |
eval_compound | Several evaluation conditions that should be considered together. |
metric_threshold | An operational metric crossing a threshold over a window. |
custom_sql | A saved query that returns the sessions or events matching a failure pattern. |
per_event | A condition checked as matching events arrive. |
Use evaluation_score when one result has a clear operational meaning. Choose eval_compound when a second evaluation makes the incident more specific and reduces false alarms. Use custom_sql when the failure depends on a cohort or sequence of events that a single evaluation does not express.
3. Create and Route the Alert
Open Analyze → Alerts
Create a name that identifies the agent and behavior so responders know what failed before opening the incident.
Set the condition and severity
Choose the trigger kind and make the severity match the consequence. Reserve urgent delivery for failures that affect customers, security or irreversible actions.
Choose the destination
Deliver the alert by email, Slack, webhook or the dashboard. Route it to the team that owns the affected agent.
Test before enabling it
Confirm that the destination receives the test and that the responder can reach the resulting incident and evidence.
The Cloud CLI also manages alerts. The documented example below creates an error-count threshold. Configure evaluation-score and compound conditions in Analyze → Alerts instead of guessing an undocumented trigger-spec shape.
fp alerts create high-errors --trigger-kind metric_threshold --severity warning --trigger-spec '{"metric":"error_count","op":">","value":50,"window_secs":900}'
fp alerts test high-errors
fp alerts list4. Keep the Alert Useful
- Scope it to one agent and environment. Production and staging should not share an incident stream, and unrelated agents should not be averaged together.
- Alert on failures that have an owner. Every firing should lead to a defined investigation or product change.
- Use compound conditions when one score is ambiguous. Two relevant evaluations can describe the failure more precisely than one broad score.
- Separate evaluation errors from low scores. A failed model call or malformed result is an evaluation problem, not proof that the agent failed.
- Test every routing change. A correct trigger still fails operationally if the webhook, email or Slack destination is wrong.
- Revise alerts that produce no action. Lower the severity, narrow the condition or mute the recurring pattern rather than training the team to ignore it.
5. Investigate the Incident
A firing alert creates an incident under Analyze → Issues. Start with the affected evaluation results and open the linked sessions. The trace shows the model requests, tool calls, tool results and final outcome behind the score, so the owner can see whether the failure began in the prompt, model, tool, data or workflow.
Failproof audits can analyze failed evaluations with the trace evidence around them, group related behavior into findings and recommend what to change. This turns a stream of similar alerts into one recurring failure mode with affected sessions, severity and an owner.
fp issues list
fp issues assign <issue-id> --assignee engineer@example.com
fp issues resolve <issue-id> --yes6. Fix the Failure and Verify Recovery
Use the finding and trace evidence to change the prompt, tool, model, data or workflow. Keep the evaluation and alert enabled after deployment. Recovery means new sessions pass and the incident stops recurring, not merely that the first issue was closed.
When the failure is a recognizable high-risk action in a supported harness, Failproof AI can draft a behavioral policy from the issue. Backtest it against historical calls and deploy it in observe mode before enforcement. Keep the evaluation running to confirm that the agent completes the task safely instead of repeatedly colliding with the policy.
Failproof AI already provides evaluation execution, result history, alert triggers, email and Slack delivery, webhooks, dashboard incidents, assignment, trace evidence and recurring-failure analysis. Your team chooses the behavior worth monitoring, owns the product fix and decides whether a high-risk action needs a runtime policy. You do not need to build and maintain a separate alerting pipeline around the agent.
FAQ
What threshold should I use for an eval score alert?
Start with the lowest score the product can tolerate for that behavior, then test the alert against recent Failproof AI results. If one score is noisy, use an eval_compound condition or a saved-query alert that adds corroborating evidence.
How do I avoid alert fatigue in Failproof AI?
Scope alerts to one agent and environment, use compound conditions when one evaluation is noisy, reserve urgent delivery for failures requiring immediate action, assign every incident, and revise alerts that repeatedly fire without producing a change.
Which Failproof AI alert trigger should I use?
Use evaluation_score for one evaluation, eval_compound for combined evaluation conditions, metric_threshold for an operational metric, custom_sql for a saved query and per_event for an event-level condition.
Where do Failproof AI alerts go?
Failproof AI can deliver alerts by email, Slack, webhook or the dashboard. Incidents appear under Analyze → Issues, where the team can assign, investigate and resolve them.
Get Started
Failproof AI is free to start. It finds recurring failure modes across agent sessions using code-based and LLM-based evaluations, groups the evidence into findings, and recommends fixes. Bring the eval suite you already have, alert the right owner when behavior drifts, and turn a tested fix into a policy that prevents the failure from recurring. See pricing for the tiers.
Sources
Products change; if a detail here is out of date, tell us at support@befailproof.ai.
- Failproof AI docs: Alerts
- Failproof AI docs: Evaluations
- Failproof AI docs: Findings and issues
- Failproof AI docs: Cloud CLI