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 statusExpected result: routekit status reports a ready gateway at
http://127.0.0.1:8080 and at least one available model. Run routekit models list if you want to inspect the full catalog and its namespaced model IDs.
4. Launch a coding tool
Run the launcher from the project you want to work on.
cd ~/code/my-project
routekit codexRouteKit launches the native client in the current directory, selects a suitable startup model, and makes the compatible RouteKit catalog available in the client's native model picker. Open the picker to switch models during the session.
Pass a namespaced model ID when you need a specific startup route:
routekit codex openai/gpt-5.5
routekit claude claude-code/claude-sonnet-4-6This explicit form is useful for one-off comparisons, scripts, and reproducible runs. 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.

