WhoBuilt

1,000 Agent Tasks in a Sandbox: What Breaks When LLMs Run Code

Oct 12, 2026· 15 min· 3.0K views·Watch on YouTube

Speaker

Kevin Orellana of AWS, who works on Amazon Bedrock AgentCore, explains how his team used a coding agent to run 1,000 workflows against cloud sandboxes and uncover failures.

Building an agent-driven test harness

Orellana’s team built an MCP server so coding agents could interact with its sandbox platform, then expanded from manual checks to 1,000 tests across 10 domains. They used local subagents for concurrent runs and stored results in SQLite, since Markdown files were unwieldy at that scale.

Workflows expose distinct failures

The tests covered sandbox lifecycle, file transfers, performance, and software development tasks such as writing Python and Java packages. Browser workflows included opening and scraping tabs, taking screenshots, downloading files, and automating forms. One image round trip failed because the MCP encoding layer was incorrect; another test was disrupted by a null byte.

Sandbox limits shape reliability

Orellana separates failures in the interface from failures in the sandbox itself. Browser tests often exhausted memory when opening tabs, while the code interpreter did not show that failure. File permissions, mounted or ephemeral storage, CPU, memory, and process permissions can all affect whether an agent completes its task.

Test remote environments with real workloads

LLMs can generate integration tests that reveal low-level sandbox constraints, so Orellana recommends asking an agent to complete a wide range of workflows remotely. Local tools and applications may not match those in a remote sandbox. AgentCore’s SSH access lets a coding agent inspect a sandbox to help diagnose problems.

Takeaways

  • Run broad, remote workflow tests against the environment where agents will actually execute.
  • Separate MCP or interface failures from sandbox failures to narrow debugging.
  • Include file transfers, null bytes, package installation, and process spawning in test coverage.
  • Measure memory and filesystem behavior separately for each sandboxed application.
  • Give coding agents a way to inspect remote sandboxes when workflows fail.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks