Agent sandboxes become risky when experiment state looks exactly like production state.

The table reference is the boundary

Most agent experiments start with good intent. A model needs to test a new prompt, generate a feature, repair a pipeline, or simulate a downstream action. The danger appears when that experiment touches the same table reference that human users and production jobs trust.

Apache Iceberg branches and tags give platform teams a practical boundary for that work. A branch can hold an independent line of table evolution. A tag can preserve a named snapshot for review. The ODI question is not whether agents can write to Iceberg. The question is whether every agent write lands inside a reference that has ownership, retention, approval, and rollback evidence.

Core idea: Iceberg branch and tag governance turns agent experimentation into reviewable table-state changes instead of quiet mutation of trusted data.

Iceberg already exposes the right control surface

The Apache Iceberg branching documentation describes creating, querying, and writing to branches and tags through supported library and engine integrations. The Iceberg table specification defines snapshot references, where tags label individual snapshots and branches are mutable named references.

That matters for agent sandboxes because the table reference can become a governed object. The branch name, creator, purpose, policy scope, expiration rule, base snapshot, review status, and merge decision can all be captured as evidence. No mystery spreadsheet required.

Treat every sandbox as a governed reference

  • Create agent branches with names that include owner, purpose, ticket, and expiration.
  • Require a tag before review so the exact table state can be inspected later.
  • Block direct agent writes to protected production references.
  • Record the base snapshot, policy decision, validation run, and approver before promotion.
  • Expire abandoned branches before they become shadow production tables.

This connects directly to Apache Iceberg as open data infrastructure, ODI for AI agents, and AI audit packet design. Branches and tags are not only data-engineering conveniences. They are review handles.

What breaks first

  • Agent branches live forever because nobody owns expiration.
  • Tags exist, but the approval record does not name the policy version or evaluator.
  • Promotion copies data instead of reviewing the reference change.
  • Rollback depends on tribal knowledge about which snapshot was safe.

Those failures are governance failures, not table-format failures. Iceberg can expose the reference. The platform still has to decide what the reference means.

Questions to ask before agents write

  • Which identities can create, update, tag, merge, and delete agent branches?
  • What evidence is required before a sandbox reference can affect a trusted table?
  • How long do sandbox branches live by default?
  • Can reviewers reconstruct the branch base, changes, tests, policy checks, and final decision?

Sources to start with

These primary sources anchor the technical claims in this guide.

Agent sandboxes need table-state boundaries, not trust-me write paths.