Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

E2B

Open-source cloud sandboxes for code that agents run.

Checked
Visit e2b.dev(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

E2B starts an isolated Linux VM on demand for each agent session, so model-written code, shell commands and file changes happen there instead of on your servers. You drive it from the Python or JavaScript SDK, or use the Code Interpreter SDK to run code cells that keep state between calls. Templates set what a sandbox starts with, a paused sandbox keeps its files and memory, and you can use E2B's cloud or deploy the open-source infrastructure yourself with Terraform.

Best for

Developers adding code execution to an agent who need each run isolated.

Skills it helps with

Learn E2B by doing

  • Run AI-generated code in a sandbox

    Run model-written Python in a throwaway Docker container, then in an E2B sandbox, with time, memory, network and file limits, and a test suite of hostile code.

    TutorialIntermediate1 h

  • garak

    Scanner that probes LLMs for vulnerabilities such as prompt injection.

    Open sourceNVIDIA

  • Guardrails AI

    Python framework of validators that check and correct LLM inputs and outputs.

    Open sourceGuardrails AI

  • NeMo Guardrails

    NVIDIA's toolkit for programmable input, output and dialogue rails in LLM apps.

    Open sourceNVIDIA

  • PyRIT

    Microsoft toolkit for red-teaming generative AI systems.

    Open sourceMicrosoft

  • Cisco Skill Scanner

    Open-source Agent Skills scanner using rules, dataflow analysis and an LLM judge.

    Open sourceCisco AI Defense

  • Lakera

    Runtime protection against prompt injection and data leakage, now part of Check Point.

    PaidCheck Point

All Safety and security