traceroot
Developer Toolstraceroot is open-source observability for AI agents, on its cloud or self-hosted: traces, detector findings, recurring signals and evaluations. Agents read traces and findings, record evaluation runs and labels, and route new failures to the team that owns them.
What This Integration Enables
traceroot is the open-source platform that continuously improves AI agents, on its cloud or self-hosted. It is built around a loop: trace every model and tool call, let detectors with LLM judges flag production runs, group flagged runs into signals that share a root cause, then verify each fix with evals before it ships. That loop is the right shape for agents in production, where the tests pass and real traffic finds the gaps. FlowRunner carries the loop's output to the places a team already plans and pages work.
FlowRunner agents call traceroot as tools. They read traces, sessions, findings and signals, read the project's alerts and dashboards, and run read-only SQL over spans and traces. They also write: a flow can run a whole evaluation, recording each test case and completing the run, and it can apply a project label to a production trace. Three triggers check traceroot for new findings, new signals and finished evaluation runs, and start a flow for each. When a decision is about whether a fix is good enough to ship, the agent stops and asks the engineer who owns it. That is human-in-the-loop placed on the verdict, where it counts.
Without FlowRunner
With FlowRunner
Flows you can build with traceroot
-
Agent failures filed in Jira with the root cause attached
On New Finding starts a flow for each new detector finding. The agent calls Get Finding for each detector's result and the root cause analysis, when one ran, then Get Trace for the failing span, tokens and cost. It searches Jira Issues for an open issue from the same detector and adds the new finding to it as a comment when one exists. Otherwise it creates an issue with the summary, the root cause and a link to the trace, and the team that owns the detector gets the finding in Slack. The engineer replies with a choice: fix it now, apply a label such as "known-issue" to the trace, or close the issue as expected behavior. The flow carries out the answer, including Apply Label in traceroot.
-
A new recurring problem reaches the team that owns it
A signal is a recurring problem a detector starts tracking, so a new one is worth more than any single finding. On New Signal starts the flow, and Get Signal returns the signal with its most recent traces. The flow reads the detector behind it with Get Detector, maps it to the team that owns it, and creates an issue for that team in Linear with the signal's title and links to its traces. For a detector the team marks urgent, such as one that watches refunds or payments, the issue is filed as Urgent and posted to the on-call channel in Slack. The rest go in as Medium, so the problem lands in next week's planning instead of tonight's on-call channel.
-
Evaluations run from a flow, with every result on record
Teams that build agents in FlowRunner can evaluate them in traceroot from the same place. A flow reads the test cases with Get Dataset Version and calls Register Evaluation Run. It sends each case to the agent under test and writes the outcome and scores with Record Test Case Result. It finishes with Complete Evaluation Run. On Evaluation Run Finished then starts a reporting flow: Get Evaluation Run returns the result counts and the mean of each score, and the agent appends them to Google Sheets with Add Row. When the pass rate is lower than the previous run's, it posts the two runs side by side to the team in Microsoft Teams.
Human-in-Loop Highlight
The gate sits on Complete Evaluation Run, because the status a run ends with is the verdict the team reads before it ships a fix. A flow ran a refund agent's fix against its dataset, and some cases never got an answer. The agent cannot tell a regression from a provider outage, so it asks the engineer in Slack: "Run #14 of refund-agent against Support refunds, version 7. 182 of 200 cases scored. The other 18 failed in the agent under test, all timeouts from the model provider. Pass rate on the 182 is 94 percent; run #13, the baseline, scored 91 percent. Complete it as Completed With Errors and compare it with #13, or mark it Incomplete and rerun the 18?" The engineer answers, and the agent completes the run with that status and a task error count of 18. The agent records every result. Whether the fix counts as better stays with the person who will ship it.
Agent Capabilities
32 actionsConnection
1- Get Connection Info Returns the project, workspace and key scope the connected API key belongs to. Used to check which traceroot project a flow is reading before it acts.
Traces and Sessions
5- List Traces Lists recent production traces, newest first, with an optional time window, search and filters. Used to pull the traces behind a report or to page back through older traffic.
- Get Trace Gets one trace with its spans: the tree, timing, status, tokens and cost, plus per-span input and output when you ask for those fields. Used to put the failing step in front of the engineer.
- Export Trace Exports one trace as a bundle with its spans, git context and a manifest. Used to attach the full record of a failure to an issue or hand it to a coding agent.
- List Sessions Lists sessions, newest first, with trace counts, tokens and cost. Used to find the conversations that cost the most or ran the longest.
- Get Session Gets one session with all its traces inside the plan's retention window. Used to read a whole user conversation when a single trace is not enough.
Detectors and Findings
5- List Detectors Lists the project's detectors, newest first. Used to map each detector to the team that owns it.
- Get Detector Gets one detector's configuration: prompt, output schema, sample rate, root cause analysis and trigger conditions. Used to explain to a reader what a detector was looking for.
- List Findings Lists detector findings, newest first, for one detector, one trace or a time window. Used for a daily digest or to catch up after a quiet period.
- Get Finding Gets one finding with each detector's result and the root cause analysis, when one ran. Used to fill in an issue with the why, not just the what.
- Get Finding by Trace Gets the finding for one trace. A trace has at most one finding. Used when a flow starts from a trace, such as one a customer complained about.
Signals
2- List Signals Lists signals, the recurring problems a detector's findings are grouped into, newest first. Merged signals are left out. Used for a weekly review of what keeps coming back.
- Get Signal Gets one signal with up to 20 of its most recent traces. A merged signal names the signal it moved to. Used to give the owning team examples along with the problem.
Alerts and Dashboards
6- List Alerts Lists the project's threshold alerts with each one's status and current severity, plus the project's alert capacity. Used to report which alerts are firing alongside open findings.
- Get Alert Gets one alert with its full rule: measure, aggregation, filters, window, threshold and current evaluation state. Used to tell an on-call engineer exactly what crossed the line.
- List Dashboards Lists the project's dashboards, default first. Used to find the dashboard a report should read.
- Get Dashboard Gets one dashboard with its widgets and their query specs. Used to see which figures a dashboard shows before reading them.
- Get Dashboard Data Runs a dashboard's query widgets for one time window and returns their columns and rows. Used to send the week's cost, latency and error figures to a sheet or a channel.
- Get Widget Data Runs one saved widget for a time window and returns its columns and rows, or a status saying why it has none. Used when a report needs a single figure.
SQL
2- Run SQL Query Runs one read-only SELECT over the project's spans and traces. traceroot limits SQL per project by plan. Used for questions no dashboard answers yet, such as cost by customer for the month.
- Get SQL Schema Lists the tables and columns Run SQL Query can read. Used by an agent to write a correct query before it runs one.
Evaluations
6- List Evaluations Lists the project's evaluations, newest first, each with its run count and latest run. Used to find the evaluation a flow should run or report on.
- List Evaluation Runs Lists evaluation runs, newest first, with identity and status. Used to find the previous run to compare against.
- Get Evaluation Run Gets a run's summary: status, result counts and the mean of each score and metric. Boolean scores read as pass rates. Used to report a run and spot a drop.
- Register Evaluation Run Registers and starts an evaluation run against a dataset. Repeating the call with the same Client Run ID returns the same run, so a retried flow does not start a second one. Used at the start of every evaluation a flow runs.
- Record Test Case Result Creates or updates one test case's result and scores in a run. Calling it again for the same case updates it. Used once per case as the agent under test answers.
- Complete Evaluation Run Marks a run finished with its final status and completeness counts. Used to close a run, after a person has chosen the status when cases failed.
Datasets
4- List Datasets Lists the project's evaluation datasets, newest first, each with its current version. Used to pick the dataset an evaluation runs against.
- Get Dataset Gets one evaluation dataset, with its current version once one is published. Used to confirm a flow is about to test against the right set.
- List Dataset Versions Lists a dataset's published versions, newest first, with each one's case count and whether it is current. Used to compare runs made against different versions.
- Get Dataset Version Gets one dataset version with its test cases. Used to feed the cases to the agent under test.
Labels
1- Apply Label Applies an existing project label to a production trace or one of its spans. The label is created in project settings first, and repeating the same call returns the original assignment. Used to mark a trace as reviewed, a known issue, or the subject of a customer complaint.
Triggers
3 triggersEvent Triggers
3- On New Finding Checks traceroot for new detector findings and starts a flow for each one, oldest first. It looks back an hour behind the newest finding seen, so a finding stored late is still caught once. Used to file agent failures in a tracker.
- On New Signal Checks traceroot for new signals, the recurring problems a detector starts tracking, and starts a flow for each one. Used to route a new problem to the team that owns it.
- On Evaluation Run Finished Starts a flow once for each evaluation run that leaves the running status: completed, completed with errors, failed, incomplete or canceled. Used to report scores and flag a drop in pass rate.
Frequently asked questions
What can FlowRunner do with traceroot?
FlowRunner agents can run Get Connection Info, List Traces, and Get Trace in traceroot, plus 29 more actions.
Does connecting traceroot to FlowRunner require OAuth?
No. traceroot connects to FlowRunner with an API key, no OAuth flow required.
Can traceroot trigger a FlowRunner workflow automatically?
Yes. traceroot supports 3 triggers that can start a FlowRunner workflow automatically.
Start building with traceroot
Free plan, no card required. Connect in minutes.