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.
1,000 Agent Tasks in a Sandbox: What Breaks When LLMs Run Code
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.
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.
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.
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
- feature
Amazon Bedrock AgentCore: Provides sandbox hosting and tools for building and hosting agents in the cloud.
“It's a sandbox hosting environment or platform”
YouTube Unverified1 source· Talk
- works atKevin Orellana works at
AWS
“I work on Amazon Bedrock AgentCore.”
YouTube Unverified1 source· Talk
- uses
“we spent a day or two creating an MCP server to expose access to our environment and platform”
YouTube Unverified1 source· Talk
- metricKevin Orellana: 1,000 tests across 10 domains
“we asked them to write a thousand tests across 10 domains”
YouTube Unverified1 source· Talk
- usesKevin Orellana uses SQLite
“We store them in a SQLite database”
YouTube Unverified1 source· Talk
- metric
Amazon Bedrock AgentCore: Hosted two major applications at the time: a code sandbox and a cloud browser.
“at the time hosting two major applications—a code sandbox and a cloud browser”
YouTube Unverified1 source· Talk
- featureCloud browser: Opening tabs uses substantial memory and can cause sandbox tests to fail under memory constraints.
“Cloud browsers use a lot of memory when opening tabs”
YouTube Unverified1 source· Talk
- feature
Amazon Bedrock AgentCore: Allows customers to SSH into a sandbox to inspect it.
“gave customers the ability to SSH into their sandbox to see what's going on”
YouTube Unverified1 source· Talk









