Skip to content

Sandbox-First Capability Discovery for LLM Agents

Executive summary

Sandbox-First Capability Discovery:

Before designing a workflow around an LLM agent, give the agent a safe, general environment and enough basic tools to work. Let it solve representative tasks with as few assumptions about the method as possible. Observe what it can do. Add specialised components only after experiments show that they help.

The important word is discovery. Ordinary software components have explicitly implemented behaviour. LLMs learn behaviours during training, and their possible strategies lack a complete specification. Anthropic states this directly: “we don’t understand how models do most of the things they do.” (Anthropic 2025a)

A directly relevant research result comes from Cheng et al.’s 2026 paper, originally titled LLM-in-Sandbox Elicits General Agentic Intelligence and retitled Computer Environments Elicit General Agentic Intelligence in LLMs. It deliberately gives models a minimal, general-purpose computer environment with just Bash, a file editor and a finish action. Its two stated design principles are minimal and exploratory: preserve basic computer capabilities and encourage the model to “freely experiment within this environment”. Strong models spontaneously installed tools, used files to handle large inputs and wrote programs to check their own outputs. The authors report gains across six non-coding domains, although weaker models sometimes became worse when given the same sandbox. (Cheng et al. 2026)

This provides experimental support for the capability-elicitation premise. The research result and the proposed engineering method have distinct scopes:

LLM-in-Sandbox asks whether a computer environment can elicit more model capability.

Sandbox-First Capability Discovery is the proposed engineering method around that idea: start with a broad but bounded environment because the capability space is uncertain; learn from actual tasks; then progressively formalise the tools and structures justified by repeated evidence.

The primary sources reviewed do not establish a methodology using this exact name. Related ideas include LLM-in-Sandbox, CodeAct, ReAct, sandboxed autonomy, Anthropic’s simple-agent guidance, OpenAI’s harness engineering, YAGNI/evolutionary design and Sutton’s Bitter Lesson. These support parts of the proposed sequence without establishing it as a single named methodology. (Cheng et al. 2026; Wang et al. 2024; Yao et al. 2023; Anthropic 2026a; Anthropic 2024; OpenAI 2026a; Fowler, YAGNI; Sutton 2019)

The first-principles argument is simple:

  1. An LLM agent’s capabilities are not completely known in advance.
  2. Its observed ability depends on its environment and available tools.
  3. A prescribed workflow removes possible ways of solving the task.
  4. During capability discovery, unnecessary workflow restrictions can hide useful behaviour.
  5. A sandbox leaves more solution paths open while limiting what the agent can affect.
  6. Repeated observations of useful patterns or failures can guide the design of tools, components and workflows.

That is the core of the approach.

The Sandbox-First principle

A concise definition is:

Start with the agent in a safe, general-purpose sandbox. Give it the goal, the information it needs and a small set of powerful tools. Leave the solution method open. Observe what it does before deciding how the agent architecture should work.

“Few restrictions” needs one important qualification.

There are two different kinds of restriction:

RestrictionSandbox-First position
What sequence should the agent follow?Keep open initially
Must it plan first?Don’t require it initially
Must another agent review it?Don’t require it initially
Must SQL go through a special SQL agent?Don’t assume so initially
Can it write scripts or compose tools?Usually yes
Can it create temporary files or programs?Usually yes
Can it damage production?No
Can it access arbitrary secrets?No
Can it spend without limit?No
Can one experimental run contaminate another?No

So the approach is open about method and strict about consequences.

The sandbox therefore serves both containment and capability discovery: enforced boundaries allow the agent more room to act within the environment.

Anthropic makes essentially this security argument in its containment work: models can have substantial autonomy inside filesystem, network and process boundaries while the surrounding sandbox limits the possible blast radius. OpenAI’s Codex likewise runs work in isolated environments, and OpenAI’s 2026 Agents API treats the agent’s compute environment as a first-class part of the system. (Anthropic 2026a; OpenAI 2025; OpenAI 2026b)

The 2026 LLM-in-Sandbox paper goes a step further and treats the environment as a capability mechanism. Its minimal configuration contains three basic actions:

  • Bash: run commands, programs and install or create further tools.
  • File operations: read, write and organise information.
  • Finish: indicate that the task is complete.

The researchers intentionally avoid domain-specific additions. From those primitives, stronger models spontaneously acquired or built what they needed. In one chemistry example, a model installed Java and a chemistry package; on long documents it used grep, sed and Python; on a constrained writing task it wrote verification programs. (Cheng et al. 2026)

That leads to a useful concept:

A general tool is a capability multiplier because the agent can compose it into actions that the system designer did not explicitly enumerate.

CodeAct reached a similar conclusion earlier. Wang et al. used executable Python as the agent’s action space rather than requiring every action to be represented by a predefined textual or JSON action. Across their experiments, executable code allowed agents to compose operations, keep intermediate state and react to execution results; they reported success-rate improvements of up to 20 percentage points over their tested alternatives. (Wang et al. 2024)

This is the proposed workbench:

    flowchart TD
    U[Task / user goal] --> A[Agent loop]
    A --> M[LLM]
    M --> A

    subgraph S["Isolated sandbox"]
        SH[Shell / Bash]
        FS[Files]
        PY[Python / code execution]
        DT[Task tools: SQL, APIs, CLI]
        OUT[Result / artefacts]
    end

    A --> SH
    A --> FS
    A --> PY
    A --> DT

    SH --> A
    FS --> A
    PY --> A
    DT --> A

    A --> OUT

    B[Safety boundaries<br/>network · credentials · filesystem · resources] --> S
    R[Reset / snapshot] --> S

    A --> L[Trace log]
    S --> L
    OUT --> E[Outcome evaluator]
    L --> E
  

A subtle point matters here: Sandbox-First does not discover “all possible capabilities”. No finite set of experiments can establish that. It discovers an expanding set of observed capabilities under known conditions. A capability is therefore better recorded as:

Model M, with environment E, tools T, instructions P and budget B, succeeds on task class C with reliability R.

That formulation prevents statements such as “the model can’t do X” after one badly designed interface, or “the model can do X” after one lucky attempt.

Sandbox-First does not replace ordinary software-engineering principles. Several of them explain different parts of it.

PrincipleBasic ideaRelationship to Sandbox-First
LLM-in-SandboxGive the LLM a minimal computer environment and let it explore.Closest technical neighbour. It directly tests the claim that general computer primitives can expose capabilities without predefined domain workflows. (Cheng et al. 2026)
CodeActLet agents act through executable code.Supports using a general action substrate from which the agent can compose operations. (Wang et al. 2024)
ReActAlternate model reasoning/actions with observations from the environment.Supplies the minimal agent loop: act -> observe -> decide again. It does not prescribe the higher-level workflow. (Yao et al. 2023)
Sandboxed autonomy / containmentAllow autonomy inside enforced technical boundaries.Makes open exploration practical without giving the agent equivalent freedom over production systems. (Anthropic 2026a)
KISS / Simple DesignKeep the design as simple as the present problem permits.Supports beginning with one agent and basic tools before introducing graphs, routers, specialised agents or other machinery. Fowler’s discussion of evolutionary design makes this explicit. (Fowler, Is Design Dead?)
YAGNIDon’t build anticipated functionality before it is needed.Says not to build planner agents, memory systems, workflow DSLs, etc. merely because the architecture might need them later. (Fowler, YAGNI)
Avoid premature abstractionGeneralise after the relevant cases are understood.Supports observing several tasks/projects before extracting common agent components. Metz argues that the wrong abstraction can cost more than temporary duplication. (Metz 2016)
Evolutionary / harvested designBuild applications first and extract shared infrastructure from experience.Supports learning across projects and turning repeated needs into shared components. Fowler describes this as a “harvested platform”. (Fowler, Harvested Platform)
Bitter LessonGeneral methods that can exploit increasing computation have repeatedly beaten large amounts of hand-built domain knowledge over the long run.Provides a reason to question architectural constraints based on a designer’s preferred solution. It is an analogy and historical lesson, not direct evidence that every agent should be minimally constrained. (Sutton 2019)
Harness engineeringImprove the environment, tools, feedback and information surrounding the model.Becomes especially important after discovery exposes bottlenecks. OpenAI reports that an underspecified environment initially limited its agents; engineering the surrounding environment became a major part of the work. (OpenAI 2026a)
Agent-oriented tool designDesign tools based on how models actually use them, then evaluate and revise them.Provides the feedback loop after the baseline: prototype -> observe traces -> evaluate -> improve interfaces. Anthropic explicitly recommends this experimental cycle. (Anthropic 2025b)

The Bitter Lesson deserves careful wording. Sutton’s argument is that AI history repeatedly favoured general methods able to absorb more computation–especially search and learning–over hand-coded human knowledge. (Sutton 2019) It does not prove that an agent graph is bad or that specialised tools are bad.

The connection is narrower:

Avoid encoding an assumed solution method when a more general mechanism can discover a solution.

Sandbox-First applies this idea at the agent-system level. A shell, filesystem, code interpreter and useful external services are general mechanisms. “Planner agent -> SQL agent -> critic agent -> formatter agent” is a much stronger claim about how the solution should happen.

Anthropic’s agent-engineering guidance reaches a similar practical conclusion from experience: its teams found successful implementations commonly used “simple, composable patterns” and recommend adding complexity when it demonstrably improves results. They distinguish fixed workflows from agents precisely by whether code determines the path or the model dynamically chooses it. (Anthropic 2024)

Unknowns in LLM agent capability

The main unknown is not simply “how intelligent is the model?”. The useful unit is the model interacting with an environment.

Five questions matter.

Capability: What tasks can this model actually complete when it can investigate, compute, create intermediate artefacts and try alternatives?

Tool use: What new capability appears with Bash, Python, SQL, browsing, files, APIs or other tools? Can the agent compose them in ways that were not explicitly designed?

Conditions: Which instructions, tool interfaces, context, environment feedback and runtime affordances are needed for the capability to appear?

Component interactions: Does adding planning, review, memory, another agent or another tool improve the whole system? Under which task structures?

Dependability: How often does an observed successful behaviour recur, including on slightly different cases?

Research provides partial answers, but the reviewed evidence does not establish a general formula for predicting them in advance. (Cheng et al. 2026)

WorkAuthors / yearMethodMain finding relevant hereUnknown addressed
Computer Environments Elicit General Agentic Intelligence in LLMsCheng, Huang, Gu, Song, Chen, Dong, Zhao, Wen & Wei, 2026Seven models; minimal sandbox; six non-code domains; compare ordinary generation with sandbox interactionStronger models spontaneously use files, external resources and code and often improve; weaker models can fail to exploit the same environment. Current v3 reports gains up to 15.5% and up to 8× lower token use in long-context cases. (Cheng et al. 2026)Capability, tool use, conditions
ReActYao et al., 2022/23Interleaves reasoning with actions and observationsEnvironment feedback lets the model gather information and revise what it does next. (Yao et al. 2023)Tool use
VoyagerWang et al., 2023Open-ended Minecraft agent with environment feedback and executable skill libraryShows an LLM-based agent can explore, create reusable executable behaviours and build on previous discoveries in an open-ended environment. (Wang et al. 2023)Capability, open-ended discovery
CodeActWang et al., 2024Executable Python as unified action spaceCode can be a general way of combining tools, computation and state, and outperformed tested action formats on its benchmarks. (Wang et al. 2024)Tool use
SWE-agentYang et al., 2024Same underlying class of models paired with interfaces designed for repository workAgent performance depends strongly on the interface between the LLM and computer; the environment can expose or obstruct capability. (Yang et al. 2024)Conditions
τ-benchYao, Shinn, Razavi & Narasimhan, 2024Agents interact with users and state-changing tools; checks final database state and repeated successAn agent that succeeds sometimes may still be poor at succeeding consistently. The work introduced pass^k to measure repeated reliability. (Yao et al. 2024)Dependability
Measuring AI Ability to Complete Long TasksKwa, West, Becker et al., 2025Measures success probability against the time humans need for software tasksCapability changes sharply with task horizon; performance on short tasks does not imply equivalent ability on longer work. (Kwa et al. 2025)Capability, dependability
Towards a Science of Scaling Agent SystemsKim et al., 2025/26Controlled comparison of 180 single- and multi-agent configurationsMulti-agent designs helped on some parallelisable work and hurt on sequential work; architecture effects depend on task structure. (Kim et al. 2025)Component interactions
Tracing the Thoughts of a Large Language ModelAnthropic, 2025Mechanistic-interpretability studies of model computationModels learn internal strategies that researchers did not explicitly program or fully understand; observed mechanisms included planning-like behaviour. (Anthropic 2025a)Why capability must be empirically explored

This evidence leads to an important rule for interpreting failures:

A failed agent run is evidence that this configuration failed. It is not yet evidence that the model lacks the capability.

SWE-agent is a clear example. Changing the computer interface changed what an agent could accomplish. (Yang et al. 2024) OpenAI reports a similar effect from production engineering: its agents initially struggled because their environment lacked the tools, information and structure they needed; improving that harness changed the outcome. (OpenAI 2026a)

The opposite is also true:

One successful run establishes possibility, not dependability.

τ-bench and Anthropic’s evaluation guidance both emphasise repeated trials. Anthropic recommends evaluating final environment state where possible, isolating trials and avoiding graders that unnecessarily require one particular action sequence. (Yao et al. 2024; Anthropic 2026b)

Those two statements–failure does not establish inability; success does not establish reliability–are probably among the most important foundations for capability-discovery engineering.

The experimental workbench

The proposed initial workbench uses a minimal agent loop and general tools. Framework features and multi-agent coordination can be added after the baseline exposes a specific need.

The capability core can be:

ComponentInitial formReason
ModelOne capable LLMEstablishes a baseline before composition effects enter
System promptGoal, environment description and basic operating rulesAvoid encoding a proposed workflow
Agent loopModel -> tool call -> result -> model, until finishThis is enough for ReAct-style interaction. (Yao et al. 2023)
SandboxIsolated Linux/container/VMLets the model experiment without equivalent access to the host or production. (Anthropic 2026a)
ShellBash or equivalentA general computer interface
FilesystemTemporary working directoryExternal memory, artefacts, intermediate state
Code runtimePython plus package installation where safeComputation and creation of temporary tools
Domain accessFor example, read-only SQL, APIs, source filesGives the agent access to the actual problem
Finish/outputExplicit result or output directoryProvides a clean completion contract

This is almost exactly the experimental baseline used by Cheng et al.: Bash + file editor + finish, with the model permitted to install or construct further tools. (Cheng et al. 2026)

For SQL tasks, the proposed baseline is a scoped SQL client/tool, a discoverable schema, files and Python. A SQL planner, analyst agent, reviewer agent or graph would be an additional component requiring evidence of value.

Separately, the experimental core should exist from the start:

Isolation and reset. Every trial should start from a known state. Database writes should either be prohibited, transactional/rollbackable or run against disposable copies. Anthropic’s evaluation guidance recommends isolated environments so trials do not contaminate one another. (Anthropic 2026b)

Trace logging. Record model/version, system prompt, task, tools available, tool calls, outputs and errors, files changed, database effects, tokens, elapsed time and final result. Anthropic distinguishes the agent trace from the final environmental outcome because both are useful for different purposes. (Anthropic 2026b)

Outcome evaluation. Prefer checks on the result or resulting state. If the task is “find these customers and produce a CSV”, check the CSV and the answers. A correct result should not fail evaluation solely because the tool-call order differed from an anticipated sequence, unless that sequence was itself a task requirement. (Anthropic 2026b)

Repeatability. Run important tasks several times. Record ordinary success rate and a strict reliability measure such as pass^k: whether all of kk repeated attempts succeed. (Yao et al. 2024)

Resource boundaries. Set time, tool-call, token, CPU, memory, disk and network limits. Keep production credentials outside the sandbox or expose them through tightly scoped interfaces. Anthropic’s containment work treats filesystem and network boundaries as enforcement mechanisms, while OpenAI’s Codex architecture similarly uses isolated execution. (Anthropic 2026a; OpenAI 2025)

The metrics can stay simple:

MetricWhat it answers
Task successCan it do the task?
Success over repeated trialsDoes it do it consistently?
Success on changed examplesDoes the observed behaviour transfer beyond one example?
Human interventionsHow independently can it work?
Tokens / cost / timeWhat does the capability cost?
Tool calls / retries / errorsWhere is it struggling?
Boundary violationsDoes the environment contain unsafe attempts?
Successful solution pathsWhich solution strategies emerged?

Record solution-path diversity as an observation rather than an optimization target. It can reveal unanticipated strategies.

Testable engineering principles

The principles can now be stated in plain language and tied to experiments.

Start sandbox-first

When agent capability is uncertain, begin with a general, safe environment and representative tasks.

Why: a broad computer environment can expose capabilities that do not appear in plain prompting or narrowly designed workflows. This now has direct experimental evidence from LLM-in-Sandbox. (Cheng et al. 2026)

Test: compare the agent with and without that environment on the same tasks.

Put hard limits on effects and leave solution paths open

Control what the agent can affect. Avoid prescribing how it must solve the task unless the method itself is a requirement.

Why: the sandbox lets exploration and containment coexist. (Anthropic 2026a)

Test: compare a goal-based prompt against a prompt requiring a particular plan or sequence.

Give general tools before specialised workflows

Begin with useful primitives–files, code, shell, data access and APIs–and see what the agent can compose from them.

Why: CodeAct and LLM-in-Sandbox both show that executable environments let models combine basic operations into higher-level behaviour. Anthropic’s code-execution work similarly finds advantages in letting agents filter, chain and transform tool results programmatically. (Wang et al. 2024; Cheng et al. 2026; Anthropic 2025c)

Test: compare a small general toolset against a larger collection of task-specific tools.

Experiment before abstracting

See the same need more than once before turning it into a shared agent component.

Why: this applies YAGNI and avoidance of premature abstraction to agent systems. An additional reason in LLM systems is that a general-purpose agent may already perform work otherwise assigned to a custom component. (Fowler, YAGNI; Metz 2016)

Test: introduce the proposed abstraction only after collecting representative traces, then evaluate it against the original baseline.

Measure outcomes and repeat runs

A successful demo shows possibility. Repeated success shows dependability.

Why: agent outputs vary. τ-bench shows that average success can hide poor consistency, and Anthropic recommends multiple isolated trials and outcome-based evaluation. (Yao et al. 2024; Anthropic 2026b)

Test: repeat the same tasks and perturb wording, data and starting conditions.

Make every added component prove its value

Retain a planner, reviewer, memory system, extra agent or framework only when experiments demonstrate an improvement against explicit system objectives.

Why: architecture effects are conditional. Google’s 180-configuration study found that multi-agent approaches helped some task structures and hurt others. Anthropic’s long-running-agent work likewise added specific harness mechanisms in response to observed long-horizon failures. (Kim et al. 2025; Anthropic 2025d)

Test: run an ablation–remove the component–and see what changes.

These rules produce progressive formalisation:

    flowchart TD
    A["General sandbox<br/>minimal agent"] --> B["Run real tasks"]

    B --> C["Observe capabilities,<br/>failures and repeated patterns"]

    C --> D["Form a specific hypothesis<br/>for a component"]

    D --> E["A/B test the change"]

    E -->|helps consistently| F["Keep the smallest<br/>useful component"]
    E -->|does not help| B

    F --> G["Validate on new tasks<br/>and new projects"]

    G --> H["Shared tools / skills /<br/>workflow where justified"]

    H --> I["Periodically remove or<br/>simplify components"]

    I --> B
  

The architecture therefore has a different source than a framework-first design.

A framework-first process may begin with concepts such as agents, nodes, graphs, planners, routers, memory and supervisors, then map the problem into them.

Sandbox-First begins with tasks and observed behaviour. Components address repeated needs and failures identified through experiments.

That does not imply that the final system stays simple. It may eventually contain planners, reviewers, specialised tools, multi-agent coordination and strict workflows. The principle is that those structures are conclusions from experiments, not initial assumptions.

Next experiments and prioritised sources

The following experiments would test the proposed method directly.

ExperimentSetupWhat to look forDecision rule
Sandbox upliftSame model and tasks: direct answer vs minimal sandbox with files/Bash/Python/SQLNew solution strategies, success, cost, retriesKeep the sandbox as the default capability baseline where it improves useful task classes enough to justify cost
Open method vs prescribed workflowSame environment; one condition gets only the goal, another must plan -> execute -> reviewSuccess, repeatability, cost; cases where each condition winsRequire the workflow only for task classes where it repeatedly improves the outcome
General primitives vs specialised toolsBash/Python/SQL/API access versus several predefined higher-level toolsWhether the model successfully constructs operations itself; token/tool overhead; errorsPromote a repeated operation to a specialised tool when doing so reliably improves quality, safety or cost
Component ablationAdd planner, reviewer, memory or extra agent one at a timeImprovement by task type; especially sequential vs parallel workKeep a component only where its measured gain survives repeated trials and new cases
Reliability testRun representative cases 5-10 times, then alter wording/data while preserving intentSuccess distribution, pass^k, failure modesTreat a capability as dependable only at the reliability level required by the use case
Harvest across projectsAfter several projects, identify one recurring need; build one shared component and test it on a project that did not shape its designWhether the abstraction transfers without forcing unrelated cases into the same shapeShare it only when held-out projects benefit; otherwise leave the implementations separate

The third and sixth experiments test two central assumptions of the method: whether general primitives already support work that might otherwise require a custom implementation, and whether a recurring need is stable enough to justify a shared component.

The capability record above (model, environment, tools, instructions, budget, task class, reliability) is the engineering form of the response-profile account in Dispositions as response profiles. What it does not yet do is vary a property of the task class and record how reliability changes; Measuring dispositions describes that step, and Capability claims and empirical method maps the two accounts onto each other.

Prioritised bibliography

PriorityPrimary sourceWhy it is useful for this approach
EssentialCheng et al., 2026, Computer Environments Elicit General Agentic Intelligence in LLMsThe closest research result to Sandbox-First. Minimal general sandbox, exploratory behaviour, three computer meta-capabilities, seven models and six domains. It also gives an important negative result: weaker models can become worse in an open computer environment. (Cheng et al. 2026)
EssentialWang et al., 2024, Executable Code Actions Elicit Better LLM Agents – CodeActStrong evidence for executable code as a broad action space from which an agent can compose higher-level operations. (Wang et al. 2024)
EssentialYang et al., 2024, SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringShows that the environment/interface is part of observed capability. Useful protection against concluding “the model can’t do it” when the interface may be the problem. (Yang et al. 2024)
EssentialYao et al., 2024, τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World DomainsBest foundation here for distinguishing occasional capability from repeated reliability and for checking final state rather than trusting the agent’s own statement of success. (Yao et al. 2024)
EssentialAnthropic, 2026, Demystifying evals for AI agentsPractical experimental method: tasks, trials, graders, traces, isolated environments, repeated runs and outcome-based evaluation. (Anthropic 2026b)
HighAnthropic, 2024, Building effective agentsStrong industry argument for starting with simple composable systems and introducing agent complexity only when needed. (Anthropic 2024)
HighOpenAI, 2026, Harness engineering: leveraging Codex in an agent-first worldShows the next phase after capability discovery: improve tools, context, feedback and the environment when observed failures show what agents are missing. (OpenAI 2026a)
HighKim et al., 2025/26, Towards a Science of Scaling Agent SystemsControlled evidence that architecture is conditional: multi-agent systems can help or hurt according to task structure. Important evidence against assuming that more agent components are inherently better. (Kim et al. 2025)
HighAnthropic, 2025, Writing effective tools for agents – with agentsPractical method for discovering good tool interfaces through prototypes, real tasks, traces and evaluation. (Anthropic 2025b)
HighAnthropic, 2026, How we contain Claude across productsThe safety side of Sandbox-First: give agents useful room to act while enforcing technical boundaries around files, networks and other consequences. (Anthropic 2026a)
FoundationYao et al., 2022/23, ReAct: Synergizing Reasoning and Acting in Language ModelsThe basic environment-interaction loop underlying much subsequent agent work: act, observe and adapt. (Yao et al. 2023)
FoundationWang et al., 2023, Voyager: An Open-Ended Embodied Agent with Large Language ModelsEarlier demonstration of open-ended exploration, environmental feedback, executable skill creation and accumulation of discovered behaviours. (Wang et al. 2023)
FoundationSutton, 2019, The Bitter LessonBroader intellectual foundation for favouring general mechanisms capable of discovering solutions over extensive hand-coded ideas about how problems should be solved. It should be treated as an analogy for agent architecture, not direct experimental evidence for Sandbox-First. (Sutton 2019)
Software engineeringFowler, YAGNI and Is Design Dead?Existing engineering language for postponing speculative functionality and letting design evolve as knowledge grows. (Fowler, YAGNI; Fowler, Is Design Dead?)
Software engineeringMetz, 2016, The Wrong AbstractionGood grounding for waiting until the common structure is understood before extracting a reusable component. (Metz 2016)

The research therefore supports a fairly precise formulation of the approach:

Sandbox-First Capability Discovery is an engineering method for systems whose useful agent capabilities are not known in advance. Start with a minimal agent in a safe, general computer environment; expose powerful basic tools and real tasks; observe and measure what emerges; then add tools, rules and architecture only when repeated evidence gives them a clear job.

And the shortest version of its underlying law is:

When capability is unknown, preserve the space in which capability can be discovered.

A sandbox is what makes that practical: broad freedom of method inside a narrow boundary of consequences. The research from Cheng et al. makes that more than a software-design analogy–their minimal, exploratory computer environment actually elicited useful behaviours that had not been encoded as predefined workflows. (Cheng et al. 2026)

Library sources

Further reading:

References