NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Taxi: Analyzing Agents at (Real) Scale

Guy DararXiv 2026

TL;DR

AI agents now run autonomously for hours, leaving behind massive execution logs full of subtle, non-crashing behavioral bugs. Taxi is an observability system designed to debug and monitor millions of agent steps without the ruinous cost of having a generative LLM read every single log. By combining vector clustering, plain-text SQL querying, and lightweight "decision models," Taxi gives teams a bird's-eye map of agent behavior alongside a magnifying glass for asking complex questions.

What Problem Does This Paper Address?

When an autonomous agent runs for hours—chaining together planning, tool calls, and error recovery—a simple "pass/fail" metric hides most of the story. Agents suffer from elusive "soft failures": quietly exceeding their scope, getting led astray by unexpected tool outputs, or repeating the same redundant step across thousands of runs. They don't throw an exception; they just quietly burn tokens or reach wrong conclusions.

Logging these runs (trajectories) is standard practice, and emerging observability tools try to make sense of them. However, current tools and research pipelines rely heavily on generative LLMs reading every trajectory (or a tiny sample). At production scale, running an LLM over millions of steps hits a wall of cost, latency, and rate limits. Engineers need both a structured overview of the entire corpus and the ability to query arbitrary behaviors—without going bankrupt.

Methods

Taxi’s architecture separates stable storage from rapidly evolving analysis methods across three layers:

  1. Database Backbone: Stores shared "data sources" (trajectories broken into individual steps with pre-computed text embeddings) and personal, versioned "projects."
  2. Primitive Surface (MCP Tools): Exposes a few dozen tools via the Model Context Protocol (MCP) for running SQL, clustering, and publishing checks.
  3. Agent Skills: Lightweight instruction documents that guide a coding agent or chat model on how to combine those tools for jobs like building a taxonomy, writing regression evaluators, or generating daily insight reports.
Taxi's three-layer architecture: clients and agent skills sit over a shared MCP tool surface and relational database.

To analyze millions of steps cheaply, Taxi pairs standard techniques with a new semantic routing path:

  • Embeddings & Clustering: Standard algorithms like k-means group step embeddings into a hierarchical tree (a taxonomy) with zero LLM calls during assignment—only calling an LLM once at the end on tiny samples to name the clusters.
  • SQL & Regex: Read-only SQL and pattern matching over raw step text let humans and coding agents hunt down exact strings, tool names, and error shapes.
  • Agentic Taxonomy Construction: Instead of a single blind k-means pass, an AI agent iteratively explores vocabulary (via TF-IDF), proposes splits, examines cluster cohesion, and refines the tree.
  • Jev-style Decision Models (Experimental): When categories depend on meaning rather than exact wording or vector proximity, Taxi integrates Jev-style models—lightweight models that take a state and a bounded multiple-choice or yes/no question and output typed probabilities directly, skipping expensive text generation.
Iterative agentic taxonomy construction compared to the one-shot flat clustering shortcut.

Datasets

The main body of this technical report focuses on system architecture rather than benchmark evaluations. The author notes that Taxi is used on trajectories from Rival Research’s internal agentic systems (supporting loaders like LangSmith, Hugging Face, and JSON exports) and mentions a layer-by-layer walkthrough on "one public agent benchmark" deferred to Appendix H (not included in the provided six-page report). No new datasets are introduced.

Key Insights and Ideas

  • The "Regularity of Text" beats brute-force AI: Agent logs are far more structured than they look—tool calls, error strings, and argument shapes repeat predictably. Just as coding agents rely heavily on grep, SQL and regex answer a surprisingly massive share of behavioral questions at zero AI cost.
  • Taxonomies turn messy text into state machines: Grouping steps into a finite set of clusters (discretization) isn't just for tidy dashboards. Once steps become discrete states, trajectories become state-machine transitions—unlocking classic algorithms from process mining, motif analysis, and anomaly detection.
  • Decoupling data from lenses: Taxi versions data syncs separately from immutable taxonomy versions. You can view brand-new agent runs through last month's taxonomy, or re-slice historical logs through a newly refined cluster tree without re-ingesting data.
  • System-1 routing scales semantics: Using Jev-style decision models (returning raw probabilities over bounded choices rather than generated explanations) bridges the gap between cheap-but-literal regex and smart-but-prohibitive generative LLMs.
Trade-offs between Taxi's step-routing methods compared to a generative LLM.

Key Results

Quantitative experimental metrics (such as accuracy benchmarks, dollar-cost comparisons, or latency speedups) are not reported in the main text of this technical report. Qualitatively, the author reports that Taxi is fully operational internally at Rival Research, scales linearly in the number of steps across millions of steps, and supports an extensible ecosystem including automated regression Evaluators (which a coding agent can draft automatically by inspecting recent git bug fixes) and scheduled Insight Reports that flag anomalous behavior in fresh runs.

Limitations and Future Work

  • Clustering long, noisy text is finicky: Agent steps often contain giant code blocks that drown out the behavioral signal engineers actually care about, and clustering hyperparameters remain tricky to tune.
  • Behavioral drift: As agents evolve, an older taxonomy can impose a stale lens on new trajectories.
  • Untested & missing pieces: Jev-style routing and evaluation are newly integrated and haven't yet been battle-tested end-to-end. Additionally, Taxi currently analyzes single-agent trajectories and lacks out-of-the-box support for multi-agent systems—a gap the modular architecture is slated to address next, alongside potential open-sourcing if there is community interest.

Summary updated

BibTeX
@misc{dar2026taxi,
  author = {Guy Dar},
  title = {{Taxi: Analyzing Agents at (Real) Scale}},
  year = {2026},
  eprint = {2611.31457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31457},
}
Figure