Goose Setup
Connect a coding agent with one key and https://llm.kinovi.ai, then use any model in the catalog.
Goose · Block's local agent; register Kinovi as a custom OpenAI-engine provider.
- Config files (2)
- ~/.config/goose/config.yaml
- Protocol
- OpenAI Chat Completions
- Endpoint
- /v1/chat/completions
Claude Sonnet 5.5 · Anthropic. Every snippet on this page uses it.
Base URL
https://llm.kinovi.ai/v1Key: $KINOVI_API_KEY
Setup steps
- 1
Create an API key
Create a key on the API Keys page. Keep it private; it can spend your balance.
- 2
Export KINOVI_API_KEY
export KINOVI_API_KEY="YOUR_KINOVI_API_KEY"Goose reads the key from this variable. To keep it across sessions:
echo 'export KINOVI_API_KEY="YOUR_KINOVI_API_KEY"' >> ~/.zshrc source ~/.zshrc - 3
Check the key and model
One request over the same protocol Goose uses. A JSON reply means the key, model and URL are right; a 401 means the key, a 404 the URL or model.
Terminal curl https://llm.kinovi.ai/v1/chat/completions \ -H "Authorization: Bearer $KINOVI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-5-5","max_tokens":16,"messages":[{"role":"user","content":"Reply with OK"}]}' - 4
Save the config files
~/.config/goose/config.yaml GOOSE_PROVIDER: "kinovi" GOOSE_MODEL: "claude-sonnet-5-5"~/.config/goose/custom_providers/kinovi.json { "name": "kinovi", "engine": "openai", "display_name": "Kinovi", "api_key_env": "KINOVI_API_KEY", "base_url": "https://llm.kinovi.ai/v1/chat/completions", "models": [{ "name": "claude-sonnet-5-5", "context_limit": 128000 }], "supports_streaming": true }Create the custom_providers folder next to config.yaml if it does not exist.
Keep
KINOVI_API_KEYexactly as written; the config reads the key from it. To switch models later, changeclaude-sonnet-5-5. - 5
Run Goose and check Logs
Start Goose and send a prompt. Each request shows up in Logs with its model, tokens and cost.
Troubleshooting
The key is not picked up+
Export KINOVI_API_KEY in the same shell that starts the agent, or reload your shell profile after adding it. Keep the variable name exactly as written.
404 or protocol errors+
Check the endpoint above. Each agent speaks one protocol; a base URL with the wrong path, or one that ends in /v1 where the agent adds it itself, is the usual cause.
The model is rejected+
Copy the model id from the Models page exactly, for example claude-sonnet-5-5.
No entries appear in Logs+
Confirm the base URL and key, send a fresh prompt from the agent, then refresh the Logs page.
FAQ
How do I use Goose with Kinovi?+
Create an API key, set KINOVI_API_KEY in your shell, and paste the config for Goose. It sends requests to /v1/chat/completions using the OpenAI Chat Completions.
Which models can Goose use through Kinovi?+
Any model in the Kinovi LLM catalog. Pick one in the setup panel and the config updates with its exact id. Switch models later by changing that one value.
Is the Kinovi LLM API open yet?+
Not yet. These configs show the planned setup so you can prepare your tools. The base URL and key work once the API opens.