The vision · Part one
The bill nobody can read.
The rightmodeler team5 min read

Three weeks after the launch, finance forwarded the invoice with a one-line email: is this right? Nobody on the team could answer. Not because the number was secret, but because the number was one number, and the thing that produced it was not one thing.
The details change from team to team, and we have now watched this scene play out at several, including our own. The shape is always the same. An agent feature ships on a Thursday. The demo lands, everyone is pleased, the system quietly goes to work. Then the bill arrives, several times larger than anyone expected, formatted as a single line item. Model usage. As if that explained anything.
So someone stays late and goes spelunking. They export the usage CSVs. They grep logs. They build the spreadsheet every team builds eventually, the one with a tab per day and a formula nobody fully trusts. And buried in that spreadsheet they find the anatomy the invoice refused to show. An orchestrator calling a frontier model to decide which of three branches to take, thousands of times a day. A research subagent summarizing documents, and a coordinator summarizing the summaries. And the one that stings: a tool call that had been failing quietly for eleven days, caught by a fallback, retried three times per request. Every retry billed. No error ever surfaced, because technically nothing was down.
We instrument everything except the layer that thinks
Here is the strange part. That team was not sloppy. They had tracing on every service, dashboards for CPU and memory, alerts on p95s, budgets for every queue. Twenty years of observability practice, fully applied. And all of it stopped one layer short. The moment a request crossed into the agent system, the instruments went quiet. The stack saw a request go out and a response come back. What happened in between, which agent called which model, at which step, for how much, was a black box wearing a dashboard.
Agents are systems now. We just have not given them the instruments we give every other system.
A modern agent feature is not a model call. It is an orchestrator, a handful of subagents, tool calls, retries, judges, and glue steps, each with its own model, its own latency, and its own ways of failing. We would never run a fleet of services without per-service metrics. We run fleets of agents that way every day.
What seeing actually changes
Imagine the same three weeks with instruments. Cost has line items: this agent, this step, this model, this many dollars, ranked. The orchestrator’s glue calls show up on day one as the most expensive routing decision in company history, instead of hiding in an aggregate for a quarter. Speed has a shape: p50 and p95 per step, so the slow layer cannot hide inside an average. And failures have a feed: the tool call that starts failing shows up the hour it starts, tagged with its retry bill, eleven days before the invoice does.
None of this is exotic. It is the ordinary decency we already extend to databases and queues, extended to the layer that now does the thinking.
Crucible
Crucible is the instrument panel we built for the layer that thinks: open-source, self-hosted observability and analytics for AI agents and MCP servers, under the MIT license. It takes OpenTelemetry from any SDK you already run, with thin SDKs for TypeScript, Python, Go and Rust and an opt-in proxy that instruments an MCP server with no code changes. It shows traces, sessions, cost and latency, records every MCP tool call with its error class, and sends alerts to Slack, email and webhooks.
And what it records does not stop at a chart. Your coding agents can ask Crucible about their own runs over MCP, and rightmodeler feeds Crucible traces into its validation loop: replay the steps behind the bill to validate cheaper or newer models, grade every answer against the output you accepted, and report the evidence, the sample size, and every abstention.
That loop does not need Crucible. You can run it by hand today with the rightmodeler CLI, on the traces you already have, and the self-hosted agent already runs the maintenance loop on a schedule: it rechecks the catalog weekly for cheaper new or repriced models and, on your word, replays them. Either way, a swap that clears every gate becomes a draft pull request that changes only model identifiers, for a person to review and merge.
Seeing is the foundation, because you cannot maintain what you cannot see. But seeing is not the bottleneck, and neither is the decision: with the evidence in hand, an engineer makes the call in minutes. What takes days is the work before it: pulling real traces, building a replay, grading the outputs, writing it up so it survives review, migrating, and doing it all again when the next model ships. We think that work is the biggest bottleneck in maintaining software. rightmodeler takes it out of the loop, not the judgment, starting with swaps to cheaper or newer models. Today, the final yes stays yours.
What happens when a brand-new model ships on a Tuesday, and why that should end as a pull request in your repo, is part two. Why the work in the loop belongs to software, and why rightmodeler starts by validating model swaps, is part three.
Crucible is open source. Get it on GitHub, or read more on the Crucible page.