Agent Sandbox · train, evaluate, harden

Where AI agents prove they're right.

Agent Sandbox gives your agents isolated, reproducible environments to practise real tasks against known answers. You measure exactly how accurate they are, find where they fail, and improve them before they reach customers.

Runs on your cloud, your GPUs or ours
sandbox · eval runexample
suite   invoice-exceptions · 500 scenarios
agent   ap-agent v14 → v15
env     isolated · network: allowlist · fs: scratch

running ███████████████████████  500/500

            v14     v15
precision   0.81    0.92 ▲
recall      0.74    0.86 ▲
F1          0.77    0.89 ▲
task pass   71%     84% ▲
unsafe act  3       0   ▲

gate    F1 ≥ 0.85 and unsafe = 0  PASS
traces  500 saved → fine-tuning set

The problem

Agents rarely fail loudly. They fail quietly, at scale.

An agent that misses one exception in ten, or acts on a wrong tool result, still looks fine in a demo. Reaching production accuracy takes a place where it can run thousands of realistic tasks safely, a set of correct answers to grade against, and numbers that show what "better" means.

Measuring accuracy

Precision, recall and F1, explained.

"Accuracy" alone hides the mistakes that matter. When an agent has to find things, such as fraudulent invoices, contract risks or patients needing follow-up, every result falls into one of four boxes. The metrics below come from those four counts.

Precision TP ÷ (TP + FP)

Of everything the agent flagged, how much was actually right. Low precision means false alarms: your team wastes time checking things that were never a problem.

Recall TP ÷ (TP + FN)

Of everything that should have been flagged, how much the agent found. Low recall means misses: the costly items slip through unnoticed.

F1 score 2 · P · R ÷ (P + R)

The harmonic mean of precision and recall. It is high only when both are high, so an agent can't game it by flagging everything (high recall, poor precision) or almost nothing (high precision, poor recall).

The trade-off

Most agents decide using a confidence threshold. Raise it and precision usually rises while recall falls; lower it and the reverse happens. The right setting depends on which mistake costs your business more. Try it on the right.

Try it: an agent screening 1,000 invoices

100 of them are genuinely fraudulent. Move the threshold to see how the four counts and the scores change. Illustrative data.

Agent flagged
Agent passed
Fraud
0true positive
0false negative · missed
Clean
0false positive · false alarm
0true negative
precision0
recall0
F10

Task success rate

The share of multi-step tasks the agent completes correctly from start to finish.

Tool-call accuracy

Whether the agent chose the right tool with the right arguments at each step.

Safety violations

Actions outside policy, such as unapproved payments, data access or deletions. The target is zero.

Consistency

Whether repeated runs of the same task give the same answer, measured across several attempts.

How sandboxes raise accuracy

A proving ground, not a demo.

Ground truth

Scenarios with known answers

Realistic tasks built from your workflows, with planted issues the agent must find, so every run can be graded automatically.

Isolation

Safe to fail

Each run gets a disposable environment with controlled network, files and credentials. Agents can act for real without touching production.

Reproducibility

Same start, every time

Environments are reset to an exact state, so a score change reflects the agent rather than the test.

Traces

See every step

Every reasoning step, tool call and result is logged, so you can see exactly where a wrong answer started.

Training

Learn from runs

Successful and corrected trajectories become data for fine-tuning and reinforcement learning, so the agent improves on your own tasks.

Gates

No silent regressions

Every new prompt, model or tool runs the suite first. A release ships only if it clears your precision, recall and safety thresholds.

Offerings

Use the platform, or let us run the programme.

Platform

Sandbox runtime

Isolated, resource-limited environments for agents to execute code, browse and use tools, deployed in your cloud or on-premise.

Evaluation

Custom test suites

Scenario libraries and labelled answers built from your domain, with precision, recall, F1 and task-success reporting.

Training

Training environments

Environments and reward checks for reinforcement learning, plus curated trajectories for supervised fine-tuning.

Hardening

Red-team & release gates

Adversarial scenarios, safety policies and automated gates wired into your release pipeline.

Process

From first baseline to production gate.

Scope

Pick the agent, its tasks, and which mistakes cost you most.

Build the suite

Turn real cases into scenarios with labelled answers.

Baseline

Measure today's precision, recall, F1 and task success.

Improve

Fix prompts and tools, fine-tune, and re-measure each change.

Gate

Lock the thresholds into every release.

Contact

Measure your agent in two weeks.

Tell us which agent you're building and what it must get right. We'll propose a baseline evaluation on a sample of your tasks.

Or email [email protected]