Why I Built E2BGateway: Solving AI Agent Sandbox Vendor Lock-in

Introduction

If you're building AI agents that execute code, you've probably heard of E2B. It's an awesome platform for running AI agent code in secure sandboxes. But there's a catch: you're locked into their cloud.

That was a problem for me. I needed flexibility to run sandboxes on my own Kubernetes cluster, switch between providers, and avoid being tied to a single vendor.

So I built E2BGateway – an open-source gateway that lets you use the official E2B SDK with any sandbox backend.