[bot] Instrument E2B Code Interpreter (591,129 weekly downloads)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- observability
Línea de trabajo
Start by reading the existing integrations and wrappers under py/src/braintrust/integrations/ and py/src/braintrust/wrappers/, then compare the CrewAI, AutoGen, and AgentScope instrumentation mentioned in the issue. Check py/pyproject.toml and py/noxfile.py for the integration matrix and test-session conventions; done means the listed E2B lifecycle, execution, and file-I/O surfaces are instrumented with coverage for their outputs and errors.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
e2b-code-interpreter is the official Python SDK for E2B's cloud code-execution sandboxes, widely used as the code-execution tool for AI agents (e.g. executing AI-generated Python to analyze data, run tests, or produce charts). The primary execution surface is Sandbox.create() followed by sandbox.run_code(ai_generated_code), which returns an Execution object containing results (stdout, stderr, charts/images, tables, text), and a structured error (name, value, traceback) when the AI-generated code fails.
This repository has zero instrumentation for E2B anywhere: no py/src/braintrust/integrations/e2b* directory, no wrapper, no nox session, no cassette directory, and no entry in py/pyproject.toml's [tool.braintrust.matrix].
What's missing
Sandbox.create()/AsyncSandbox.create()— sandbox lifecycle/creation.sandbox.run_code()/sandbox.run_code_async()— the primary "execute AI-generated code" entrypoint; the natural place for atool-type span capturing the submitted code as input and theExecutionresult (stdout/stderr/results/error) as output.sandbox.files.write()/sandbox.files.read()— file I/O commonly paired with code execution in agent workflows.
This is directly comparable in shape to other tool-execution surfaces this repo already instruments for agent frameworks (e.g. sandboxed/tool-call execution spans in CrewAI, AutoGen, AgentScope), but for E2B's remote code-execution sandbox specifically.
Weekly downloads
Weekly downloads: 591,129 (as of 2026-09-28; https://pypistats.org/api/packages/e2b-code-interpreter/recent)
Braintrust docs status
not_found. Checked https://www.braintrust.dev/docs/guides/tracing and https://www.braintrust.dev/docs/guides/tracing/integrations (both checked 2026-09-28) — neither the tracing-integrations list ("OpenTelemetry, Temporal, Vercel AI SDK, OpenRouter SDK, LangChain, LangChain4j, LangSmith, LlamaIndex, Apollo GraphQL, Cloudflare Workers AI, DSPy, Google Discovery Engine, Instructor, LiteLLM, Ruby LLM, Spring AI, Traceloop, TrueFoundry") nor the agent-framework list ("Agno, OpenAI Agents SDK, Claude Agent SDK, Pi Coding Agent SDK, Deep Agents, LangGraph, CrewAI, AutoGen, AgentScope, Google ADK, LiveKit Agents, Mastra, Pipecat, Pydantic AI, Strands Agents SDK, Cloudflare Agents, Cloudflare AI Chat") mentions E2B or E2B Code Interpreter.
Upstream sources
- PyPI: https://pypi.org/project/e2b-code-interpreter/
- GitHub: https://github.com/e2b-dev/code-interpreter
- Docs (code execution API): https://docs.e2b.dev/code-interpreting/analyze-data-with-ai
Braintrust docs sources checked
- https://www.braintrust.dev/docs/guides/tracing (checked 2026-09-28)
- https://www.braintrust.dev/docs/guides/tracing/integrations (checked 2026-09-28)
Local repo files inspected
py/src/braintrust/integrations/— noe2b/directorypy/src/braintrust/wrappers/— no E2B wrapperpy/pyproject.toml[tool.braintrust.matrix]— noe2b/e2b-code-interpreterentrypy/noxfile.py— notest_e2bsession- Repo-wide case-insensitive grep for
e2b_code_interpreterunderpy/src/braintrust/**/*.py— zero matches
- Lenguaje dominante
- Python
- Estrellas
- 21
- Forks
- 23
- Merge medio
- 19 h 23 min
- PR fusionados (30 d)
- 97
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de braintrustdata/braintrust-sdk-python
-
feature python
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
braintrustdata/braintrust-sdk-python#868 ·
Los mantenedores suelen responder en 1 día
-
auto_instrument() creates duplicate LLM spans for Google ADK Gemini callsPosiblemente ocupada @AbhiPrasad la tomó hoy. Abiertobug python
braintrustdata/braintrust-sdk-python#896 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
new-integration python
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
braintrustdata/braintrust-sdk-python#854 ·
Los mantenedores suelen responder en 1 día
-
new-integration python
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
braintrustdata/braintrust-sdk-python#853 ·
Los mantenedores suelen responder en 1 día
-
new-integration python
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
braintrustdata/braintrust-sdk-python#852 ·
Los mantenedores suelen responder en 1 día
Todos los issues de braintrustdata/braintrust-sdk-python
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
MystenLabs/MemWal#1163 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
infertopics leaves new nodes without a topic when untopiced neighbours outnumber topiced onesPosiblemente ocupada @moneebullah25 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
FinanceFlash/unvibecode#218 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NVIDIA/earth2studio#1241 ·
Los mantenedores suelen responder en 3 días