Skip to content

[Feature]: Cookbook with E2B #199

@CoderOMaster

Description

@CoderOMaster

Description

Add a cookbook example under examples/cookbook/e2b/ that combines Moss's semantic search with E2B's cloud code execution sandboxes. This cookbook can be inspired by daytona cookbook we already have at the moment.

Use case

E2B is a popular choice for AI coding agents that need fast, disposable execution environments without self-hosting infrastructure. Paired with Moss's sub-10ms semantic retrieval, this pattern enables:

  • Self-healing agents: agent finds the relevant code via Moss, patches it, and validates the fix runs clean in an E2B sandbox before proposing it
  • AI code review: retrieve related functions/tests from the index, execute them against a candidate change in isolation
  • On-demand code tutors: search for examples semantically, then run them live in a sandbox without any local setup
  • Primary beneficiaries: developers building AI coding assistants, teams evaluating Moss for code intelligence use cases, and anyone who wants a production-ready reference for the Moss + LLM + sandbox pattern using E2B specifically.

Proposed solution

Follow the structure and conventions of examples/cookbook/daytona/ exactly, swapping Daytona's SDK for e2b or feel free to propose your own idea using Moss with E2B

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions