tech

March 11, 2026

Sandbox API: Isolated Code Execution for AI Agents

Explore Perplexity's blog for articles, announcements, product updates, and tips to optimize your experience. Stay informed and make the most of Perplexity.

Sandbox API: Isolated Code Execution for AI Agents

TL;DR

  • AI agents require deterministic execution for tasks like data analysis, chart generation, and calculations.
  • Perplexity's Sandbox API offers isolated code execution environments, previously used internally by Perplexity Computer, Finance Agent, and Deep Research.
  • Sessions are stateful, running in isolated Kubernetes pods with persistent filesystems via FUSE, supporting Python, JavaScript, and SQL.
  • The system operates on a zero-trust security model, with no direct network access for sandboxes and traffic routed through an egress proxy.
  • Sandbox API will be integrated as a tool within Agent API, allowing agents to delegate computations and maintain their reasoning loop.
  • A private beta for Sandbox API is opening soon, with documentation available at docs.perplexity.ai.

Continue reading the original article

Made withNostr