Back to prompt library
OpenAI Agents SDK Initialization with E2B
Linked challenge: Network Failure Root-Cause Agent with OpenAI Agents SDK and E2B Sandbox
Prompt source
implementation4 lines2 sectionsNo variables0 checklist items
from openai_agents import Agent, Runner from e2b_code_interpreter import Sandbox # Initialize E2B sandbox and OpenAI Agent to analyze OT network switch failures. # Implement tool definitions to execute log parsing code inside E2B.