E2B Cookbook
e2b-dev/e2b-cookbook
Example code and guides for E2B sandboxes, with a Hermes Agent incident-triage skill example
E2B Cookbook is a collection of example code and guides for building with the E2B SDK. Its AI frameworks section includes a Python example in which Hermes Agent learns an incident-triage skill in one sandbox and applies it in a fresh session.
What E2B Cookbook does
E2B Cookbook is a set of example code and guides for building with the E2B SDK and its sandboxes. It has Hello World guides in TypeScript and Python, open-source apps such as AI Analyst, Fragments and Surf, and examples for providers including OpenAI, Anthropic, Mistral, Groq, Together AI and IBM WatsonX. Some examples run Claude Code or Codex CLI inside a sandbox.
The AI frameworks section includes a Hermes Agent example, written in Python, in which the agent learns an incident-triage skill in one sandbox and applies it in a fresh session. Neighbouring entries cover LangChain, LangGraph, CrewAI, the Vercel AI SDK, Pi, AgentKit and Stirrup. A remote execution example uses Crabbox to rerun a test suite on one warmed sandbox, and there are MCP client and custom server examples. The repository has no license file.
Key features
- Hello World guides in TypeScript and Python
- Hermes Agent example: learn an incident-triage skill in one sandbox, reuse it in a fresh session
- Examples for OpenAI, Anthropic, Mistral, Groq, Together AI and IBM WatsonX
- Claude Code and Codex CLI running inside a sandbox
- Framework integrations including LangChain, LangGraph, CrewAI and the Vercel AI SDK
- MCP client and custom server examples
When to use it
- See how a Hermes Agent skill carries from one sandbox session to another
- Run an AI agent's code in an isolated sandbox instead of on your machine
- Copy a working code-interpreter example for your own LLM provider
Who it is for: Developers who want working examples of running agents and generated code inside E2B sandboxes.
How it fits with Hermes Agent
One entry in the AI frameworks list is a Python Hermes Agent example; the rest of the cookbook covers other providers and frameworks.
FAQ
What is E2B Cookbook?
E2B Cookbook is a collection of example code and guides for the E2B SDK. It covers Hello World guides, open-source apps, LLM provider examples, framework integrations and MCP.
Does E2B Cookbook include a Hermes Agent example?
Yes. The AI frameworks list has a Python example in which Hermes Agent learns an incident-triage skill in one sandbox and applies it in a fresh session.
Is E2B Cookbook free and open source?
The repository has no license file, so default copyright applies and you should check with the author before reusing the code.
Similar resources for Hermes Agent
All resourcesCurated list of 300+ agentic AI projects, with Hermes Agent listed under agents and long-term memory
VILA-Lab Dive into Claude CodeArchitecture analysis of Claude Code with a design guide and comparison against OpenClaw and Hermes-Agent
NVIDIA NVIDIA DGX Spark PlaybooksNVIDIA setup guides for DGX Spark, including a playbook for running Hermes Agent with a local LLM
bradAGI Awesome CLI Coding AgentsCurated list of 130+ terminal coding agents and their harnesses, with Hermes Agent listed first
ksimback Hermes AtlasCommunity-curated directory of Hermes Agent tools, skills and integrations with live GitHub data
hardness1020 Learn Agent ArchitectureSection-by-section course on how AI agent harnesses work, with Hermes Agent studied as a worked example
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · What is Hermes Agent?