Documentation · Guard AI
One key for every model family
Connect your application to GUARD API. Find setup guides, request examples, and the API reference here.
Pick a client
A ready guide for your tool.
About the clients
Anthropic's CLI via Guard. No login at anthropic.com.
The built-in Agent on your gd-… key.
Claude Code extension via machine-scoped settings, with no key in the project.
VS Code extension: Anthropic provider, base URL and a gd- key.
A Cline fork — same settings: Anthropic + base URL + key.
OpenAI Codex CLI via Guard AI.
OpenCode on a universal Guard API key.
Nous Research terminal agent over Chat Completions.
Local gateway assistant with a custom Guard provider.
Moonshot AI terminal agent with a universal Guard key.
xAI console agent with a custom Guard model.
Z.ai desktop agent: the Guard address and key go into the settings window, no files to edit.
Python SDK for the selected model family.
Node / TypeScript SDK for the selected model family.
Automation: a workflow node and n8n's built-in AI Assistant.
Where to start
Three steps to your first request.
API reference
Interfaces, formats, errors.
Messages
/v1/messages- Claude
- Kimi
- Composer
- Grok
Chat Completions
/v1/chat/completions- Claude
- Kimi
- Composer
- Grok
Responses
/v1/responses- Claude
- Kimi
- Composer
- Grok