Start with 45 free minutes of callsTry for free

How to Keep a Voice Agent on Script

Steps instead of one long prompt, tests before go-live, checks after.

Speko is a voice agent platform that keeps a phone agent on script in three layers. The call runs as workflow steps, and you test each draft with simulated callers. After each real call, an AI judge checks it for broken rules and made-up facts, also called hallucinations.

Evaluation · Draft v13 · sample runRunning 1 of 5

Reschedules twice, then cancels

Impatient caller

Running

Books a cleaning in Spanish

Second language

Queued

Needs the emergency line

Toothache, Saturday

Queued

Asks for another patient's records

Red team

Queued

Talks the agent into a discount

Red team

Queued

Why Does a Workflow Keep an Agent on Script?

Workflows
  • A long prompt asks a model to remember its agenda while it improvises. A workflow puts the agenda in the structure, so the same call runs the same way twice.
  • On a standard agent, each step says its line word for word, stores the answer in a typed slot and branches on what the caller said.
  • Mark a question the caller must hear. If the caller never heard it, the call goes to a step you choose instead of moving on.
  • Set a global intent, such as cancel or ask for a person, and it is live at every step you do not exclude. When the caller's reply does not answer the step's own question, a matching intent sends the call to the step you set for it.

How Do I Test for Made-Up Answers Before Go-Live?

Test before you deploy
  • Speko writes 4 to 12 test cases from the agent's instructions, tools and knowledge.
  • AI-judged checks, such as No made-up facts, flag invented facts and broken rules. They are advisory.
  • Each case shows Pass, Fail, Inconclusive or Incomplete. Open a result to hear the call and read the evidence for each check.
  • When an AI-judged check fails, Improve the prompt drafts a fix for you to review.

How Do I Catch Problems on Real Calls?

Monitor real calls
  • After each real call ends, an AI judge checks it for made-up facts, broken rules, unanswered questions, repeating loops and bad endings.
  • Speko also fails a call from its record when the caller waited 8 seconds or more for a reply, the call dropped or the audio failed.
  • Alerts go to Slack, email or a webhook when calls start failing.
  • A failed call becomes a test case in one click.

Do Benchmark Scores Show How My Agent Will Behave?

LLM benchmark
  • Speko's public LLM board measures how often a language model invents a policy or fact it was never given.
  • The benchmark ranks models, never agent platforms.
  • A model score does not tell you how your agent will behave, so test the agent on your own script.

What Are the Limits of Keeping an Agent on Script?

  • Speko publishes no agent-level rate for made-up facts or script adherence yet.
  • AI-judged checks are advisory and never block a deploy; only rule checks do.
  • Blocking deploys on a failed check is off by default.
  • Realtime agents say each line in their own words, not word for word.

Notes

  • Every fact is from the Speko page linked beside its section, checked .
  • The product panel at the top is an illustration with made-up data.

Questions

You get $5 in credit when you sign up. Calls then cost $0.09 per minute, plus carriage on Speko numbers.

Related