Local AI Clients
Local clients are AI tools that run on your own computer — for example Claude Code, Codex, Gemini CLI, Cursor or VS Code. CodeNOW lets you configure them so that all their traffic — calls to language models and to MCP servers — goes through an Agent Gateway of your account. An account has one gateway on every cluster that runs agents; you set up the client against one gateway of your choice. Because of that:
- every call is recorded by the chosen gateway and visible in its Logs and Analytics,
- the gateway authenticates you with your own CodeNOW identity,
- MCP servers are reached with your own CodeNOW permissions — the CodeNOW MCP server (available on every gateway) and the infrastructure MCP servers of the chosen gateway's cluster.
Which clients are offered, and how exactly they are configured, is decided by your account administrators — see Manage Client Profiles.
Prerequisites
- An Agent Gateway is installed on at least one of your account's clusters.
- An administrator has created and enabled at least one client profile.
- The client itself is installed on your computer (each profile links to its download page).
If the chosen gateway is not ready — or the account has none, or the Agent Gateway is turned off — the setup guide shows a banner and all downloads are disabled:
| Banner | Meaning |
|---|---|
| No Agent Gateway is installed on any cluster of this account. Local clients can be set up once your CodeNOW administrator installs one. | No Agent Gateway is installed on any of the account's clusters |
| Agent Gateway is turned off for this account. Local clients can be set up once your CodeNOW administrator turns it on. | The Agent Gateway is disabled for the account. |
| Agent Gateway has no externally reachable URL yet, so local clients cannot connect to it. | The chosen gateway is installed but cannot be reached from outside yet. |
In all these cases, contact your CodeNOW administrator. If the gateway you chose is no longer offered, the guide can show This Agent Gateway is no longer available.
Choosing a client
Open AI › Local clients in the main navigation. The Local clients page is available to every user of the account, and every user can download a profile for any installed gateway.
Each enabled client profile is shown as a card with its icon, name and description, its version and the date of its last change. Click Set up on a card to open its setup guide.
If no profile is enabled, the page shows No local clients are available yet. Users who can manage profiles also see a Manage profiles button, which opens the profile management.
Following the setup guide
The setup guide is a step-by-step wizard prepared for you:
- Choose the gateway — when the account has more than one gateway, the guide has an Agent Gateway select (The cluster whose gateway this client connects to) listing the installed gateways by cluster; the first ready gateway is preselected. The banner, the steps and all downloads use the chosen gateway. Which one to choose depends on which cluster's tools (infrastructure MCP servers, models) you need; ask your administrator if unsure. With a single gateway there is no select.
- Select your operating system with the macOS / Linux / Windows switch (only the systems the profile supports are offered). Steps, commands and files that apply to other systems are hidden.
- Go through the steps in order. A step may contain instructions, a command to copy (Copy) and run, or a link (for example to download the client itself).
- Download the files the guide offers. Each file shows where to put it on your computer (its target path) and whether it must be made executable. Download each file with Download, or all of them at once with Download all (.zip).
- Sign in — see Signing in.
- Verify the setup — the last section, Verify the setup, tells you how to check that the client works through the gateway.
Downloaded files are rendered for you: values such as the chosen gateway's URL and sign-in client, the account and your username, and the gateway's MCP endpoints are already filled in. To work through another gateway, choose it in the guide and download the files again. Files can be downloaded only from the portal, while you are signed in. Downloads are not tracked.
When an administrator changes a profile, its version increases. If the version shown on the card is newer than the one you set up, download the files again.
Signing in
CodeNOW guarantees that the downloaded files never contain a token or password. You sign in with your own CodeNOW account when the client first needs the gateway.
How exactly the sign-in works is part of your organization's profile — its administrators write the sign-in scripts and steps. Follow the steps of your organization's profile; they also tell you whether a token is kept on your computer and how to sign out.
Sign-in to the gateway uses the chosen gateway's sign-in client <account>-<dataplane>-agent-gateway, which supports the device authorization flow for command-line tools (and PKCE for browser sign-in). Typically:
- The script prints a link and a short code (or opens the link for you).
- You open the link in a browser, sign in to CodeNOW and confirm the code.
- The script receives a token and passes it to the client.
For details of the flow see Agent Gateway — CLIs and agents without a browser.
Verifying the setup
Run the verification described in the last step of the guide (typically a command that calls a model or lists MCP tools through the gateway). If it succeeds, your calls appear in the chosen gateway's Logs, provided you have access to that gateway (see Agent Gateway — Logs and Analytics).
Troubleshooting
| Problem | What to do |
|---|---|
| No local clients are available yet. | No profile is enabled for the account — ask your account administrator. |
| A banner about the Agent Gateway, downloads are disabled | The gateway is not ready — see Prerequisites. |
| Your operating system is not offered | The profile does not support it — ask the administrator to extend it. |
| Sign-in fails or the token is rejected | Make sure you sign in with your CodeNOW account of this account; repeat the sign-in. |
| An MCP server is missing | A gateway offers only the CodeNOW MCP server, the infrastructure MCP servers of its own cluster and the servers your organization registered in that gateway (external endpoint). Check that you chose the right gateway, or ask your account administrator whether the server is registered. |
| The client stopped working | Its gateway may have been uninstalled — see Uninstalling a Gateway. Set the client up against another gateway. |
| The list, the guide or a download shows The state of the Agent Gateways is temporarily unavailable. Please try again later. | The gateway state cannot be checked right now — try again later. |
| Local AI clients are not configured on this platform (OIDC issuer missing). | The platform operator has not finished the sign-in configuration for local clients. You cannot fix this yourself — contact CodeNOW support or your platform administrator. |
If the gateway's state changes while the guide is open, a download can also fail with one of the messages from Prerequisites.