



Cloud for AI Agents & AI Apps
Coding Copilots
Browser Assistants
Code Execution
Agent Sandboxes
Data Analysis
Sandboxed cloud environments for AI agents & AI apps with a single line of code
Cloud for AI Agents & AI Apps
Coding Copilots
Browser Assistants
Code Execution
Agent Sandboxes
Data Analysis
Sandboxed cloud environments for AI agents & AI apps with a single line of code
Cloud for AI Agents & AI Apps
Coding Copilots
Browser Assistants
Code Execution
Agent Sandboxes
Data Analysis
Sandboxed cloud environments for AI agents & AI apps with a single line of code
JavaScript SDK
npm
import { Session } from '@e2b/sdk'
const session = await Session.create({
// We're working on custom environments
// or 'Bash', 'Python3', 'Java', 'Go', 'Rust', 'PHP', 'Perl', 'DotNET'
id: 'Nodejs',
apiKey: process.env.E2B_API_KEY,
})
await session.close()
Python SDK
import asyncio
from os import getenv
from e2b import Session
E2B_API_KEY = getenv("E2B_API_KEY")
async def main():
# We're working on custom environments.
# 'Nodejs', 'Bash', 'Python3'
# 'Java', 'Go', 'Rust', 'PHP', 'Perl', 'DotNET'
session = await Session.create(id="Nodejs", api_key=E2B_API_KEY)
await session.close()
asyncio.run(main())
E2B is building the cloud for AI agents.
A platform and infrastructure where AI agents can act autonomously and as the first class citizen.
©2023 FoundryLabs, Inc. All rights reserved.
E2B is building the cloud for AI agents.
A platform and infrastructure where AI agents can act autonomously and as the first class citizen.
©2023 FoundryLabs, Inc. All rights reserved.
E2B is building the cloud for AI agents.
A platform and infrastructure where AI agents can act autonomously and as the first class citizen.
©2023 FoundryLabs, Inc. All rights reserved.