AI Sandbox

Let agent teams deliver work without handing them unrestricted authority

Imagine an engineering manager with a growing backlog of issues and several agents. A developer asks one agent to investigate a bug, another to review it and a third to prepare a pull request. An issue can contain hostile instructions, and a shared agent account can have more permissions than any one task requires.

Intended result
A prototype coordinates a bounded engineering task, produces a reviewable change and records both permitted and rejected actions. It tests whether routine work can progress without individual command approvals while keeping publication and deployment authority separate.
Human approval
Defined per workflow
Integration
Likely

01

Situation

Imagine an engineering manager with a growing backlog of issues and several agents. A developer asks one agent to investigate a bug, another to review it and a third to prepare a pull request. An issue can contain hostile instructions, and a shared agent account can have more permissions than any one task requires.

02

Current problem

Role descriptions and skills help agents work together, but cannot enforce repository, customer or credential boundaries. A model can be persuaded to use a permitted tool for the wrong purpose, or pass an unsafe request to another agent.

03

Desired change

A prototype coordinates a bounded engineering task, produces a reviewable change and records both permitted and rejected actions. It tests whether routine work can progress without individual command approvals while keeping publication and deployment authority separate.

04

Possible workflow

  1. Assign

    Define the task and accountable owner

    Set an explicit repository, base revision, paths, tools, cost and time budget. Treat issue text and messages as untrusted data, not permission to extend the task.

  2. Coordinate

    Give each specialist a bounded role

    Use a coordination runtime such as OpenRig to delegate investigation and review and retain task state. Test each recipient's permissions independently. A handoff cannot confer authority.

  3. Execute

    Run the worker in an isolated environment

    Provide only the required workspace, source context and model access. Keep publication credentials outside the worker and constrain network access.

  4. Validate

    Inspect the proposed change outside the LLM

    A trusted publisher checks the allowed operations, canonical paths, base revision and diff, rejecting escapes and unexpected files. Apply normal tests and review requirements.

  5. Publish

    Create a reviewable pull request

    Use an authorised publishing identity with scoped rights. A successful proposal is not authority to merge or deploy. Record the source task and decision evidence.

  6. Evaluate

    Exercise both the success and refusal paths

    Attempt an out-of-scope change, access to another repository, a credential read and a misleading handoff. Verify denied operations and successful bounded work, then compare owner interruptions with the current process.

05

Human control

The owner defines the objective, repositories, permitted paths, resource limits and review gates. Agents can investigate and prepare changes within those bounds. New authority, merge and production deployment remain separate decisions governed by the agreed delivery process.

06

Technology and data

GitHub Agentic Workflows (gh-aw)
A reference for separating model execution from repository writes. Safe Outputs use structured proposals and separate jobs with scoped write permissions. The actual protection depends on the selected workflow, runner and configuration. GitHub security architecture
Safe Outputs
Configure permitted output operations and limits; a trusted publishing layer must also enforce any task-specific path or diff restrictions. An API credential alone is not a file-path boundary. Safe Outputs documentation
OpenRig
A reference for persistent agent coordination, messaging and task handoffs. Its agent profiles and permission options help organise execution, but do not by themselves demonstrate process or tenant isolation. Test the actual sandbox and credentials. OpenRig documentation
Independent enforcement
Use scoped service identities, isolated workspaces or containers, network controls and deterministic policy checks. Keep privileged execution outside the agent's reach and verify the intended restrictions.

07

Test the boundary, not just the answer

Choose a disposable repository and give an agent one allowed documentation task. Separately submit a proposal touching a prohibited path, and test whether a second agent can obtain the same restricted capability through delegation. Verify the publisher refuses the invalid proposals and inspect the repository afterwards. Check actual identity and audit evidence, not only the agent's explanation.

08

Boundaries

  • This is a proposed experiment, not evidence of an already certified SynBuild runtime.
  • Neither a skill nor a separate agent session establishes a security boundary by itself.
  • A permitted operation can still contain inaccurate or harmful content; review and testing remain necessary.
  • A missing security control, failed validator or unclear authority must prevent publication.
  • No production secrets, customer repositories or deployment permissions are required for the initial synthetic pilot.