Risk assessment for AI agents

Find every scenario where your agent does something it shouldn't.

TetraRisk generates the scenarios most likely to make your AI agent fail, simulates them, and turns every confirmed failure into a regression test that runs on every change.

The failures that matter most are the ones nobody has found yet.

Every change to an agent, whether a new model, a prompt edit or a new business rule, can break behavior that used to work. Those breaks usually surface later, in front of real users.

01

Unknown failures ship

Anything not caught before release is found later by reviewers, partners or production traffic, when it is most expensive to fix.

02

You can't simulate everything

The space of possible conversations is too large. Scenarios have to be chosen to uncover new failures within a limited simulation budget.

03

What you know is scattered

Past failures live in tickets, chat threads, commit history, eval findings and production logs, so they aren't rechecked on every change.

A risk is any scenario where the agent's actual behavior deviates from its expected behavior. Expected behavior comes from requirements, business rules and past fixes. Actual behavior is what the agent does when the scenario is simulated. Every risk is concrete and reproducible, so it can be kept as a regression test.

How TetraRisk works

It reads your agent and its requirements, hunts for failures adaptively, and builds a growing library of risks that is rechecked on every change.

STEP 1

Read the agent and its requirements

Prompts, scripts, configuration, knowledge content, test personas and business rules: everything the agent has in place before it ships.

STEP 2

Generate adversarial scenarios

The scenario generator designs conversations meant to make the agent fail. It digs deeper wherever it finds deviations and moves on from areas that pass cleanly.

STEP 3

Simulate on your stack

Scenarios run on the simulation setup you already have, within a time budget you set. TetraRisk is not a new simulator and never touches production.

STEP 4

Grow the Risk Library

Each failure, once your team confirms it, is saved with its expected behavior. The library grows with every run.

STEP 5

Regression-test every change

On every pull request, the whole Risk Library runs alongside new scenarios, and a report is posted the way a code-review bot would.

STEP 6

Migrate models with confidence

On a model change, the current model's behavior becomes the expected behavior, so anything the new model does differently is flagged for review.

A risk report on every pull request

An engineer changes how a welcome-call agent collects the user's doctor. TetraRisk runs 36 regression tests from the Risk Library plus 176 new scenarios, and posts this on the PR.

ScenarioExpected behaviorActual behaviorTypeResult
User names their doctor early in the callNever asks about their doctor againAsks again twiceRegression testFail · Blocker
User answers the doctor question, then changes the answerRecords the corrected answer and moves onKeeps the first answer and asks againNew scenarioFail · Added to library
User asks about a benefit not in their planSays it isn't covered and offers supportSays it isn't covered and offers supportRegression testPass
User asks to speak to a nurse about a billing questionTransfers to support and explains nurses handle health questionsPromises a nurse will call backNew scenarioFail · Added to library
36 regression tests + 176 new scenarios · 5 failures (1 regression, 4 new) · 4 scenarios added to the Risk Library

Illustrative example. All rows are made up.

One API call

TetraRisk runs automatically on every commit pushed to a pull request that changes your agent. You can also call it directly.

from tetrarisk import TetraRisk

tetra = TetraRisk(api_key="...")

job = tetra.assess_risk(
    agent_id="welcome-call",
    agent_version="a1b2c3d",          # the commit just pushed
    requirements={
        "spec": "docs/welcome-call.md",
        "test_personas": ["persona-01", "persona-02"],
        "knowledge": ["plan-benefits-2027"],
    },
    trigger={"type": "pr_commit", "pr": "PR-2210"},
    simulation_budget_minutes=600,
)
report = job.wait()

report.summary
# {"regression_tests_run": 36, "new_scenarios_run": 176,
#  "failures": {"regression_test": 1, "new_scenario": 4},
#  "added_to_risk_library": 4}

Illustrative. Names and fields may change.

Proven by going back in time

We take an earlier version of your agent and hide every failure that was found on it later. Then we measure how many of those failures TetraRisk finds, and how much simulation it needs to find them.

  • Backtest catch rate. Known failures caught versus simulated minutes, compared against your current approach and commercial alternatives.
  • New failures. Failures your team confirms that were never reported before.
  • No leakage. The generator only sees requirements as they were at that time.
TetraRisk Commercial Baseline Simulated minutes Known failures caught

Illustrative curve showing what the backtest measures.

Built for teams that ship agents

Agent engineers

A risk check on every change, including model migrations, with a regression suite that grows from every run.

Customer success and deployment

A growing record of confirmed failures to check before go-live or migration.

Engineering leadership

A clear measure of how confidently an agent can ship.

TetraRisk is not a new simulator. It doesn't replace human evals, and it never touches production.

Know the risk before you ship.

We run a pilot on one of your agents, backtest it against failures you've already found, and show you what we catch.

Book a pilot