Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bot] Instrument E2B Code Interpreter (591,129 weekly downloads)

オープン
#806 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
observability

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

new-integration

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 a tool-type span capturing the submitted code as input and the Execution result (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

Braintrust docs sources checked

Local repo files inspected

  • py/src/braintrust/integrations/ — no e2b/ directory
  • py/src/braintrust/wrappers/ — no E2B wrapper
  • py/pyproject.toml [tool.braintrust.matrix] — no e2b/e2b-code-interpreter entry
  • py/noxfile.py — no test_e2b session
  • Repo-wide case-insensitive grep for e2b_code_interpreter under py/src/braintrust/**/*.py — zero matches
主要言語
Python
スター
21
フォーク
23
平均マージ
21時間 8分
マージ済み PR(30日)
81

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

braintrustdata/braintrust-sdk-python のほかの issue

braintrustdata/braintrust-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。