Other Integrations
HaoAI is compatible with OpenAI and Anthropic protocols, with a Grok / xAI protocol entry point. Below are configuration guides for some common tools.
General Configuration Principles
Regardless of the tool, configuration follows these principles:
| Tool’s Protocol | Base URL | API Key Header |
|---|---|---|
| OpenAI Compatible | https://api.hao.ai/v1 | Authorization: Bearer sk-xxx |
| Anthropic Native | https://api.hao.ai/anthropic | x-api-key: sk-xxx |
Continue (VS Code / JetBrains)
Continue is an open-source AI coding assistant supporting VS Code and JetBrains IDEs.
~/.continue/config.json
{
"models": [
{
"title": "HaoAI GPT-4o",
"provider": "openai",
"model": "openai/gpt-4o",
"apiBase": "https://api.hao.ai/v1",
"apiKey": "<your HAOAI_API_KEY>"
},
{
"title": "HaoAI Claude Sonnet",
"provider": "openai",
"model": "anthropic/claude-sonnet-4.6",
"apiBase": "https://api.hao.ai/v1",
"apiKey": "<your HAOAI_API_KEY>"
}
]
}Aider
Aider is a command-line AI pair programming tool.
~/.zshrc
export OPENAI_API_KEY=<your HAOAI_API_KEY>
export OPENAI_API_BASE=https://api.hao.ai/v1aider --model openai/gpt-4oBoltAI (macOS)
BoltAI is a native macOS AI assistant app.
- Open BoltAI → Preferences → Providers
- Add Custom OpenAI
- Enter Base URL:
https://api.hao.ai/v1 - Enter your API Key
TypingMind
TypingMind is an AI chat interface tool.
- Go to Settings → Custom Endpoint
- API Endpoint:
https://api.hao.ai/v1 - API Key: Your HaoAI API Key
ChatBox
ChatBox is a cross-platform AI desktop client.
- Open ChatBox → Settings → AI Provider
- Select OpenAI API Compatible
- API Domain:
https://api.hao.ai - API Key: Your HaoAI API Key
Custom Integration
For other tools not listed here, the general steps are:
- Find the tool’s API configuration settings
- Set the API Base URL to
https://api.hao.ai/v1 - Set the API Key to your HaoAI Key
- Use the
provider/model-nameformat for model names
If you’ve successfully configured HaoAI in a tool, we welcome PRs to add it to this documentation: GitHub Repository