Editors & IDE extensions
Connect Roo Code
Multi-mode coding agent for VS Code. Point it at AgentKeyRoute so every request follows your governance profile and is recorded.
Get a key with the right protection
In the console, open Connect an app (opens in a new tab) and pick this tool. AgentKeyRoute recommends a governance profile, creates the key, and shows these same steps with your key and an allowed model filled in, plus a live test.
Setup
- Install Roo Code
1. Open the Extensions view (Ctrl+Shift+X, or Cmd+Shift+X on a Mac). 2. Search for "Roo Code" and click Install. 3. Open it from the activity bar on the left. - Point it at the gateway
1. Open the Roo Code panel in VS Code and click the settings (gear) icon. 2. API Provider: OpenAI Compatible 3. Base URL: https://gateway.agentkeyroute.com/v1 4. API Key: <your API key> 5. Model ID: gpt-4.1 6. Click Done, then start a task.Replace
<your API key>with your AgentKeyRoute key.gpt-4.1is an example: use a model your key may use (GET /v1/modelslists them). - Check it works
Open Roo Code's chat, choose the model you configured and send a message. The request appears in Requests (opens in a new tab) with the policy decision, the model that answered and what was redacted.
Good to know
- The wizard marks this as a coding tool and adds Source code to its data. The recommended profile is usually Coding agents & developer tools.
- It acts autonomously, so it's registered as an autonomous workload. High-risk autonomous use waits for a person on risky requests.
- It uses the OpenAI-compatible API, so the base URL ends in
/v1. - If policy doesn't allow the model you chose for some data, the gateway answers with an allowed one.
X-AIGov-Modelnames it. - Refused? See Why was a request blocked?