Skip to main content
This guide has two parts:
  1. Configure AIsa as OpenClaw’s LLM provider.
  2. Paste one prompt into OpenClaw so it can connect AIsa resource capabilities.

1. Use AIsa as the LLM provider

If you want full control over OpenClaw’s model configuration - custom model lists, fallback chains, auth profiles stored in your system keychain, or per-channel routing - edit openclaw.json directly.

Step 1: Get your AIsa API key

1

Log in to the dashboard

2

Navigate to API Keys

3

Create a new key

Give it a label like openclaw-local. Copy the value (starts with sk-aisa-) immediately - it’s shown only once.

Step 2: Set your API key

Add the key to ~/.openclaw/openclaw.json or export it in your shell:
export AISA_API_KEY="sk-aisa-..."
Prefer an environment variable over hardcoding the key in openclaw.json. See Authentication for rotation and storage best practices.

Step 3: Configure the AIsa provider

Add this block to your ~/.openclaw/openclaw.json:
{
  "env": {
    "AISA_API_KEY": "sk-aisa-..."
  },
  "models": {
    "mode": "merge",
    "providers": {
      "aisa": {
        "baseUrl": "https://api.aisa.one/v1",
        "apiKey": "${AISA_API_KEY}",
        "api": "openai-completions",
        "models": [
          { "id": "gpt-5-mini", "name": "GPT-5 Mini" },
          { "id": "kimi-k2.5", "name": "Kimi K2.5" },
          { "id": "claude-opus-4-8", "name": "Claude Opus 4.8" },
          { "id": "gemini-3.5-flash", "name": "Gemini 3.5 Flash" },
          { "id": "deepseek-v4-flash", "name": "DeepSeek V4 Flash" },
          { "id": "qwen3.7-max", "name": "Qwen3.7 Max" },
          { "id": "MiniMax-M3", "name": "MiniMax M3" },
          { "id": "glm-5", "name": "GLM 5" }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "aisa/kimi-k2.5"
      },
      "models": {
        "aisa/kimi-k2.5": {}
      }
    }
  }
}
OpenClaw now knows about the aisa provider. Reference any model with the aisa/<model-id> format.

Step 4: Restart OpenClaw

openclaw gateway restart
Your agents will now route through AIsa.

2. Connect AIsa resource capabilities

After OpenClaw is using AIsa as its LLM provider, start an OpenClaw session and paste this prompt:
Run curl -sL https://aisa.one/docs/llms.txt and follow the returned instructions to connect AIsa capabilities.
OpenClaw will fetch AIsa’s agent-facing instructions and guide you through the remaining setup for AIsa capabilities. After that, OpenClaw can use both AIsa models and AIsa resource capabilities. Try:
Use AIsa capabilities to search the web and summarize the latest information about OpenClaw.

Video walkthrough

LLM model format

Always use aisa/<model-id> - e.g., aisa/kimi-k2.5, aisa/gpt-5, aisa/claude-opus-4-8. Add any supported model to the models array in your provider config; the full list is in the model catalog.

Advanced configuration

Fallback chains

If the primary model fails (upstream outage, rate limit), OpenClaw can automatically retry with a fallback model:
{
  "agents": {
    "defaults": {
      "model": {
        "primary": "aisa/kimi-k2.5",
        "fallbacks": ["aisa/gpt-5-mini"]
      },
      "models": {
        "aisa/kimi-k2.5": {},
        "aisa/gpt-5-mini": {}
      }
    }
  }
}

Auth profiles (keychain storage)

Keep your API key out of openclaw.json by storing it in your system keychain:
1

Declare an auth profile

{
  "auth": {
    "profiles": {
      "aisa:default": {
        "provider": "aisa",
        "mode": "api_key"
      }
    }
  }
}
2

Store the key via OpenClaw CLI

openclaw auth set aisa:default --key "$AISA_API_KEY"
3

Reference the profile in your provider config

"providers": {
  "aisa": {
    "apiKey": "auth:aisa:default",
    "baseUrl": "https://api.aisa.one/v1",
    "api": "openai-completions"
  }
}

Per-channel models

Run a different model on each messaging platform:
{
  "telegram": {
    "agents": {
      "defaults": {
        "model": { "primary": "aisa/kimi-k2.5" }
      }
    }
  },
  "discord": {
    "agents": {
      "defaults": {
        "model": { "primary": "aisa/claude-opus-4-8" }
      }
    }
  }
}

Monitoring usage

Track your spend and per-request detail in the AIsa dashboard. See Usage Logs for what’s available.

Troubleshooting

Fix:
  1. Confirm AISA_API_KEY is set: echo $AISA_API_KEY
  2. Verify openclaw.json references ${AISA_API_KEY} (not a literal string).
  3. Restart OpenClaw so it re-reads the env.
  4. As a last resort, hardcode the key to verify the rest of the config works, then move it back to env.
Fix:
  1. Confirm the key is valid in the dashboard.
  2. Ensure baseUrl is exactly https://api.aisa.one/v1 (no trailing slash issues).
  3. See Authentication for rotation guidance.
Fix:
  1. Double-check the model ID against the catalog.
  2. Make sure the model is listed in models.providers.aisa.models.
  3. Reference it as aisa/<model-id>.
Fix: Paste this prompt into an OpenClaw session:
Run curl -sL https://aisa.one/docs/llms.txt and follow the returned instructions to connect AIsa capabilities.

Authentication

API key lifecycle, storage, and best practices.

Model Catalog

Current model IDs, context windows, endpoints, capabilities, and billing notes.

OpenClaw docs

Official OpenClaw documentation.