All case studies
[ agent systems / evals ]

A multi-agent orchestration layer with evals before autonomy

Production AI platform work, client details withheld

A prototype agent that looked great in a demo was burning tokens and producing answers nobody could verify. We rebuilt it as an orchestrated pipeline with RAGAS evals as a release gate, and cut token spend by roughly a third on the way.

Multi-agent workflow monitor with tool calls, evaluation gates, and retrieval confidence traces

A prototype agent can carry a demo and still fall over in production. The useful work was refactoring it from a loosely-prompted loop into an orchestrated pipeline — planner, retrieval, tool use, verifier, response — with scoped context per step and a RAGAS-based eval suite running in CI as a release gate.

The agent was burning tokens on repeated context, weak routing, and tool calls that should have been resolved earlier in the flow.

The team needed a way to catch hallucination, retrieval drift, and tool-call regressions before any of it went user-facing.

Reliability had to improve without locking the system down so hard it lost the flexibility that made an agent worth building in the first place.

Orchestration core

We split the workflow into planner, retrieval, tool-use, verifier, and response steps, then put strict limits on what context each step was allowed to see.

Evaluation harness

A RAGAS-based test suite scored retrieval relevance, factual grounding, answer quality, and regression behavior against curated task sets we could trust.

Release gates

Eval failures, tool-call anomalies, and citation gaps were treated as release blockers — not as observations someone might inspect later, after it had already shipped.

  1. Instrumented traces first so the team could actually see token waste, bad branches, and repeated context.
  2. Refactored the orchestration layer around explicit state, tool boundaries, and verifier passes.
  3. Added eval suites to the build pipeline so reliability checks ran before any production change went out.

Token usage dropped about thirty percent from context control and better routing alone.

The team got a regression harness for hallucination, retrieval quality, and tool-call behavior.

The agent moved out of demo logic and into something traceable, testable, and noticeably cheaper to run.

Autonomy without evals is theater. The actual production work is orchestration, context control, release gates, and making failures visible early enough that someone can still fix them.

[ start here ]

Bring us the job you repeat.

[ modalis — working session ]
Twenty-five minutes on one job from your business.

Bring the workflow you run through a frontier model on repeat, the one whose bill grows with your volume. We’ll tell you straight whether a small local model can clear the same bar, and what a run costs on hardware you own.

What we cover
  • Whether a small local model can match the frontier model on your job
  • How we would measure that its answers are correct
  • What hardware it needs, what a run costs, and a rough timeline
25 minutes
Google Meet
America/Toronto
[ book directly ]

Tell us about the job.

Send a short note describing the work you want handled and the systems it touches. We will reply with times for a 25-minute session.

email to book