Uploaded July 2026 | Updated November 2026, 9 hours ago
Give agents a secure computer. LangSmith Sandboxes are ephemeral, isolated sandboxes designed for agent-generated code.
✅ Run untrusted code safely: Spin up ephemeral microVMs for agent-generated code. Agents get full root inside the sandbox, so they can install packages, run Docker, and do anything else you'd do on a Linux box. Your core infrastructure and other workloads stay untouched.
✅ Sub-second starts: Spin up hundreds of sandboxes in parallel with one SDK call. Prewarming keeps p50 latency under 0.98s, so agents get an environment the moment they need one.
✅ Built for long-running, stateful work: Sessions run over WebSockets with streamed output, and state persists across threads. Sandboxes stay alive only as long as you need.
Give agents a secure computer. LangSmith Sandboxes are ephemeral, isolated sandboxes designed for agent-generated code.
✅ Run untrusted code safely: Spin up ephemeral microVMs for agent-generated code. Agents get full root inside the sandbox, so they can install packages, run Docker, and do anything else you'd do on a Linux box. Your core infrastructure and other workloads stay untouched.
✅ Sub-second starts: Spin up hundreds of sandboxes in parallel with one SDK call. Prewarming keeps p50 latency under 0.98s, so agents get an environment the moment they need one.
✅ Built for long-running, stateful work: Sessions run over WebSockets with streamed output, and state persists across threads. Sandboxes stay alive only as long as you need.










