For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Clients
Configure AI coding tools and applications to use agentgateway
Agentgateway exposes OpenAI-compatible and provider-native APIs for supported clients. Configure each client with the gateway address and a model name that agentgateway accepts, aliases, rewrites, or routes.
Supported clients
Generate client settings in the UI
The standalone UI includes LLM > Client Setup, which generates connection settings and snippets from your existing gateway URL, models, and virtual API keys. Open http://localhost:15000/ui/llm/client-setup, select a model and key, and choose a client from the Integration dropdown.
Client Setup has matching guides for curl, Claude Code, Claude Desktop, Codex, OpenCode, Cursor, GitHub Copilot, and the OpenAI SDKs.
Some Client Setup recipes lack guides, and some guides lack recipes. Windsurf has a recipe but no guide (agentgateway/website#890). Pi also has a UI recipe but no corresponding guide. The recipe writes baseUrl and apiKey values for the Pi provider.
Continue has a guide but no recipe. agentgateway/agentgateway#2992 tracks adding one. It also tracks validating the Windsurf recipe against the Devin Desktop guide and adding checks to keep recipes and guides aligned.
Client Setup configures the client only. It does not create or modify the gateway resources and credentials that the selected client requires.
Claude Code
Configure Claude Code CLI to use agentgateway
Microsoft Intune
Manage LLM clients with Microsoft Intune and keep them configured for agentgateway
Claude Desktop
Configure Claude Desktop to use agentgateway
Cursor
Configure Cursor AI code editor to use agentgateway
Codex
Configure Codex AI coding tool to use agentgateway
OpenCode
Configure the OpenCode AI coding agent to use agentgateway
Devin Desktop
Configure Devin Desktop AI code editor to use agentgateway
VS Code Continue
Configure Continue extension for VS Code to use agentgateway
GitHub Copilot
Configure GitHub Copilot to use agentgateway
OpenAI SDK
Use OpenAI SDK (Python and Node.js) with agentgateway
curl
Test and interact with agentgateway using curl