Use Xantly with Aide (codestory.ai)

Aide from codestory.ai uses a local Rust sidecar for LLM dispatch. Its provider-config block accepts OpenAI-compatible endpoints, point it at Xantly for routing on chat, Cmd+K, and agent mode.

Aide from codestory.ai is an AI-native editor with a sidecar architecture, a local Rust binary handles LLM calls and tool orchestration while the editor UI stays snappy. Aide exposes a provider-config block that accepts OpenAI-compatible endpoints. Point it at Xantly and every sidecar-mediated call routes through smart routing + cache + memory.

Prerequisites

Setup

  1. Open Aide → Settings (Cmd+, / Ctrl+,).
  2. Search for AI Providers → add a new OpenAI Compatible provider.
  3. Configure:
FieldValue
NameXantly
Base URLhttps://api.xantly.com/v1
API Keyxantly_sk_...
Available Modelsxantly/auto-quality, xantly/auto-value, anthropic/claude-sonnet-4.6, openai/gpt-5.4
  1. Save. Under Default Model → select xantly/auto-quality.
  2. Reload the window.

Setup via sidecar config

Aide's sidecar reads a config file at ~/.aide/sidecar.toml:

[providers.xantly]
kind = "openai_compatible"
base_url = "https://api.xantly.com/v1"
api_key = "xantly_sk_..."

[defaults]
model = "xantly/auto-quality"
provider = "xantly"

Restart the sidecar (aide-sidecar restart or restart Aide) for changes to apply.

Using Aide

All three surfaces route through Xantly.

Agent mode

Aide's agent panel supports Plan / Act / Verify cycles, similar to Cline but with codestory's specialized Sota (state-of-the-art task agent) model handoffs.

Use xantly/auto-quality for the main agent model and anthropic/claude-sonnet-4.6 for tool-heavy sub-tasks.

Model choice

Model IDWhen
xantly/auto-qualityMain agent, Cmd+K complex edits.
xantly/auto-valueHigh-volume chat / reviews.
anthropic/claude-sonnet-4.6Long-context agent runs, tool calls.
openai/gpt-5.4Schema-tight edits.
xantly/auto-speedInline quick completions.

Verify

In the Aide chat panel:

Reply with just the word "pong".

Check your Xantly dashboard, call logged with routed-to model + cost.

What you get

Gotchas

Sidecar version matters. Older Aide builds ship an older sidecar that might not support custom openai_compatible providers. Update to the latest Aide release before filing issues.

base_url with /v1.

The sidecar runs as a separate process. If you change the config via Settings, give it a few seconds to pick up the new values, or manually restart with aide-sidecar restart.

Proprietary codestory models. Aide's "Sota" internal model (for plan-act handoffs) is hosted by codestory, that one call stays on their infra. Everything else (chat, edit, agent step models) respects your provider config.

MCP + Aide. Aide is adding MCP client support; Xantly passes MCP tool calls through normally.

Next steps