Cline and Roo Code, verified against the production router through Gatekeeper; why a Continue agent session still fails; what a long agent session costs and what a stalled turn means.
How-toFor developers
VS Code's own chat is on IDEs and agents. This page is for the extensions that bring their own agent loop: they read files, write edits, run commands, and keep going for many turns without being asked again. Each one here takes an OpenAI-compatible base URL, so the local Gatekeeper address works as it does everywhere else on this site: the call leaves your machine, and the verdict is computed on it.
Three extensions were driven end to end through Gatekeeper against production on 2026-10-20, each given the same multi-step editing task on a real repository, with every request recorded.
Extension
Version
Result
Cline
4.1.25
Works. Read four files, wrote four edits, ran the test suite, four of four green.
Roo Code
3.54.0
Works in Code mode. The same task, four files edited, four of four green.
Continue
2.0.0
Fails. An agent session ends partway through, reporting "Error handling model response … 502" and stopping. Use one of the other two for now.
Cline
Open the Cline settings, choose API Provider: OpenAI Compatible, and fill in three fields:
Base URL: http://127.0.0.1:8787/v1, your Gatekeeper. The router directly, https://api.router.superprotocol.com/v1, works too, at the cost of the verification Gatekeeper does for you.
API Key: your sk-tee-v1- key. Cline keeps it in VS Code's secret storage, and there is no configuration file to put it in.
Model ID: qwen/qwen3-coder-next, or another id from the console's Models screen.
With those three set, open a task and work as usual. The Gatekeeper dashboard counts the requests as they arrive, and the console's Logs gains one metered row per generation.
Roo Code
Settings → Providers → API Provider: OpenAI Compatible, the same base URL and key, and the model under Use custom: qwen/qwen3-coder-next. Roo Code also stores the key itself, so it stays out of your files. Two things a first session needs:
Switch to Code mode. Roo Code starts in Architect, which plans the work and then stops to ask permission before touching anything. Ctrl+. cycles modes, and the mode selector is at the bottom of the chat. A plan that arrives with no edits behind it is Architect doing its job, not a stalled session.
3.54.0 announces itself as the last Roo Code release, the team behind it having moved to a different product. That is the version verified here and it works, but expect no further maintenance of it. The three settings above are the same in any client that speaks the OpenAI API, so moving to another extension costs nothing but the setup.
Continue
The configuration that gets furthest, for anyone who wants to try it anyway:
capabilities: [tool_use] is required, not a refinement. With provider openai and a model id it does not recognise, Continue does not enable tool calling on its own, and agent mode degrades quietly into prose with code fences: an assistant that writes out the commands it would have run, and runs none of them.
${{ secrets.ROUTER_KEY }} is a reference, not a place to type the key. Continue resolves it from a .env file, the workspace's own, .continue/.env beside it, or ~/.continue/.env, and does not read variables exported in your shell. Keep whichever file holds the key out of version control.
What an agent session costs
Prompt tokens, almost entirely. An agent re-sends the conversation, the file excerpts and the tool schemas on every turn, so the prompt grows with the session while the answers stay short. The sessions behind this page spent 593,736 prompt tokens against 28,881 completion tokens over 169 generations: around 95% of the cost was context sent again.
Two things follow. Start a new session for a new task rather than carrying a long one forward, and read the cost where it is recorded: Logs has tokens, cost and status per generation and never the prompt, and Credits has what the workspace has left. Input and output tokens are priced separately, as Input /1M and Output /1M on the Models screen.
A turn that stalls, and then fails
Some requests hang for around 60 seconds and end in a 502 rather than an answer; in the sessions behind this page it was closer to one in fifteen than to one in a hundred. A client that retries recovers, and all three extensions let you send the turn again. VS Code's own chat does not retry: see IDEs and agents.
The stall itself is the model endpoint's own gateway giving up, which is not the router's to fix and is unchanged. What did change, and is on production, is who gets to answer: a streamed request now opens its event stream after 15 seconds and heartbeats into it, so the proxies on the path keep their read deadlines reset and the failure arrives as the router's own: a last data: event carrying an error object, then [DONE], and a row in Logs. An agent extension streams, so this is the shape you will meet. The price of it is the status line: past that point a failure before the first token arrives inside the stream rather than as an HTTP status.
Two details that save a diagnosis:
A 502 whose body is HTML rather than the API's JSON came from the ingress in front of the router, not from the router itself, and leaves no row in Logs. A missing row there means the request never reached the API, not that a finished generation escaped metering. Since the heartbeat, a streamed request does not reach that page; a non-streamed one stalling past the ingress deadline still can.
A 502 is not a Gatekeeper refusal. Gatekeeper answers 503 gatekeeper_error with a stage and a reason: Read a verdict. Everything the API answers, and what each code means, is on Errors and limits.
Another extension
Nothing above is specific to these three. Any extension with an OpenAI-compatible provider needs the same three values, the base URL, the key and a model id from Models, and the same two habits: select the model rather than accepting whatever the field shows, and keep the key in the extension's own secret storage rather than in a file. IDEs and agents has the pattern, and Troubleshooting has what each refusal means.