Skip to content
goose

Coding agents

Use goose with Shannon

Describe Shannon in a custom provider file and goose runs its developer tools and extensions on Shannon models.

  • Tested Nov 7, 2026
  • OpenAI Chat Completions
  • About 3 min

About goose

goose is an open-source agent, first built at Block, that runs in the terminal and as a desktop app. It works through extensions (MCP servers), with a built-in developer extension for shell commands and file edits. With Shannon it uses a custom OpenAI-compatible provider, so every extension and recipe runs on a Shannon model.

What you need

A Shannon API key
Keys & usage
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Add Shannon as a custom provider

    Create ~/.config/goose/custom_providers/shannon.json. As in goose's own example, base_url is the full chat completions URL. context_limit tells goose when to summarise.

    ~/.config/goose/custom_providers/shannon.json
    {
      "name": "shannon",
      "engine": "openai",
      "display_name": "Shannon",
      "description": "Shannon API",
      "api_key_env": "SHANNON_API_KEY",
      "base_url": "https://api.shannon-ai.com/v1/chat/completions",
      "models": [
        { "name": "Kimi-K3-uncensored-NVFP4", "context_limit": 1022976 }
      ],
      "supports_streaming": true,
      "requires_auth": true
    }
  2. Export the key and start goose

    api_key_env names the variable goose reads the key from. goose session opens a chat; goose run -t runs one task and exits.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
    goose session --provider shannon --model Kimi-K3-uncensored-NVFP4
  3. Or run one task

    --with-builtin developer gives goose its shell and edit tools for the run.

    Shell
    goose run --provider shannon --model Kimi-K3-uncensored-NVFP4 --with-builtin developer \
      -t "Run the tests, fix what fails, then run them again."
    goose in a terminal on the Shannon provider with shannon-coder-1: shell and edit tool calls fix cat_feeder.py and the tests pass
    A real run on goose 1.57.0: two edits in one turn, all three tests passing.

Check that it works

Send: What files are in this folder?

You should see: goose calls its shell tool and lists them; the banner shows shannon <id>.

Models that fit goose

Every id below meets what goose needs. The first one is the default in the snippets.

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
shannon-coder-1 131,072 65,536 No
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Model settings

goose asks for these values. They follow the model you picked.

SettingValueWhy
context_limit 1022976 The model's window; GOOSE_CONTEXT_LIMIT overrides it.

Good to know

  • goose names each new session with a separate model request in the background. GOOSE_DISABLE_SESSION_NAMING=true skips it.
  • On a server without a desktop keyring, set GOOSE_DISABLE_KEYRING=1; goose then keeps secrets in a file and reads api_key_env from the shell.
  • goose can call several tools in one turn; in our test it made both edits in a single reply.

Tips

  1. Set GOOSE_PROVIDER=shannon and GOOSE_MODEL=<id> to skip the flags on every run.
  2. GOOSE_MAX_CONCURRENT_SUBAGENTS caps how many subagents run at once (5 by default); each one sends its own requests.
  3. goose run --no-session keeps scripted runs out of your session history.
  4. Add more ids under models to switch between them in a session or the desktop app.

Troubleshooting

SymptomCauseFix
401 with "No api key passed in" The key is not in the variable that api_key_env names, or it was placed in config.yaml, which goose ignores for keys. Export SHANNON_API_KEY in the shell that starts goose.
404 Not Found base_url lacks /v1/chat/completions. Use https://api.shannon-ai.com/v1/chat/completions.
"Provider not found" --provider does not match the file's name. Use the name from the JSON file, here shannon.
401 Unauthorized The key is missing, mistyped or rotated. Copy the key again from Keys & usage; it starts with sk-.
context_length_exceeded / "prompt is too long" The conversation is longer than the model's window. Start a new chat, let the tool compact it, or pick a model with a larger window.
insufficient_quota Your balance cannot pay for the request. Top up or change plan; the request is not retried by itself.

Questions

Does goose work with Shannon?

Yes, as a custom provider with engine: openai. We ran a full edit-and-test task through goose's developer extension.

Can the goose desktop app use it?

Yes: the desktop app reads the same custom_providers folder, and can store the key in the keychain.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical