Latest version: v2.3.22
Execution authority for agentic API integrations — sits between AI agents and production APIs, enforcing policy, determinism, and safety at every tool call.
No installation required. Run a tool in demo mode and get a real sandbox response:
npx swytchcode stripe.create_payment
Runs in demo mode automatically — no API keys, no project setup. Add --explain to see what any command does before running it.
curl -fsSL https://cli.swytchcode.com/install.sh | sh
macOS and Linux, x64 and arm64. Downloads the correct binary and verifies checksums.
irm https://cli.swytchcode.com/install.ps1 | iex
Run in PowerShell. Supports x64 and arm64. Adds the binary to your user PATH automatically.
npm install -g swytchcode
Requires Node.js 14+. Works on macOS, Linux, and Windows (x64 and arm64).
Official runtime packages let you call swytchcode exec directly from your language
without shell boilerplate. The CLI binary is located automatically — no configuration needed
in most environments.
| Language | Package | Install |
|---|---|---|
| TypeScript / JavaScript | swytchcode-runtime | npm install swytchcode-runtime |
| Python | swytchcode-runtime | pip install swytchcode-runtime |
| Go | gitlab.com/swytchcode/go-runtime | go get gitlab.com/swytchcode/go-runtime |
Set SWYTCHCODE_BIN=/path/to/binary to override the resolved binary path —
useful in Docker or CI environments with non-standard install locations.