Run Sandbox Agent in E2B Sandbox (JavaScript)
mainThe Sandbox Agent SDK allows you to run coding agents (like Claude Code, Codex, or Cursor) inside E2B sandboxes and manage them via HTTP from your backend. This provides a unified interface for multiple agents and a standardized event schema for normalized session data.
To use this implementation, you must provide an E2B_API_KEY and at least one LLM provider key (e.g., OPENAI_API_KEY or ANTHROPIC_API_KEY).