Pinecall tutorial: how to test a voice agent before it answers a real call
Post 2 in a short Pinecall series. Post 1 covered what the launch gets right about testing and guardrails; this one is the hands-on version: the three testing layers, in the order you'd actually run them.
The uncomfortable question for every voice agent is not "does it work in the demo?" — it's "what did it say on the call you didn't listen to?" Pinecall (open source, Apache-2.0, built on LiveKit; launched November 16, 2026) treats that question as a product feature. Here's the testing stack, layer by layer, with the commands as documented.
Layer 1 — Goldens: conversations with must-be-true endings
A golden is a written conversation with a must-be-true end state: not "the reply sounded nice," but checkable facts — the booking exists, for the time the caller agreed to, and nothing else was booked. You write the caller turns, the agent answers live, and the end state is asserted.
pinecall test
Run goldens like unit tests: before every deploy, in CI, after every instruction change. The discipline that makes them work is writing the end state first — if you can't state what must be true at the end of the call, you don't yet know what the agent is for.
Start small: five goldens for your front desk — a booking, a reschedule, an hours question, an out-of-scope request (agent must decline and offer a human), and a caller who asks "am I talking to a robot?" (agent must answer honestly).
Layer 2 — Simulated callers: personas, noise, packet loss
Goldens are scripted; real callers aren't. pinecall simulate puts simulated callers — personas with goals, patience levels, and ways of speaking — on the phone with your agent, including the ugly parts of real telephony: background noise and packet loss.
pinecall simulate
The personas worth writing first: the rambling caller who buries the request in a story; the impatient caller who interrupts; the caller with a heavy accent reading a confirmation number digit by digit; and the caller who changes their mind mid-booking. Each one breaks a different assumption in your prompts.
Layer 3 — Judges: every finished call, graded
Testing before the call is half the story. Pinecall's judges grade finished calls — and the three recommended ones are compliance-shaped, which tells you what the platform thinks agents are for:
- disclosed — did the agent say it's an AI, before the greeting, as required?
- consent — did it book (or act) only after the caller agreed?
- honoured-stop — when the caller said stop, did it stop?
pinecall eval
Wire the judges into a CI gate (the docs describe using a sandbox token, pc_test_…, for exactly this) so a build that fails disclosure doesn't ship because someone was in a hurry.
Before any of it: check your own limits
One launch-week gotcha, because it changes your test plan: Pinecall's pricing page and its docs disagreed about the free sandbox size (120 minutes / 30 simulations on one page; 30 minutes / 10 simulations on two others). The only trustworthy number is your own org's:
pinecall limits
Run it first, then budget your simulations against the real number.
The pre-flight checklist
-
pinecall limits— know your sandbox budget. - Five goldens with must-be-true end states, green in
pinecall test. - Four simulated personas through
pinecall simulate, transcripts read by a human. - Judges on — disclosed, consent, honoured-stop — with
pinecall evalgating deploys. - One supervised live call (
pinecall supervise— listen, whisper, take the line) before you let it answer alone.
Going deeper
I packaged my launch-week notes into two things:
- Free cheat sheet — verified pricing, the 4-command start, the compliant front-desk loop, the 5 dialling rules: https://payhip.com/b/0pifs
- Full starter pack ($9.99) — a 21-section tutorial (build paths in code, Studio, and MCP; providers and BYOK; self-hosting on your own GPU; the dialling rules that refuse cold lists by design), deployment templates, 3 reception workflows, and 6 assistant prompts: https://payhip.com/b/bdEXL
Disclosure: the pack is my own product on Payhip; this tutorial is independent and not affiliated with Pinecall. Commands and behaviour are as documented at docs.pinecall.io, checked November 2026. The pack teaches compliant reception use only — your own business's calls, with disclosure and consent — never cold outreach.
Top comments (0)