By Sagar Shankaran, Founder of CallSphere
A practical guide to AgentKit 1.0's evals harness — golden traces, LLM-as-judge, regression gates, and how to ship agent updates safely in 2026.
Key takeaways
Most agent teams ship without proper evals. Then they push a prompt change, break a critical flow in production, and learn the hard way. AgentKit 1.0's evals harness is the antidote.
The harness is a YAML-based configuration that defines test cases for an agent. Each test case has inputs, expected outputs (or expected behaviors), and scoring rules. The harness runs these against any version of the agent and produces a pass/fail report with detailed traces.
Key primitives:
Evals cost $0.02 per evaluated trace. For a suite of 200 traces run on every PR, that is $4 per CI run. A team that ships 10 PRs/day spends ~$1,200/month on evals. Trivially cheap compared to the cost of a production regression.
For a customer service agent, a representative suite includes:
Total: 200 traces, $4 per run. Run on every PR plus nightly.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
graph LR
A[PR opened] --> B[Build agent]
B --> C[Run eval suite]
C -->|Pass rate >= gate| D[Allow merge]
C -->|Pass rate < gate| E[Block merge]
E --> F[Surface failing traces]
The pattern that works: gate on overall pass rate but require zero regressions on a labeled "critical" subset. This catches both "we broke a lot of tests" and "we broke the one test that really matters."
LLM-as-judge is powerful but treacherous. Common mistakes:
The fix: use a different model family for judging, write specific judging rubrics, and audit a sample of judge decisions monthly.
The harness supports snapshot testing. The first run creates a snapshot; subsequent runs compare against it. Changes to outputs require explicit snapshot acceptance, similar to Jest snapshots. This is a great pattern for catching unintended drift when you swap models or update prompts.
Over-fitting to the eval suite is a real risk. We have seen teams iterate on their suite until pass rate hits 100%, ship to production, and discover the agent is brittle on real traffic. Mitigations:
Do evals work for non-AgentKit agents? Limited — the harness is tightly coupled to the AgentKit runtime.
Can I export traces for offline analysis? Yes, traces are available via the API in JSON format.
Is there a free tier? Yes, the first 1,000 evaluated traces per month are free.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
What about multimodal evals (vision, audio)? Vision is supported. Audio evals are in private preview.
AgentKit 1.0 Evals Harness: Building Regression-Safe Agent CI ultimately resolves into one engineering question: when do you use the OpenAI Realtime API versus an async pipeline? Realtime wins on latency for live calls. Async wins on cost, retries, and structured tool reliability for callbacks and SMS flows. Most teams need both, and the routing layer between them becomes the most load-bearing piece of the stack.
Production AI agents live or die on three loops: evals, retries, and handoff state. CallSphere runs 37 agents across 6 verticals, each with its own eval suite — synthetic call transcripts replayed nightly with assertion checks on extracted entities (date, time, party size, insurance, address). Without that loop, prompt regressions ship silently and you only find out when bookings drop.
Structured tools beat free-form text every time. Our 90+ function tools all enforce JSON schemas validated server-side; if the model hallucinates an integer where a string is required, we retry with a corrective system message before falling back to a deterministic path. For long-running flows, we treat agent handoffs as a state machine — booking → confirmation → SMS — so context survives turn boundaries.
The Realtime API vs. async decision usually comes down to "is the user holding the phone right now?" If yes, Realtime; if no (callback queue, after-hours voicemail), async wins on cost-per-conversation, which we track per agent in 115+ database tables spanning all 6 verticals.
Why does agentkit 1.0 evals harness: building regression-safe agent ci matter for revenue, not just engineering? 57+ languages are supported out of the box, and the platform is HIPAA and SOC 2 aligned, which removes most of the procurement friction in regulated verticals. For a topic like "AgentKit 1.0 Evals Harness: Building Regression-Safe Agent CI", that means you're not starting from scratch — you're configuring an agent template that's already been hardened across thousands of conversations.
What are the most common mistakes teams make on day one? Day one is integration mapping (scheduler, CRM, messaging) and prompt tuning against your top 20 real call transcripts. Day two through five is shadow-mode running, where the agent transcribes and recommends but a human still answers, so you can compare side-by-side. Go-live is the moment your eval pass-rate clears your internal bar.
How does CallSphere's stack handle this differently than a generic chatbot? The honest answer: it scales until your tool catalog gets stale. The agent is only as good as the integrations it can actually call, so the operational discipline is keeping schemas, webhooks, and fallback paths green. The platform handles the rest — observability, retries, multi-region routing — without your team owning the GPU layer.
Want to see how this maps to your stack? Book a live walkthrough at calendly.com/sagar-callsphere/new-meeting, or try the vertical-specific demo at urackit.callsphere.tech. 14-day trial, no credit card, pilot live in 3–5 business days.
Written by
Sagar Shankaran· Founder, CallSphere
Sagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
A clean before/after of agent architecture in 2026. The control loop moved from your framework code into the model's reasoning chain. What that looks like.
Google's May 2026 MCP 1.0 + A2A developers guide is the cleanest protocol picker we have seen. The takeaways, in plain English, with a CallSphere lens.
Workspace Studio puts a Gemini-powered AI agent builder inside Google Workspace. A walkthrough of what it does, who it is for, and where it fits in 2026.
BrowserStack offers 30,000+ real devices; Sauce Labs ships deep Appium automation. Here is how AI voice agent teams use both for WebRTC mobile QA in 2026.
Gemini 3.1 Ultra ships with a 2-million token context window and full text, image, audio, and video multimodality. What changes and how to build for it.
How the modern agent eval stack actually flows: instrument, trace, dataset, evaluator, score, CI gate. The full pipeline that keeps agents from regressing.
© 2026 CallSphere LLC. All rights reserved.
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI