Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 633 Bytes

File metadata and controls

23 lines (15 loc) · 633 Bytes

Stirrup Agent with E2B Code Interpreter

This example shows how to use Stirrup with E2B's Code Interpreter SDK for safe LLM code execution. In this example, the agent generates Fibonacci numbers and creates a visualization chart.

Setup & run

1. Install dependencies

uv sync

2. Set up .env

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

3. Run the example

uv run python main.py