Install the CLI or the VS Code extension, then connect your agent to the local gateway. No SDK, no code changes, no account hand-off — your keys stay yours. One gateway can serve Claude Code and an OpenAI-compatible agent at the same time.
CLI from npm, or the extension from the Marketplace — same gateway either way.
CLI: run tokenbeaver-gateway in a terminal. Extension: run TokenBeaver: Start Gateway from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P). Either way you get a local server and a Base URL.
Paste the Base URL into your coding tool's API settings. Keep using your own API key — TokenBeaver forwards it unchanged.
Provider-by-provider guides, every CLI flag and setting, dual upstream, and dedicated pages for Claude Code and GitHub Copilot — it's all in the docs.