Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsMay 11, 2026·2 min de lectura

E2B — Secure Sandboxes for AI Code

E2B runs AI-generated code in isolated cloud sandboxes. Install the Python/JS SDK, set `E2B_API_KEY`, then execute commands safely inside a sandbox.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Stage only · 29/100Stage only
Superficie agent
Cualquier agent MCP/CLI
Tipo
Script
Instalación
Single
Confianza
Confianza: Established
Entrada
README.md
Comando CLI universal
npx tokrepo install d5ecafac-0501-4f42-adec-5d8b2ac6141a
Introducción

E2B runs AI-generated code in isolated cloud sandboxes. Install the Python/JS SDK, set E2B_API_KEY, then execute commands safely inside a sandbox.

  • Best for: agent builders who need to execute untrusted code with isolation (CI-like sandboxes) instead of running directly on the host machine
  • Works with: Python SDK (pip install e2b) or JS SDK (npm i e2b), E2B API key, sandbox command execution (repo examples)
  • Setup time: 12 minutes

Quantitative Notes

  • Install: pip install e2b (repo)
  • Setup time ~12 minutes
  • GitHub stars (verified): see Source & Thanks

Practical Notes

Use E2B to separate reasoning from execution. Let your LLM plan the steps, but run risky commands in a sandbox with clean state. This is especially useful for agents that generate code, install packages, or process untrusted data. In production, standardize images/templates and capture logs + artifacts for auditability.

Safety note: Isolation reduces risk, but you still need secret management—never bake API keys into prompts or artifacts.

FAQ

Q: Is E2B self-hostable? A: The README links to a self-hosting guide and infrastructure repo for running E2B on your own cloud.

Q: What can I run inside a sandbox? A: Commands and code execution via SDK methods; start with shell commands, then add a code-interpreter SDK if needed (repo mentions).

Q: How do I control cost? A: Reuse sandboxes when possible, keep jobs short, and scope execution to minimal steps per task.


🙏

Fuente y agradecimientos

GitHub: https://github.com/e2b-dev/E2B Owner avatar: https://avatars.githubusercontent.com/u/129434473?v=4 License (SPDX): Apache-2.0 GitHub stars (verified via api.github.com/repos/e2b-dev/E2B): 12,146

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados