Braintrust vs Amiril: a Braintrust alternative for runtime rules
Braintrust vs Amiril, as of December 2026. Braintrust gates a release with evals. Amiril checks rules before an agent's tool call runs.
Braintrust vs Amiril, as of December 2026. Braintrust gates a release with evals. Amiril checks rules before an agent's tool call runs.
We read Braintrust's pricing page, docs and articles in December 2026 for this Braintrust vs Amiril comparison. Braintrust runs evals on your agent before you ship, and its GitHub Action can refuse a merge when the scores drop. Amiril checks rules inside the agent's process before each tool call runs, so a refund your test set never covered can still be stopped before the refund tool runs.
Braintrust AI puts "The observability agent" at the top of its homepage, with "observability and evals for the whole team" further down. It traces prompts, responses and tool calls, and runs experiments over versioned datasets with scorers written as code, as an LLM judge or filled in by a person. Its built-in assistant, Loop, writes scorers, builds datasets from production logs and looks for failure patterns.
According to Braintrust's comparison with Galileo, its GitHub Action runs the evals on every pull request, posts the scores as a comment and blocks the merge when they fall below a threshold. A production trace turns into a test case with one click.
In production the same scorers run as online scoring, in the background and at a sampling rate you set, without adding latency to the app. A scoring rule that looks at a whole trace waits 30 seconds after its last span by default. Log alerts send matches to Slack, PagerDuty or a webhook. Braintrust checks logs for them in batches and notifies at most once per interval, and the shortest interval is 5 minutes.
On Braintrust's pricing page Starter is free and Pro is $249 a month. Its startup program gives six months of Pro to new customers with at least $100k in funding, and twelve months to those backed by its partner VC firms at Series A or earlier.
Braintrust says so itself in that Galileo comparison, where the row for real-time guardrails reads "No built-in runtime blocking" on Braintrust's side, against runtime guardrails on Galileo's Enterprise tier. Cisco has since bought Galileo, and our Galileo alternative page covers what changed. Braintrust's guide to LLM guardrails is blunter, saying that because online scoring runs asynchronously, "policies that must block a response before it reaches the user still require an inline check."
That inline check matters most for tool calls. A support agent can pass its whole eval suite and then, in production, call issue_refund on an order number from the chat without ever calling lookup_order on it, a step it always took in testing. A trace-level scorer on its default timeout would see it no sooner than 30 seconds after the trace goes quiet, and the Slack alert would come in a later batch, after issue_refund had returned.
Braintrust's only "No" is in the first row. The paid plans in this Braintrust vs Amiril table both cost $249 a month.
| Amiril | Braintrust | |
|---|---|---|
| Rules checked before a tool call runs | Yes, in the agent's own process | No |
| Checks on live traffic | Every tool call, before the tool runs | Online scoring, asynchronous, at a sampling rate you set |
| Rules drafted from the agent's own history | Rule suggestions drafted from issues | Loop drafts scorers and datasets |
| Try a rule before it acts | Shadow mode and Test on past calls | Test automation previews a scoring rule |
| Problems grouped across runs | Issues, with a severity and a state | Topics and automatic pattern discovery |
| Traces in | OpenTelemetry, LangGraph, Google ADK, LiveKit, OpenAI Agents SDK, CrewAI, Anthropic SDK, Claude Agent SDK, Langfuse exports | OpenTelemetry, OpenAI and Anthropic SDKs, Vercel AI SDK, LangChain, LangGraph, Google ADK, CrewAI, Claude Agent SDK and many more |
| Starting price | Free plan; Team $249 a month | Starter free; Pro $249 a month |
A rule judges the live call itself, with its real arguments and the calls before it in the run, and decides whether it runs. The refund check above is a few lines of Amiril rule text:
@id("refund-needs-lookup") @sentence("Order {order_id} was not looked up earlier in this run") block ( agent == "support", tool == "issue_refund" ) unless { lookup_order{ args.order_id == call.args.order_id } };
The lookup_order clause looks for an earlier call in the same run with the same order id. The Amiril SDK keeps a copy of your published rules inside the agent and checks each call against it, so the check makes no network request. When the lookup is missing, issue_refund never runs. The model reads this in place of the tool's result:
The call to issue_refund was not performed. Rule refund-needs-lookup blocked it: Order 88142 was not looked up earlier in this run. Do not retry this call with different arguments or achieve the same outcome another way; tell the user it was not performed.
A rule can also add up calls across a whole session with sum and @scope("session"), to cap what one conversation refunds in total.
Amiril reads the agent's traces and ranks each run by rarity against that agent's own history, and runs that share a problem become an issue. When a rule would have stopped them, the issue gets a rule suggestion with the rule drafted and a line such as "Would have blocked 4 of 5 runs". Amiril only keeps a draft that fires on at most one in a hundred of the agent's runs outside the issue.
A published rule starts in Shadow, where it checks every call and records what it would have done while the call runs anyway. Test on past calls replays any version, an unpublished draft too, over the last 24 hours, 7 days or 30 days, and lists each call it would have fired on. When that list holds only calls you meant to stop, switch the rule to Enforce. Lowering a cap later is an edit and a publish, and running agents get the new version within about a minute with no redeploy. If Amiril can't be reached they keep enforcing the last rules they had.
Pick Amiril when your agent's costly mistakes are actions, like a refund issued or a record deleted, rather than wording. Those need a guardrail before the tool runs. Rules run through the SDK, which has adapters for LangGraph and Google ADK and wraps the tools of a LiveKit agent or a loop you wrote yourself in Python or TypeScript. Before any rule runs, Amiril can rank runs from the traces you already send over OpenTelemetry or upload as a Langfuse export with its history, and post to Slack when an issue forms at High or above, with a daily digest besides.
Braintrust keeps the evals and the merge gate, and Amiril takes the live calls. An OpenTelemetry tracer provider accepts more than one exporter, so the spans you send Braintrust can go to Amiril too, using the endpoint and key in Amiril's OpenTelemetry guide. Then add the SDK where the agent builds its tools. Calls Amiril blocks are worth adding to a Braintrust dataset as test cases, so the next prompt change is scored against them before it ships.
Not out of the box. Braintrust's guardrails guide leaves blocking to an inline check in your own code, and the Amiril SDK is a ready-made one that runs your published rules before each tool call.
For control of an agent in production, yes. Amiril ranks live runs by rarity, groups them into issues, drafts rule suggestions and enforces rules in the agent's process after a Shadow period. Teams that rely on Braintrust's merge gate can keep it and add Amiril for the live calls.
Both start free. Amiril's Team plan is $249 a month, the same as Braintrust Pro, and Braintrust offers qualifying startups six to twelve months of Pro. Amiril's plans and what each includes are on the pricing page.
In your agent's own process, through the SDK. The SDK holds your published rules in memory there and refreshes them about once a minute, and it goes on checking calls if Amiril is unreachable.
A fair Braintrust vs Amiril test uses an agent you already trace. Send its traces to Amiril, add the SDK and keep one rule in Shadow while your Braintrust evals carry on.