Cekura alternative: Cekura vs Amiril
A Cekura alternative for voice agents in production. Cekura scores a call after it ends. Amiril blocks the bad booking in the agent before the tool runs.
A Cekura alternative for voice agents in production. Cekura scores a call after it ends. Amiril blocks the bad booking in the agent before the tool runs.
Cekura tests voice agents. Its simulated callers phone your agent before a release, and its metrics score your production calls once they end. If a booking agent cancels the wrong appointment, Cekura's alert comes after the calendar has already changed. Amiril, which we build, is a Cekura alternative that acts during the call: it checks every tool call against your rules inside the agent's process, so that cancellation never reaches the calendar.
Cekura's main product is voice agent testing. You write scenarios, a simulated caller works through each one with your agent, and metrics grade the call. During a test Cekura can swap your real tools for mock tools that return a fixed result, an HTTP error or a delay of up to 30,000 ms, so a failed test points at the agent rather than at a flaky backend. It pulls tool names, arguments, results and latency from Vapi, Retell, ElevenLabs, LiveKit and Pipecat test runs and lines them up with the transcript, as its function calling guide describes. For LiveKit agents the mock tools are set up by hand.
The same metrics run on live traffic. Production calls arrive through those integrations or through an API. Failing calls are grouped into failure modes, and Slack alerts go out when a metric fails, drifts from its baseline or crosses a threshold, or when a new failure mode shows up. A weekly Deep Research audit samples up to 500 calls and ranks what went wrong by urgency, each failure mode with a suggested fix.
On the pricing page, pay as you go has no fee for the first user and charges $0.25 a minute of voice testing and $0.05 a monitored call. The Startup plan is $500 a month for about 2,000 testing minutes and 10,000 monitored calls.
Cekura's own pages put its checks after the call. In its comparison with Bland AI's built-in tools, the row for real-time intervention reads "Not real time, evaluation runs after the call completes". Its guide to guardrail testing tells readers to "Enforce data rules in your tools". Amiril moves that check out of the tool's code into a rule, which can read the calls before it in the run, such as the lookup, and reaches a running agent within about a minute of publishing, with no deploy.
Callers talk over voice agents, and an agent that loses its place halfway through a booking can start it over. If each booking takes a deposit, take_deposit runs twice. A Cekura metric can count the two deposit calls and fail the call when it ends.
Cekura's function calling guide sorts tool call failures on voice agents into six forms. They are the wrong tool, a wrong or misheard argument, an action narrated but never made, a result ignored or invented, a timeout with dead air, and a double write. The guide adds that Cekura's own Tool Call Success metric flags only calls that returned an error, "so most of these forms leave a call that sounds fine".
An Amiril rule checks the call itself before the tool runs, so it stops the forms where a bad call goes out. Cekura's benchmark has a real example of the misheard argument. One call's transcript had the phone number right, and the tool received a different number. When the same slip lands in a booking id, the agent cancels somebody else's appointment. This rule lets cancel_booking run only for a booking that the latest find_bookings lookup on the call returned:
@id("cancel-a-found-booking") @sentence("{booking_id} is not one of the bookings found for this caller") block ( agent == "front_desk", tool == "cancel_booking" ) unless { any(latest(find_bookings{}).result.bookings, it.id == call.args.booking_id) };
The caller says BK-2291 and speech-to-text hears BK-2219. The model gets this back in place of a cancellation:
The call to cancel_booking was not performed. Rule cancel-a-found-booking blocked it: BK-2219 is not one of the bookings found for this caller (find_bookings.latest.result.bookings {"id": "BK-2291", "start": "2026-12-10T16:15"}). Do not retry this call with different arguments or achieve the same outcome another way; tell the user it was not performed.The message carries the booking the lookup did find, so the agent can tell the caller the cancel didn't go through and read out BK-2291, on 10 December at 4:15 pm. If the caller then asks to cancel that one, a cancel for BK-2291 passes the rule. If the agent never ran a lookup, the rule blocks as well, because latest(find_bookings{}) has nothing to compare against. That stops one kind of wrong tool, a cancel the agent reaches for before it has looked anything up. It also catches an invented result once the agent acts on it, since an id the lookup never returned can't be cancelled.
The double deposit takes one more rule. @per("booking_id") makes the pattern match only earlier deposits for the same booking. It reads every run that shares the session id, which in the setup below is one phone call:
@id("one-deposit-per-booking") @per("booking_id") @sentence("A deposit for this booking was already taken on this call") block ( agent == "front_desk", tool == "take_deposit" ) when { take_deposit{} };
The first deposit goes through. A second one for the same booking comes back as not performed, and a deposit for a different booking runs as normal. A pattern counts only calls that succeeded, so if take_deposit raises an error on a declined card, the agent's next try still runs.
Amiril finds a booking the agent only talked about, and a result it made up in words, in the traces. Its grounding check flags a time, a date or a phone number the agent stated that no tool result or earlier message contains, and the first flagged run starts an issue at Critical. When a caller corrects Tuesday to Thursday, a rule on the newest slot search refuses the Tuesday booking once the agent has searched Thursday.
| Feature | Amiril | Cekura |
|---|---|---|
| Stops a bad tool call during the call | Yes, in the agent's process before the tool runs | No. Scores come once the call has ended |
| What a check reads | The call's arguments, earlier calls in the run, the whole session | The transcript and recorded tool calls, through Python or LLM judge metrics |
| Trying a check before it acts | Shadow, and Test on past calls over 24 hours, 7 days or 30 days | Simulated calls against mock tools before a release |
| What a found problem turns into | A rule suggestion, drafted and tested on past runs | A ranked failure mode and a proposed fix |
| Groups calls that share a problem | Issues, with a severity and a state | Failure modes per metric |
| Slack alerts | A message when an issue forms at High or above, and a daily digest | Failure, trend, threshold and failure mode alerts |
| LiveKit | SDK adapter for rules, OpenTelemetry for traces | Production calls ingested, simulated test calls |
| Starting price | Free plan; Team $249 a month | Pay as you go: first user free, $0.25 a testing minute, $0.05 a monitored call; Startup $500 a month |
The LiveKit adapter is the Amiril Python SDK, wrapped under LiveKit's own @function_tool decorator.
pip install livekit-agents amiril
import asyncio
import amiril
from amiril import plain
from livekit.agents import Agent, AgentServer, AgentSession, JobContext, JobProcess, cli, function_tool
def booking_tools(sdk_agent: plain.Agent) -> list:
@function_tool
@sdk_agent.tool
async def find_bookings(customer_phone: str) -> dict:
"""List the bookings held under a phone number."""
return {"bookings": await calendar.bookings_for(customer_phone)}
@function_tool
@sdk_agent.tool
async def cancel_booking(booking_id: str) -> dict:
"""Cancel a booking, by an id that find_bookings returned."""
return await calendar.cancel(booking_id)
@function_tool
@sdk_agent.tool
async def take_deposit(booking_id: str, amount: float) -> dict:
"""Charge the deposit for a booking to the caller's card."""
return await payments.charge_deposit(booking_id, amount)
return [find_bookings, cancel_booking, take_deposit]
class FrontDesk(Agent):
def __init__(self, sdk_agent: plain.Agent) -> None:
super().__init__(instructions="You book and cancel appointments.", tools=booking_tools(sdk_agent))
def setup(proc: JobProcess) -> None:
amiril.init(handle_sigterm=False)
proc.userdata["sdk_agent"] = plain.Agent("front_desk")
server = AgentServer(setup_fnc=setup)
@server.rtc_session(agent_name="front-desk")
async def entrypoint(ctx: JobContext) -> None:
await ctx.connect()
sdk_agent = ctx.proc.userdata["sdk_agent"]
session = AgentSession(stt="deepgram/nova-3", llm="openai/gpt-4.1-mini", tts="cartesia/sonic-3")
closed = asyncio.Event()
session.on("close", lambda _event: closed.set())
async with sdk_agent.run(session_id=ctx.room.name) as run:
session.on("function_tools_executed", lambda _event: run.turn())
await session.start(agent=FrontDesk(sdk_agent), room=ctx.room)
await closed.wait()
if __name__ == "__main__":
cli.run_app(server)calendar and payments stand for your own clients. LiveKit still reads each tool's arguments and docstring as before. setup runs once in each job process, and handle_sigterm=False leaves shutdown to LiveKit's worker. LiveKit traces a FrontDesk class as front_desk, so plain.Agent and the rules above use that name. Each phone call is one run, and run.turn() marks the end of each model reply so a rule sees the lookup from an earlier one. The LiveKit guide covers trace export. Two more rules for a front_desk booking agent cap the discount and keep bookings inside opening hours.
The SDK keeps a copy of your published rules inside the process, so a check makes no network request in the middle of a call. It asks Amiril for changes about once a minute. If Amiril can't be reached it keeps enforcing the last rules it had, and it saves them to disk so a restart doesn't lose them.
A new rule starts in Shadow. It records what it would have done, and every call still goes through. Test on past calls replays a rule over the last 24 hours, 7 days or 30 days of the agent's real calls and lists each one it would have fired on. Once that list holds only calls you meant to stop, you switch the rule to Enforce.
Rules can also come out of the agent's own history. When calls share a problem, Amiril groups them into an issue, has an AI model read a sample and drafts a rule that would have stopped them. It keeps the draft only if it catches some of the issue's runs and fires on at most one in a hundred of the agent's other runs. The rule suggestion carries a line such as "Would have blocked 4 of 5 runs". Issues are built from the agent's traces, which the same file sends over OpenTelemetry once you follow the LiveKit traces guide. How to monitor a LiveKit booking agent shows what those traces catch, such as a 2:30 slot no search returned.
Pick Amiril when your agent's tools change a calendar or charge a card, and a bad call has to be refused before it runs. On a booking line that means a cancel_booking with a misheard id or a second take_deposit. If you would rather not write the first rules yourself, the rule suggestions Amiril drafts from your agent's own issues are a place to start.
Amiril and Cekura both read the same LiveKit calls. Amiril goes in as a Cekura alternative for live calls by wrapping the agent's tools, and Cekura's setup stays as it is. Cekura's simulated callers can go on gating each release, with mock tools standing in for the calendar. Amiril's SDK sits in front of the tools in production. A rule in Enforce shapes what a test call sees too. A Cekura scenario that pushes for a second deposit can then expect the agent to tell the caller it couldn't take one.
No. Amiril's SDK goes in the agent's own process and needs nothing from Cekura. Amiril's issues, Slack alerts and traces cover live calls, so Amiril can be the Cekura alternative there while Cekura's simulated callers keep gating each release.
The tool never runs. The model gets a message saying the call was not performed, with the rule's sentence, and tells the caller in its own words. The call carries on.
You write them in the web app, or an AI assistant such as Claude writes and tests them through Amiril's MCP server. Amiril also drafts rule suggestions from issues, and Create rule opens one in the editor.
Amiril has a free plan and a Team plan at $249 a month, and the pricing page lists what each one includes.