← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
Hermes Agent
Also known as: Nous Hermes · hermes
Hermes Agent: hướng dẫn cấu hình khóa API, model và nhà cung cấp trong terminal.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vn/v1Prerequisites
- Đã cài Hermes Agent (`hermes`)
- API key API Stack
- Không dùng OAuth Anthropic Max nếu muốn tính phí qua API Stack
Recommended model: claude-fable-5
Quick way — command / config
# ~/.hermes/config.yaml
model:
default: "claude-fable-5"
provider: "custom"
base_url: "https://apistack.vn/v1"
api_key: "sk-stk-..."
# Hoặc tách secret sang ~/.hermes/.env:
# OPENAI_API_KEY=sk-stk-...Where to place file / fill Settings
Filemacos
~/.hermes/config.yaml
Provider custom + base_url OpenAI-compatible API Stack. Không commit api_key.
Filelinux
~/.hermes/config.yaml
Giống macOS.
Filewindows
%USERPROFILE%\.hermes\config.yaml
Tạo thư mục .hermes; secrets trong .hermes\.env.
Fileany
~/.hermes/.env
Chỉ chứa key/token. chmod 600 trên Unix.
Verify connection
- `hermes chat` một câu ngắn với model API Stack.
- Dashboard → Sử dụng.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Vẫn gọi OpenRouter / Nous | provider còn auto/openrouter. | Đặt provider: custom (hoặc anthropic) và base_url API Stack. |
| 404 | base_url thiếu /v1 với provider OpenAI-compatible. | base_url: "https://apistack.vn/v1" |
Notes
- API CLI chưa có `api-cli configure hermes` — cấu hình tay theo trang này.
- Ưu tiên custom OpenAI-compatible hoặc anthropic + ANTHROPIC_BASE_URL; tránh OAuth Claude Max nếu muốn trừ ví API Stack.