Skip to main content

kapi models setup

kapi setup

Detects the AI options on this machine — the Claude Code CLI (uses your Claude subscription, no API key), a running Ollama server (local models), and API keys already present in the environment — then walks through picking the default provider, storing an API key when one is needed, and verifying the choice with a tiny test call. Writes ai.provider / ai.model to the global config (shared with Kapi Desktop).

Requires a terminal; in CI set an API key env var or use kapi config set.

Commandmodels setup
Watch it
models setup needs network access, an API key, or local system access, so it can’t run in the browser playground.See the guides for a recorded run, or try it locally with the installed CLI.
Flags

This command has no local flags.

← Back to the Command Reference