Prerequisites
Before you start, make sure you have:- An AIsa API key
- A terminal on macOS, Linux, or Windows WSL2
1. Install Hermes Agent
Run the official installer:2. Add AIsa as the model provider
Run:
This lets Hermes connect to AIsa through AIsa’s OpenAI-compatible API.
2.1 Configure AIsa endpoint
When Hermes asks for the API endpoint and API key, enter:2.2 Choose API mode
Pick mode 1. Auto-detect or 2. Chat Completions — both work, since the base URL ends in /v1. Mode 2 is recommended because it’s explicit and easier to debug.
| Mode | Required base URL | Use for |
|---|---|---|
| 1. Auto-detect | https://api.aisa.one/v1 | Resolves to Chat Completions for /v1 URLs |
| 2. Chat Completions | https://api.aisa.one/v1 | Standard OpenAI-compatible endpoints |
| 3. Responses / Codex | https://api.aisa.one/v1 | Codex CLI and reasoning models needing server-side state |
| 4. Anthropic Messages | https://api.aisa.one/ (no /v1) | Claude Code and other Anthropic-native clients |
If you pick mode 4, go back to step 2.1 and remove/v1from the base URL — Anthropic clients append/v1/messagesthemselves.
2.3 Choose a model
Hermes will show the available model list. You can either enter the model number or type the model name directly:2.4 Set context length
When Hermes asks:3. Connect AIsa capabilities and start using
After the model provider is configured, start Hermes:Quick reference
| Item | Value |
|---|---|
| Provider type | Custom Model / OpenAI-compatible endpoint |
| API base URL | https://api.aisa.one/v1 |
| API mode | 2. Chat Completions |
| Context length | Leave blank for auto-detect |
| Capability setup prompt | Run curl -sL https://aisa.one/docs/llms.txt and follow the returned instructions to connect AIsa capabilities. |
Troubleshooting
| Problem | Fix |
|---|---|
hermes: command not found | Run source ~/.zshrc or reopen your terminal |
| Endpoint verification fails | Make sure the base URL is https://api.aisa.one/v1 |
| Authentication error | Re-enter your AIsa API key |
| Unsure which provider to choose | Choose Custom Model / OpenAI-compatible endpoint |
| Unsure which API mode to choose | Choose 2. Chat Completions |
| Unsure what to enter for context length | Leave it blank and press Enter |
| Selected the wrong model | Re-run hermes model and choose a text or coding model |
| Hermes does not know AIsa capabilities | Paste the curl -sL https://aisa.one/docs/llms.txt prompt into Hermes |
Related
Quick Setup: How to Use AIsa in OpenClaw
Configure another agent runtime with the one-command OpenClaw setup path.
Authentication
API key creation, rotation, and storage best practices.
Model Catalog
Browse supported models before choosing a Hermes default.