Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 767 Bytes

File metadata and controls

29 lines (20 loc) · 767 Bytes

BU Agent SDK with E2B Code Interpreter

This example shows how to use bu-agent-sdk with E2B's Code Interpreter SDK for data analysis. The agent analyzes CSV data and generates visualizations.

Setup & run

1. Install dependencies

uv sync

2. Set up .env

  1. Copy .env.template to .env
  2. Get E2B API key
  3. Get Anthropic API key

3. Run the example

uv run python main.py

The agent will:

  • Spin up an E2B sandbox with pandas, numpy, matplotlib
  • Upload data/employees.csv
  • Analyze the data and generate charts
  • Download charts to output/