swytchcode
Execution authority for agentic API integrations.
Swytchcode sits between AI agents and production APIs — ensuring every tool call is explicit, auditable, and controlled by your project configuration.
Try it instantly
npx swytchcode stripe.create_payment
No installation, no API keys, no project setup. Runs in demo mode and returns a real sandbox response from Stripe's test environment.
Not sure what a command does? Add --explain:
npx swytchcode stripe.create_payment --explain
Install
macOS / Linux:
curl -fsSL https://cli.swytchcode.com/install.sh | sh
Windows (PowerShell):
irm https://cli.swytchcode.com/install.ps1 | iex
npm (all platforms):
npm install -g swytchcode
The correct binary for your platform (macOS, Linux, Windows — x64 and arm64) is selected automatically.
Usage
swytchcode exec <canonical-id> Execute a tool
swytchcode list List available tools
swytchcode search <query> Search tools by keyword or intent
swytchcode info <canonical-id> Show tool details
swytchcode init Set up a project
swytchcode --help Show all commands
Official language runtimes
Use these packages to call swytchcode exec directly from your code without shell boilerplate:
All runtimes resolve the swytchcode binary from $PATH by default. Set SWYTCHCODE_BIN=/path/to/binary to override — useful in CI, Docker, or environments where the global symlink is not available.
Links