
Two-step pipeline
Detection runs in two stages so you pay deep-analysis costs only on real problems: Step 1 — LLM-as-a-judge. An evaluator model reads the sampled traces that match the detector’s trigger conditions. The judge returns a boolean: is the problem you defined present in this trace? Step 2 — AI agent run. When you run the analysis from a signal, or automatically when a flagged trace starts a new signal (or reopens a resolved one) if the detector’s root cause analysis is Automatic, the TraceRoot AI agent investigates: it downloads the trace, reads your production source code at the failure point, checks recent commits and PRs touching that file, and produces a root cause analysis with a code location and recommendation. Each step’s model is configurable. For the judge we can choose a cheaper model and for the agent we can pick a stronger model since it only runs on real findings. You can swap either to any system model or a BYOK model — independently per step.Anatomy of a detector
A detector has seven configurable parts:- A prompt — what to look for, in natural language (“does this trace contain a hallucination?”).
- An output schema — the structured result the judge returns, including the boolean
identifiedoutcome. - Trigger conditions — which incoming traces are eligible for evaluation.
- A sample rate — what percentage of matching traces to evaluate (25% for a new detector).
- A detection model — the system or BYOK model that evaluates the trace.
- A Generate signals toggle — whether this detector’s findings are grouped into signals (on by default). Turning it on groups findings from then on, not earlier ones.
- A root cause analysis setting — Automatic (the default) runs the AI agent when a signal is created or reopened; Manual runs it when you ask from a signal.
identified is true, the detector emits a finding, which joins a signal; the AI agent investigates the signal when you ask, or by itself if the detector’s root cause analysis is Automatic. New and reopened signals are announced in the next notification digest, with a short summary of each; the analysis itself is read on the signal.
Sampling is deterministic for each trace and detector. Sending the same trace again does not change whether it is sampled. Set the rate to 100% to evaluate every matching trace, or to 0% to pause the detector.
Root cause analysis
Every detector has a Root cause analysis setting in the Signals section of the create sheet and the edit panel:- Automatic, the default for a new detector, however it is created: the AI agent (step 2) runs when a finding creates a signal or reopens a resolved one.
- Manual: the agent runs only when you click Run root cause analysis on a signal, so agent-model cost goes only to the problems you look into.
- A finding that joins an open signal starts no new analysis; the signal’s existing analysis stands for it.
- A resolved signal reopened within 24 hours of its last analysis keeps that analysis instead of starting a new one.
- When findings from several detectors on the same trace open signals, one agent run covers all of them, with one section per detector.
OPENAI_API_KEY; without it, detectors record findings only.
Where to start
Get Started
Create your first detector in a few minutes from a starting prompt.
Notifications
Configure email and Slack notifications for signals.