Guardrails

# Checked by the runtime, on every call.

Asking a model nicely is not a control. Tamtree puts guardrails in the path of every model call, and each one decides what happens next: let it through, redact it, block it, regenerate it, or hand it to a person.

-   block
-   redact
-   regenerate
-   escalate to a human
-   flag
-   retract & regenerate

What you get

## Built into the runtime.

-   ### Fast checks, in the call path
    
    PII, prompt-injection heuristics, output schema and size limits run inline, before a response is used. They can allow, redact, block or regenerate.
    
-   ### Judged checks, off the hot path
    
    Moderation, groundedness and a model-based injection classifier run right after the response, so they do not slow the conversation down. They can flag, escalate to a person, or retract and regenerate. Where a check has to block, you can move it inline.
    
-   ### PII, redacted
    
    Email addresses, phone numbers, card numbers, IBANs and high-entropy secrets are detected and redacted on the way in and on the way out.
    
-   ### Injection, contained
    
    Known jailbreak phrasings and encoded payloads are caught, and retrieved documents and tool results are fenced off as data, so the model is told they are not instructions.
    
-   ### Groundedness, checked
    
    When an agent answers from a knowledge base, its claims are checked against the passages it actually retrieved on that turn.
    
-   ### Every decision on the record
    
    Each verdict is an event on the run’s trace: which rule fired, what it saw, and what it did. Set defaults for the workspace and override them per agent or per flow.
    

In a run

## One reply, three verdicts

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

1.  An agent drafts a reply that includes a customer’s email address.
2.  The PII check redacts the address before the reply leaves the runtime.
3.  A tool result tries to smuggle in “ignore previous instructions”, and the injection check blocks it.
4.  After the reply streams, the groundedness judge confirms its claim matches a retrieved passage.
5.  All three verdicts sit on the run’s trace as guardrail events.

Questions

## Guardrails: frequently asked

What do Tamtree’s LLM guardrails check?

PII, prompt-injection heuristics, output schema and size limits run inline before a response is used. Moderation, groundedness and a model-based injection classifier run right after it.

How does Tamtree handle prompt injection?

Known jailbreak phrasings and encoded payloads are caught, and retrieved documents and tool results are fenced off as data, so the model is told they are not instructions.

Which personal data is redacted?

Email addresses, phone numbers, card numbers, IBANs and high-entropy secrets are detected and redacted on the way in and on the way out.

Can I see why a guardrail fired?

Yes. Each verdict is an event on the run’s trace: which rule fired, what it saw and what it did.

## Keep exploring

-   [← Previous Crews Multi-agent teams for open-ended work — research, triage, support — where a lead agent decides each move.](https://www.tamtree.io/product/crews/)
-   [Next → Evals Eval suites, LLM-as-judge and promotion gates, so a prompt change that hurts quality never reaches production.](https://www.tamtree.io/product/evals/)

[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
