Toolspublished

Experiential Open-Sources an Agent Router That Learns From Traffic, but Results Are Unverified

The project turns an agent’s past requests into evidence for model selection and training, but its cost and quality gains remain company-run benchmark results.

By 3 min read
Experiential Open-Sources an Agent Router That Learns From Traffic, but Results Are Unverified

Listen to this story

The audio brief

About 1:33
0:001:33
Read transcript
Experiential Labs has open-sourced a model router that learns from an agent’s past traffic, then uses that history to decide which model should handle the next request. The project, called World Model Optimizer, starts with OpenTelemetry traces from an existing agent. It turns those traces into simulated tasks, tests candidate models on them, and trains a K-nearest-neighbor router to look for similar past work. The goal is to balance quality and cost, while confidence gates are supposed to keep unfamiliar requests on the strongest known model instead of forcing a cheaper route. The underlying gateway provides one OpenAI-compatible API across hosted, local, custom, and provider-backed models, including OpenAI, Anthropic, Gemini, Azure, Bedrock, Fireworks, and OpenRouter. Teams can also control access and spending, and Experiential says traffic collected through the router can feed a later fine-tuning workflow with Tinker. The headline savings are substantial, but the evidence is narrow. Experiential’s own benchmarks report costs falling between 44.5 and 66.5 percent, with quality ranging from 1.7 percent lower to 8 percent higher. Those tests were run by the company, not independently or on disclosed customer workloads. PostHog telemetry can be disabled, and the documentation says it excludes prompts and customer content. So the key question is whether simulations built from past traces actually represent future production work—and whether the claimed savings guarantee has terms customers can evaluate.

Story brief

3 key points

Released in July, Experiential Labs’ World Model Optimizer turns OpenTelemetry traces into simulated agent tasks, evaluates candidate models, and trains a K-nearest-neighbor router to choose among them. The gateway supports hosted, local, custom, and major provider-backed models through OpenAI-compatible APIs, with controls for access and spending. Company-run benchmarks report 44.5–66.5% cost reductions, but no...

  1. 01

    Reported benchmarks show 44.5–66.5% lower costs, with quality changes ranging from 1.7% lower to 8% higher.

  2. 02

    Confidence gates are designed to keep unfamiliar requests on the strongest known model instead of forcing a cheaper route.

  3. 03

    The gateway connects OpenAI, Anthropic, Gemini, Azure, Bedrock, Fireworks, and OpenRouter through one API layer.

Experiential offers a familiar promise: one endpoint for many model providers. It also makes a harder claim—that its gateway can learn from an agent’s production traffic and steer future work toward a better balance of cost and quality. The open-source project shows how the system works, but its performance claims have not been independently validated.

One control point before the optimization

At its base, Experiential is an open-source model gateway and router for agent workflows. It presents hosted services, bring-your-own-key connections, local models, and custom models through a single OpenAI-compatible API. The hosted service also supports Anthropic’s Messages API format.

That compatibility layer is paired with administrative controls. Teams can decide which users and agents may call particular models, constrain approved use cases, and set spending limits. The documented provider connections include OpenAI, Anthropic, Gemini, Azure, Bedrock, Fireworks, and OpenRouter.

Developers can run the gateway locally, where its data plane listens on loopback and serves the model routes. That makes the gateway usable as an integration layer before a team adopts the project’s more ambitious routing workflow.

The proposed learning loop

Experiential Labs open-sourced its World Model Optimizer in July. The tool can take an agent’s OpenTelemetry traces and turn them into text simulations of the tools and environments it uses. It then tests candidate models on those tasks and builds a K-nearest-neighbor router, which chooses models based on similar past examples.

The router is designed to optimize for cost or quality and includes prompt caching when calculating an effective request price. It also uses confidence gates: when evidence is weak or a new request is unlike its training examples, the system is meant to avoid switching away from the strongest known model.

Experiential also documents a next step beyond routing: traffic collected through the router can be used with Tinker to fine-tune an open-source model. Experiential Labs says customers will own the weights created through that training workflow, though that is the company’s stated ownership model rather than an independently assessed outcome.

The savings case still rests on internal tests

Experiential Labs reported three benchmark outcomes for its router. The results suggest it can trade modest quality loss for substantial savings in one setting, or improve both measures in two others. They were selected and run by Experiential Labs, however, so they do not establish comparable results on a customer’s distinct agent workload.

Company-reported routing benchmarks

  • RouterBench: 66.5% lower cost with a 1.7% performance decline.
  • TauBench: 44.5% lower cost with 6.3% higher performance.
  • Terminal Bench 2: 64% lower cost with 8% higher performance.

A practical privacy and proof boundary

The product’s central input is sensitive operational history, so telemetry choices matter. Aggregate PostHog product telemetry is enabled by default but can be disabled locally; Experiential’s documentation says that telemetry excludes prompts, traces, actions, observations, paths, model names, credentials, and raw customer content.

The bigger question is whether simulations built from past traces reflect a team’s future production work. Experiential Labs has not published customer counts, revenue, or the terms of its claimed savings guarantee. Developers can test the gateway and its optimization loop locally, but the open-source release does not close the evidence gap behind that savings pitch.

Sources

  1. github.comGitHub - experientiallabs/experiential: An open source model gateway that provides one control plane across closed, open-source, local, and custom models.