Evals

# CI for agent behavior.

A prompt is code that nobody compiles. Tamtree treats a change to an agent like a change to software: it runs a suite, gets a score, and does not publish if the score falls short.

-   eval suites
-   LLM-as-judge
-   simulate mode
-   promotion gates
-   online evals
-   drift alerts

What you get

## Built into the runtime.

-   ### Suites of real cases
    
    Each case is an input plus assertions: exact or partial matches, regex, JSON schema, which tools were or were not called, and limits on cost, latency and tokens.
    
-   ### LLM-as-judge
    
    For answers with no single right string, a judge model scores the output against a rubric you write, each with its own pass threshold.
    
-   ### Simulation, not side effects
    
    Eval runs execute in simulate mode: tools that would change something return recorded fixtures or valid mocks instead. Grading an agent never sends the email.
    
-   ### Promotion gates
    
    Publishing is blocked unless every suite attached to the gate meets its threshold. The score is stored on the version, so you can always see what it earned.
    
-   ### Watching after release
    
    Online evals sample production runs and judge them, and a drift alert fires when quality slips below what the version scored at its gate.
    
-   ### From trace to test
    
    Turn any step of any run into an eval case in one action, and user feedback on a run seeds new cases automatically.
    

In a run

## A prompt change, gated

What evals do while a run is actually happening, step by step.

1.  You edit an agent’s instructions and save a draft.
2.  Publishing runs the attached suites against the draft in simulate mode.
3.  The draft scores below the gate’s threshold, so the publish is refused and the current version keeps serving.
4.  You open the failing cases, fix the instruction, and publish again.
5.  The new version clears the gate and goes live, with its score recorded against it.

Questions

## Evals: frequently asked

How do evals work in Tamtree?

An eval suite is a set of cases, each an input plus assertions: matches, regex, JSON schema, which tools were called, and limits on cost, latency and tokens. For open-ended answers, an LLM judge scores the output against your rubric.

What is a promotion gate?

Publishing is blocked unless every suite attached to the gate meets its threshold. The score is stored on the version, so you can always see what it earned.

Do eval runs send real emails or change real data?

No. Eval runs execute in simulate mode: tools that would change something return recorded fixtures or valid mocks instead.

Does Tamtree catch quality drift after release?

Yes. Online evals sample production runs and judge them, and a drift alert fires when quality slips below what the version scored at its gate.

## Keep exploring

-   [← Previous Guardrails PII, prompt injection, moderation and groundedness checks on every model call — enforced by the runtime, not requested of the model.](https://www.tamtree.io/product/guardrails/)
-   [Next → Knowledge Built-in knowledge bases ground agents on your own documents, and long-term memory carries context across conversations.](https://www.tamtree.io/product/knowledge/)

[All of the product](https://www.tamtree.io/product/)  [How a workflow goes from draft to production](https://www.tamtree.io/how-it-works/)  [Tamtree vs n8n, Zapier and Make](https://www.tamtree.io/blog/tamtree-vs-n8n-zapier-make/)

## Be first in line.

Tamtree is launching soon. Leave an email and we will tell you when early access opens.

NO SPAM · UNSUBSCRIBE IN ONE CLICK
