Skip to main content

Overview

The PythonExecutorProxy intercepts Python HTTP libraries (requests, urllib) and routes API calls to isolated environments.

Configuration

The executor automatically loads credentials from environment variables:

Basic Usage

Creating Framework Tools

OpenAI Agents SDK

LangChain

smolagents

Supported Libraries

The Python executor intercepts:
  • requests: All HTTP methods
  • urllib.request: urlopen, Request
  • httpx: (Coming soon)
  • aiohttp: (Coming soon)

Execution Result

Error Handling

Example: Slack API Calls

Example: Linear GraphQL

Configuration Options

Next Steps

TypeScript Executor

Execute TypeScript/JavaScript code

Bash Executor

Execute shell commands