e2b-dev / runtime

Firecracker microVM runtime that resumes AI agent sandboxes from snapshots in milliseconds, separating control and data planes for scalable untrusted code execution.

活跃维护 Apache 2.0 Go Tracked
1.8k 494 10 分钟前
CI
ai-agents code-interpreter consul devtools firecracker gcp go golang gpt llm nomad terraform vm kvm microvm sandbox vmm infra

星标趋势

数据积累中,暂无足够数据生成趋势图

AI 分析

项目摘要

E2B Runtime is the open-source backend powering E2B's AI agent cloud platform. It uses Firecracker microVMs that resume from pre-booted snapshots to provide isolated, sandboxed execution environments for untrusted AI agent code, with lazy memory loading via userfaultfd and copy-on-write filesystems for fast sandbox creation and pause/resume capabilities.

为什么值得关注

It solves a critical infrastructure problem for AI agents — securely executing arbitrary, untrusted code at scale — with an innovative snapshot-resume approach that makes sandbox creation nearly instantaneous. The same codebase serves public cloud, enterprise, and self-hosted deployments, and it's actively used in production with 66 contributors and frequent releases.

优势

  • Snapshot-based VM resume enables near-instant sandbox creation instead of full boot cycles
  • Clean separation of control plane and data plane for scalable orchestration
  • Production-proven with active enterprise deployments, 66 contributors, and 21 releases in 6 months
  • Supports pause/resume and fork operations on sandboxes, enabling efficient agent workflows

局限性

  • Tightly coupled to AWS Firecracker and KVM, limiting portability to other hypervisors
  • No Docker support and no examples directory, which may slow adoption for new users
  • Requires significant infrastructure expertise (Firecracker, KVM, userfaultfd) to self-host and customize

使用场景

  • Secure code execution sandboxes for AI agents and LLM-powered applications
  • Isolated development environments for AI coding assistants
  • Multi-tenant agent infrastructure for enterprise AI deployments
目标用户: Platform engineers and AI infrastructure teams building secure, scalable execution environments for AI agents and LLM applications
学习曲线: 中
分析模型:LongCat-2.0 | 分析时间:17 天前