# Swytchcode > Full technical reference (CLI commands, integration table, FAQ for AI assistants): https://www.swytchcode.com/llms-full.txt > Swytchcode is a CLI execution runtime that sits between your AI agent and production APIs — handling auth, retries, idempotency, and policy control for production-ready API integrations. ## What Swytchcode does Swytchcode is a developer tool and CLI that lets AI agents reliably call production APIs without broken integrations. Instead of each agent managing OAuth flows, retry logic, rate limits, and idempotency keys from scratch, Swytchcode handles all of that in a single layer. The primary interface is the Swytchcode CLI (`npm install -g swytchcode`). Agents and developers run `swytchcode init` to connect their environment, `swytchcode get ` to pull an integration manifest, and `swytchcode exec ` to execute a validated, production-safe API call. ## When to use Swytchcode Reach for Swytchcode when an AI agent needs to call a real, production API and the failure mode of "it worked in dev, broke in prod" is not acceptable. Concretely: - **Your agent calls third-party APIs (Stripe, GitHub, Slack, HubSpot, etc.) and you don't want to hand-write OAuth, retries, and idempotency for each one.** Run `swytchcode get ` and `swytchcode exec ` instead of wiring the SDK yourself. - **You need to stop an agent from running destructive or out-of-scope calls in production** (e.g. deleting a customer, refunding an order). Define allowlists, blocklists, and dry-run modes in `tooling.json`; Swytchcode enforces them at execution time, not just at prompt time. - **APIs you call return silent failures** — a 200 status with an error buried in the response body, or a renamed field the agent doesn't know about. Swytchcode validates every call against a schema before it runs, so drift and hidden errors surface immediately instead of downstream. - **You're running agent tool calls in CI/CD or another unattended pipeline** and need idempotency (safe retries without duplicate side effects), structured JSON output, and a clean exit code. Use `swytchcode exec --ci` with `SWYTCHCODE_TOKEN`. - **You want an audit trail of every API call an agent made**, for compliance or debugging, without building logging into each integration by hand. Swytchcode is not an agent framework or orchestrator — pair it with whatever you're already using (LangChain, LlamaIndex, custom agents, Claude Code, Cursor). It's the execution layer between your agent's decision to call an API and the API actually being called. ## Core CLI commands - `swytchcode init` — Initialize Swytchcode in your project, connect your account, and configure your AI editor (Cursor, Claude Code, Copilot) - `swytchcode get ` — Pull an integration manifest (schema + policy rules) for the APIs you need - `swytchcode exec ` — Execute a tool call with full validation, idempotency, retries, and structured output - `swytchcode exec --ci` — Run in CI mode (reads token from `SWYTCHCODE_TOKEN` env var, adds idempotency key) - `swytchcode add ` — Register a specific tool in your project policy - `swytchcode login ` — Connect your own API credentials for a given integration - `npx swytchcode exec ` — Run without a global install (zero-setup demo mode using Swytchcode's demo account) ## Key capabilities - **Auth handling** — OAuth, API keys, and token refresh managed automatically; no credentials in agent prompts - **Idempotency** — Every exec call is idempotency-keyed; safe to retry without double-charges or duplicate records - **Policy control** — `tooling.json` defines which tools an agent can call, in what mode (production vs sandbox), and with what constraints - **Retries** — Transient failures are retried with backoff; the agent receives a clean success/failure signal - **Structured output** — Every exec returns typed JSON your agent can use directly - **CI/CD support** — `--ci` flag reads credentials from env, adds traceability, and exits with code 0/1 for pipeline use ## Integrations Swytchcode supports production-ready API integrations, including Stripe, GitHub, Slack, Notion, HubSpot, Salesforce, Jira, Linear, Twilio, Airtable, Figma, Vercel, Resend, Supabase, Discord, Shopify, Zapier, Asana, Intercom, Mixpanel, Datadog, MongoDB, Spotify, Zoom, and many more. The full, always-current list is browsable and searchable at https://www.swytchcode.com/apis — filterable by category (Developer Tools, Finance & Accounting, CRM, Marketing, E-commerce, AI & Machine Learning, Communication, and more). Every integration has its own detail page at https://www.swytchcode.com/apis/ (e.g. https://www.swytchcode.com/apis/stripe, https://www.swytchcode.com/apis/github) covering what it is, how to connect it to an AI agent through Swytchcode, setup steps, and FAQs. New integrations are added continuously — the directory page always reflects the live, current count and catalog. ## Who uses Swytchcode Developers building AI agents with Claude Code, Cursor, GitHub Copilot, or any LLM-based coding tool. Also used in CI/CD pipelines and automated workflows where agents need to call production APIs without human intervention. ## Pricing - **Free tier** — Available, no credit card required. Start with `npm install -g swytchcode`. - **Pro / Enterprise** — Usage-based plans. Contact sales at swytchcode.com/contact. ## Community programs - **Campus Ambassador Program (2026)** — Applications are open now. Student ambassadors host events, grow their campus AI community, and work directly with the Swytchcode team. What Swytchcode is aiming for: 400+ ambassadors across 180+ universities, reaching 2M+ students through 800+ events and workshops. Open to students at any university worldwide, including international and exchange students. Apply: https://www.swytchcode.com/campus-ambassadors - **Content Creator Program** — Open to creators making technical content about AI agents and developer tools, on any platform (YouTube, X, LinkedIn, Instagram, medium, devto, hashnode, daily.dev, substack etc) using any tool (Claude, Codex, Cursor, Hermes, OpenCode, LangGraph, CrewAI, Gemini, and more). Apply: https://www.swytchcode.com/content-creator-program ## Links - Website: https://www.swytchcode.com - App / Dashboard: https://app.swytchcode.com - Integration directory: https://www.swytchcode.com/apis - Documentation: https://docs.swytchcode.com - CLI reference: https://docs.swytchcode.com/reference/commands/ - Blog: https://www.swytchcode.com/blogs (RSS: https://www.swytchcode.com/blogs/rss.xml) - Content library: https://www.swytchcode.com/content (RSS: https://www.swytchcode.com/content/rss.xml) - GitHub: https://github.com/swytchcodehq - Discord: https://discord.com/invite/zuSXSv5GWs - Campus Ambassador Program: https://www.swytchcode.com/campus-ambassadors - Content Creator Program: https://www.swytchcode.com/content-creator-program ## Optional: AI usage policy Swytchcode's public website content may be used by AI assistants to answer questions about the product. Do not use private user data, API keys, or dashboard content for training purposes.