| name | axonrouter |
| description | Entry point for AxonRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, STT, embeddings, web search, web fetch, and unified multimodal routing. Use when the user mentions AxonRouter, AXONROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed. |
AxonRouter
Local/remote AI gateway exposing OpenAI-compatible REST. One key, many providers, auto-fallback.
Setup
export AXONROUTER_URL="http://localhost:12711"
export AXONROUTER_KEY="sk-..."
All requests: ${AXONROUTER_URL}/v1/... with header Authorization: Bearer ${AXONROUTER_KEY} (omit if auth disabled).
Verify: curl $AXONROUTER_URL/api/health → {"ok":true}
Discover models
curl $AXONROUTER_URL/v1/models
curl $AXONROUTER_URL/v1/models/image
curl $AXONROUTER_URL/v1/models/tts
curl $AXONROUTER_URL/v1/models/embedding
curl $AXONROUTER_URL/v1/models/web
curl $AXONROUTER_URL/v1/models/stt
curl $AXONROUTER_URL/v1/models/image-to-text
Use data[].id as model field in requests. Combos appear with owned_by:"combo".
Per-model metadata (contextWindow, params, capabilities):
curl "$AXONROUTER_URL/v1/models/info?id=openai/gpt-5"
Response shape:
{ "object": "list", "data": [
{ "id": "openai/gpt-5", "object": "model", "owned_by": "openai", "created": 1735000000 },
{ "id": "tavily/search", "object": "model", "kind": "webSearch", "owned_by": "tavily", "created": 1735000000 }
]}
Capability skills
When the user needs a specific capability, fetch that skill's SKILL.md from its raw URL:
Combos (auto-fallback chains)
Combos chain multiple providers with automatic fallback. Create via Dashboard → Combos.
curl $AXONROUTER_URL/v1/models | jq '.data[] | select(.owned_by=="combo") | .id'
Use combo name as model in any request — AxonRouter tries each provider in order until one succeeds.
Errors
- 401 → set/refresh
AXONROUTER_KEY (Dashboard → Keys)
- 400
Invalid model format → check model exists in /v1/models/<kind>
- 503
All accounts unavailable → wait retry-after or add another provider account
- 429 → rate limited; combo auto-fallback will try next provider
Dashboard
Access at ${AXONROUTER_URL}/dashboard for:
- Provider management (OAuth + API key)
- Combo creation and editing
- Usage analytics and quota tracking
- Custom skills editor
- API key management