Quickstart
Let your agent set up RouteKit, or get one working model route yourself in about five minutes.
This guide ends with a running local gateway and at least one model you can use from a coding tool or HTTP client. You need macOS or Linux and at least one Codex or Claude Code subscription or configured API-provider credential.
Let your agent do it
The fastest path is to hand setup to the coding agent already working in your terminal. It will ask which subscriptions or API providers you want to connect, run the appropriate RouteKit workflow, and verify the result.
Paste this into your coding agent.
Help me install and configure RouteKit by following:
https://routekit.velum-labs.com/docs/getting-started/agent-guide.md
Ask which subscriptions or API providers I want to connect. Never request API keys in chat. Finish by verifying routekit status and routekit models list, then show me the shortest command to use one discovered model.
You still approve interactive prompts and complete provider sign-in when required. The agent should not ask you to paste API keys into chat.
Or do it yourself
1. Install RouteKit
curl -fsSL https://github.com/velum-labs/routekit/releases/download/routekit-latest/install.sh | sh
routekit versionThe installer supports macOS and Linux, does not require sudo, and provides
its own Node.js runtime when a compatible one is not already available. See
installation for package-manager and
runtime details.
2. Choose what to connect
routekit setupThe guided setup can connect Codex or Claude Code subscriptions and API routes for OpenAI, Anthropic, OpenRouter, or Amazon Bedrock. It checks each selected route, asks you to choose a live default model, and starts the local gateway.
API-provider credentials must already be available in your shell environment. Subscription routes open the matching sign-in flow.
3. Verify the gateway
routekit status
routekit models listExpected result: routekit status reports a ready gateway at
http://127.0.0.1:8080, and routekit models list prints one or more model IDs
such as openai/<model>, codex/<model>, or claude-code/<model>.
4. Use a discovered model
Copy one exact model ID from routekit models list.
routekit codex <provider/model>You can also send an authenticated HTTP request or install persistent coding-tool settings.
Next steps
Pool more subscription accounts
Add named Codex or Claude Code accounts and route across eligible members.
Connect your coding tools
Launch Codex or Claude Code through RouteKit, or install persistent settings.
Understand request routing
See how model IDs select providers and how RouteKit contains failover.
Troubleshoot setup
Recover from startup, authentication, discovery, and subscription problems.

