Skip to main content

Overview

The BashExecutorProxy intercepts curl commands and routes API calls to isolated environments. Code runs in a subprocess.

Basic Usage

Creating Framework Tools

Python - OpenAI Agents

TypeScript - Vercel AI

URL Transformation

The bash executor transforms curl URLs:

Execution Result

Example: Slack API Calls

Example: Linear GraphQL

Supported Commands

The bash executor primarily intercepts:
  • curl: All HTTP methods, headers, data
  • Other commands run normally (piping, jq, etc.)

Complex Scripts

You can write multi-line scripts:

Configuration Options

When to Use Bash Executor

Next Steps

Python Executor

For complex scripts

How It Works

Understand interception