[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70959":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},70959,"E2B","e2b-dev\u002FE2B","e2b-dev","Open-source, secure environment with real-world tools for enterprise-grade agents.","https:\u002F\u002Fe2b.dev\u002Fdocs",null,"Python",12533,926,76,23,0,41,113,383,123,43.9,"Apache License 2.0",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"agent","ai","ai-agent","ai-agents","code-interpreter","copilot","development","devtools","gpt","gpt-4","javascript","llm","nextjs","openai","python","react","software","typescript","2026-06-12 02:02:45","\u003C!-- \u003Cp align=\"center\">\n  \u003Cimg width=\"100\" src=\"\u002Freadme-assets\u002Flogo-circle.png\" alt=\"e2b logo\">\n\u003C\u002Fp> -->\n\n![E2B SDK Preview](\u002Freadme-assets\u002Fe2b-sdk-light.png#gh-light-mode-only)\n![E2B SDK Preview](\u002Freadme-assets\u002Fe2b-sdk-dark.png#gh-dark-mode-only)\n\n\u003Ch4 align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fe2b\u002F\">\n    \u003Cimg alt=\"Last 1 month downloads for the Python SDK\" loading=\"lazy\" decoding=\"async\" style=\"color:transparent;width:170px;height:18px\" src=\"https:\u002F\u002Fstatic.pepy.tech\u002Fpersonalized-badge\u002Fe2b?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=PyPi%20Monthly%20Downloads\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fe2b\">\n    \u003Cimg alt=\"Last 1 month downloads for the JavaScript SDK\" loading=\"lazy\" width=\"200\" height=\"30\" decoding=\"async\" data-nimg=\"1\"\n    style=\"color:transparent;width:auto;height:100%\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fe2b?label=NPM%20Monthly%20Downloads\">\n  \u003C\u002Fa>\n\u003C\u002Fh4>\n\n\u003C!---\n\u003Cimg width=\"100%\" src=\"\u002Freadme-assets\u002Fpreview.png\" alt=\"Cover image\">\n--->\n## What is E2B?\n[E2B](https:\u002F\u002Fwww.e2b.dev\u002F) is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our [JavaScript SDK](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fe2b) or [Python SDK](https:\u002F\u002Fpypi.org\u002Fproject\u002Fe2b).\n\n## Run your first Sandbox\n\n### 1. Install SDK\n\nJavaScript \u002F TypeScript\n```\nnpm i e2b\n```\n\nPython\n```\npip install e2b\n```\n\n### 2. Get your E2B API key\n1. Sign up to E2B [here](https:\u002F\u002Fe2b.dev).\n2. Get your API key [here](https:\u002F\u002Fe2b.dev\u002Fdashboard?tab=keys).\n3. Set environment variable with your API key\n```\nE2B_API_KEY=e2b_***\n```\n\n### 3. Start a sandbox and run commands\n\nJavaScript \u002F TypeScript\n```ts\nimport Sandbox from 'e2b'\n\nconst sandbox = await Sandbox.create()\nconst result = await sandbox.commands.run('echo \"Hello from E2B!\"')\nconsole.log(result.stdout) \u002F\u002F Hello from E2B!\n```\n\nPython\n```py\nfrom e2b import Sandbox\n\nwith Sandbox.create() as sandbox:\n    result = sandbox.commands.run('echo \"Hello from E2B!\"')\n    print(result.stdout)  # Hello from E2B!\n```\n\n### 4. Code execution with Code Interpreter\n\nIf you need to execute code with [`runCode()`](https:\u002F\u002Fe2b.dev\u002Fdocs\u002Fcode-interpreting)\u002F[`run_code()`](https:\u002F\u002Fe2b.dev\u002Fdocs\u002Fcode-interpreting), install the [Code Interpreter SDK](https:\u002F\u002Fgithub.com\u002Fe2b-dev\u002Fcode-interpreter):\n\n```\nnpm i @e2b\u002Fcode-interpreter  # JavaScript\u002FTypeScript\npip install e2b-code-interpreter  # Python\n```\n\n```ts\nimport { Sandbox } from '@e2b\u002Fcode-interpreter'\n\nconst sandbox = await Sandbox.create()\nconst execution = await sandbox.runCode('x = 1; x += 1; x')\nconsole.log(execution.text)  \u002F\u002F outputs 2\n```\n\n### 5. Check docs\nVisit [E2B documentation](https:\u002F\u002Fe2b.dev\u002Fdocs).\n\n### 6. E2B cookbook\nVisit our [Cookbook](https:\u002F\u002Fgithub.com\u002Fe2b-dev\u002Fe2b-cookbook\u002Ftree\u002Fmain) to get inspired by examples with different LLMs and AI frameworks.\n\n## Self-hosting\n\nRead the [self-hosting guide](https:\u002F\u002Fgithub.com\u002Fe2b-dev\u002Finfra\u002Fblob\u002Fmain\u002Fself-host.md) to learn how to set up the [E2B infrastructure](https:\u002F\u002Fgithub.com\u002Fe2b-dev\u002Finfra) on your own. The infrastructure is deployed using Terraform. \n\nSupported cloud providers:\n- 🟢 AWS\n- 🟢 Google Cloud (GCP)\n- [ ] Azure\n- [ ] General Linux machine\n","E2B 是一个开源的云端基础设施，允许用户在安全隔离的沙箱中运行AI生成的代码。其核心功能包括通过JavaScript或Python SDK创建和控制沙箱环境，并支持代码解释器来执行代码片段。E2B 提供了高度的安全性和灵活性，确保代码在受控环境中运行，非常适合企业级应用、开发工具集成以及任何需要安全地测试或执行未知代码的场景。此外，它还支持多种编程语言和框架，如JavaScript、Python、React等，使得开发者能够轻松地将其融入现有项目中。",2,"2026-06-11 03:35:12","high_star"]