#131131st of 171 in Learning and cookbooks

e2b-cookbook

Runnable examples for running LLM-generated code in E2B sandboxes

Stars
1.4k
License
no license
Last commit
Nov 2026
Language
TypeScript
Stars, last 30 weeks+105
2 May 2026: 1,325 stars9 May 2026: 1,325 stars16 May 2026: 1,330 stars23 May 2026: 1,335 stars30 May 2026: 1,339 stars6 Jun 2026: 1,347 stars13 Jun 2026: 1,349 stars20 Jun 2026: 1,350 stars27 Jun 2026: 1,355 stars4 Jul 2026: 1,360 stars11 Jul 2026: 1,362 stars18 Jul 2026: 1,368 stars25 Jul 2026: 1,369 stars1 Aug 2026: 1,371 stars8 Aug 2026: 1,372 stars15 Aug 2026: 1,380 stars22 Aug 2026: 1,383 stars29 Aug 2026: 1,386 stars5 Sept 2026: 1,388 stars12 Sept 2026: 1,394 stars19 Sept 2026: 1,397 stars26 Sept 2026: 1,401 stars3 Oct 2026: 1,403 stars10 Oct 2026: 1,408 stars17 Oct 2026: 1,414 stars24 Oct 2026: 1,415 stars31 Oct 2026: 1,416 stars7 Nov 2026: 1,418 stars14 Nov 2026: 1,422 stars21 Nov 2026: 1,427 stars28 Nov 2026: 1,430 stars

1,325 on 2 May 20261,430 on 28 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

E2B is hiring: 16 open roles

Overview

A collection of Python and TypeScript examples for the E2B SDK. They cover code interpreters for OpenAI, Anthropic, Mistral, Groq, Together AI and others. They also cover CLI agents (Claude Code, Codex, Gemini CLI) running inside sandboxes, framework integrations (LangGraph, CrewAI, Pydantic AI, Vercel AI SDK), MCP clients, and TRL reinforcement-learning reward examples. A nightly runner executes each example in a fresh sandbox.

Who it is for: Developers adding sandboxed code execution to LLM apps with the E2B SDK

Strengths

  • Covers many providers and frameworks, with Python and TypeScript variants for most examples
  • Nightly test runner executes every example in a fresh E2B sandbox
  • Includes hello-world guides needing only an E2B API key
  • Examples span MCP, computer use, CLI agents and TRL GRPO rewards

Weaknesses

  • Requires an E2B API key and a hosted E2B sandbox service
  • Most examples also need a paid provider API key
  • No license detected in the repository
  • Examples are standalone, with no shared library or common structure

What it needs

  • no GPU
  • Needs E2B API key, LLM provider API keys (OpenAI, Anthropic, etc.), Node.js/npm, Python with uv or Poetry
  • Models: OpenAI, Anthropic Claude, Mistral Codestral, Groq Llama 3, Fireworks AI

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#129reinforcement-learningPyTorch reference implementations of classic and deep RL algorithms, one file each3.7k starsMIT34 out of 100
#130drl-zhHands-on deep reinforcement learning course in exercise notebooks2.3k starsMIT34 out of 100
#132ai-agents-the-definitive-guideNotebooks accompanying the O'Reilly book on building and deploying AI agents3k stars+226 (+8.0%) in 30 daysno license33 out of 100
#133llm-trading-labLogs of a live ChatGPT-managed micro-cap stock portfolio, with analysis scripts7.6k stars+65 (+0.9%) in 30 daysno license32 out of 100
#134practicalai-cnChinese translation of practicalAI machine learning notebooks using PyTorch6.9k starsMIT32 out of 100