glossary

Harness

Agent sandbox

An agent sandbox is the boundary around what code and tools are allowed to touch, including files, network hosts and credentials, so a tool result cannot reach a system the harness did not grant.

Also called execution sandbox.

Abracadabra Team Glossary

How it works

Before the harness runs a script or a tool, it builds a narrow environment. A file root lists the paths that can be read or written. A host list covers any network the process may open. Credentials the script does not need are absent, not merely hidden in a comment. The model can still ask for a forbidden path or a forbidden host. The sandbox refuses at the process boundary, which is a different event from the model declining. A refusal in prose, with the file still readable, is not a sandbox.

The boundary is per task. A ledger reconciliation may read one csv and write a total beside it. It may not read a payroll file that sits next door on the disk, and it may not post the total to a chat webhook. If the default environment is the host itself, the script inherits every mount and every token the service has. The trace should record the root, the host list, and any denial.

A worked example

June ledger script

A finance analyst asks for the credit total in the June ledger file.
The harness starts run_python in a sandbox whose file root is /ledger and whose host list is empty. The only file mounted is /ledger/june.csv.
The model writes a short script that sums the credit column. The tool runs it and returns 18420 pounds. That total is shown to the analyst.
The model then tries to post the total to a webhook. The sandbox denies the outbound connection because the host list is empty. The denial is a tool result, not a polite sentence. The model reports the 18420 pound total and says the network post did not happen.
A path outside /ledger is not readable from this process, including a payroll file on the same machine.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The sandbox root is the whole disk, the script reads the neighbouring payroll file, and the total reply includes a salary figure the analyst did not ask for.
  • The host list is empty in the config the team reads, but the process still has the default network, and the webhook receives the June total.
  • The model says it will not open the network, the sandbox was never applied, and a later tool call posts the file anyway because nothing at the process boundary checks the host.

How to measure it

For each script run, record the file root, the host list and any denial. Count runs that touched a path outside the root or opened a host that was not listed. A prose refusal with no denial event is not evidence the wall exists.

Read replies that contain figures from files the analyst did not name. If those files were mounted, the sandbox was too wide. If they were not mounted and the figure still appeared, it was invented, which is a different fault from a loose root.

Further reading

How Abracadabra helps

The analyst sees the June credit total, then sees a clear refusal when the assistant tries to send that same total off the machine at all.

Abracadabra reads each conversation and labels the task, the step where it stopped, and signals such as repeated intents, user corrections and abandonment, pinned to the turn. After you change this part of the harness, compare task success for that task and cohort with the previous period. Experimentation and guarded rollouts are in early access.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.