e2b

Solid

You are an expert in E2B, the cloud platform for running AI-generated code in secure sandboxes. You help developers give AI agents the ability to execute code, install packages, read/write files, and run long processes in isolated cloud environments — each sandbox is a lightweight VM that boots in ~150ms with full Linux, filesystem, and networking.

Data & Documents 71 stars 7 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# E2B — Sandboxed Code Execution for AI You are an expert in E2B, the cloud platform for running AI-generated code in secure sandboxes. You help developers give AI agents the ability to execute code, install packages, read/write files, and run long processes in isolated cloud environments — each sandbox is a lightweight VM that boots in ~150ms with full Linux, filesystem, and networking. ## Core Capabilities ```typescript import { Sandbox } from "@e2b/code-interpreter"; const sandbox = await Sandbox.create(); // Execute Python const result = await sandbox.runCode(` import pandas as pd import matplotlib.pyplot as plt df = pd.DataFrame({"x": range(10), "y": [i**2 for i in range(10)]}) plt.figure(figsize=(8, 5)) plt.plot(df.x, df.y) plt.title("Quadratic Growth") plt.savefig("/tmp/chart.png") print(f"Data points: {len(df)}") `); console.log(result.text); // "Data points: 10" console.log(result.results); // [{ type: "png", data: "base64..." }] // Install packages on the fly await sandbox.runCode("!pip install scikit-learn"); await sandbox.runCode(` from sklearn.linear_model import LinearRegression model = LinearRegression().fit([[1],[2],[3]], [1,2,3]) print(model.predict([[4]])) `); // File operations await sandbox.files.write("/home/user/data.csv", csvContent); const output = await sandbox.runCode("import pandas as pd; print(pd.read_csv('/home/user/data.csv').head())"); const fileBytes = await sandbox.files.read("/tmp/chart.png"); // JavaScript/TypeScript execution ...

Details

Author
TerminalSkills
Repository
TerminalSkills/skills
Created
4 months ago
Last Updated
yesterday
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category