TLDR AI · ENGINEERING & RESEARCH

THE TWO PATTERNS BY WHICH AGENTS CONNECT SANDBOXES

links.tldrnewsletter.com8 min read

Summary from the TLDR AI newsletter

Sandboxes provide a workspace where agents can run code, install packages, and access files. There are two architectural patterns for integrating agents with sandboxes. The first is where an agent runs inside the sandbox, and the developer communicates with it over the network. The other is when an agent runs locally on a developer's server and then calls a sandbox remotely for execution. deepagents, an open-source agent framework with built-in sandbox support, supports both patterns with a simple configuration.