swytchcode
v2.3.8
Published
Execution layer for API integrations
Maintainers
Readme
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_paymentNo 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 --explainInstall
macOS / Linux:
curl -fsSL https://cli.swytchcode.com/install.sh | shWindows (PowerShell):
irm https://cli.swytchcode.com/install.ps1 | iexnpm (all platforms):
npm install -g swytchcodeThe 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 commandsOfficial language runtimes
Use these packages to call swytchcode exec directly from your code without shell boilerplate:
| 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 |
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.
