Skip to content
Open Interpreter

Coding agents

Use Open Interpreter with Shannon

Add Shannon as a chat-completions provider in Open Interpreter's config.toml and run the agent on Shannon models.

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

About Open Interpreter

Open Interpreter is now a coding agent for the terminal, rebuilt in Rust from the Codex CLI code base and aimed at open models. It runs shell commands, applies patches and keeps sessions you can resume. The old Python app of the same name is a separate, older project. The new agent talks to any Chat Completions endpoint, so it runs on Shannon models.

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. Install Open Interpreter

    The installer puts interpreter (and the short alias i) on your PATH. pip install open-interpreter installs the old Python app instead.

    Shell
    curl -fsSL https://www.openinterpreter.com/install | sh
  2. Add Shannon as a model provider

    Put this in ~/.openinterpreter/config.toml. wire_api = "chat" selects the Chat Completions format; env_key names the variable that holds the key.

    ~/.openinterpreter/config.toml
    model = "Kimi-K3-uncensored-NVFP4"
    model_provider = "shannon"
    model_context_window = 1022976
    
    [model_providers.shannon]
    name = "Shannon"
    base_url = "https://api.shannon-ai.com/v1"
    env_key = "SHANNON_API_KEY"
    wire_api = "chat"
  3. Export the key and run it

    interpreter opens a session; interpreter exec runs one task and exits.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
    interpreter exec "Run the tests, fix what fails, then run them again."
    Open Interpreter exec on the Shannon provider with shannon-coder-1: it runs the tests, applies a patch to cat_feeder.py and the tests pass
    A real run on Open Interpreter 0.0.59: shell and apply_patch calls, all three tests passing.

Check that it works

Send: What does this project do?

You should see: Open Interpreter reads your files and answers; the header shows provider: shannon.

Models that fit Open Interpreter

Every id below meets what Open Interpreter 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

Open Interpreter asks for these values. They follow the model you picked.

SettingValueWhy
model_context_window 1022976 The model's window.

Good to know

  • Open Interpreter warns "Model metadata for … not found" for Shannon ids even with model_context_window set; the run works.
  • --chat-completions switches one run to the Chat Completions format without editing the config; wire_api = "chat" makes it permanent.
  • When the API answers 429, Open Interpreter retries several times before it gives up. A 429 with Not enough API credit means the balance is used up: retries will not help until you top up.
  • On Linux the default sandbox uses bubblewrap. Where unprivileged user namespaces are blocked, commands fail inside it; that is a local setting, not the API.

Tips

  1. interpreter features list shows optional features. --disable multi_agent keeps a run to one agent; --disable guardian_approval skips the approval reviewer, which sends its own model requests.
  2. interpreter exec --skip-git-repo-check runs outside a git repository.
  3. /model in a session switches between providers and models.
  4. Our two-bug test took five requests on shannon-coder-1.

Troubleshooting

SymptomCauseFix
404 Not Found base_url lacks /v1, or wire_api is responses on a chat URL. Use https://api.shannon-ai.com/v1 with wire_api = "chat".
401 SHANNON_API_KEY is not set in the shell that runs interpreter. Export it, or check env_key.
ModuleNotFoundError: No module named 'pkg_resources' The old Python app (pip install open-interpreter, 0.4.x) is installed. Install the current agent with the script above.
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 Open Interpreter work with Shannon?

Yes, as a custom model provider with wire_api = "chat" and the base URL https://api.shannon-ai.com/v1.

Can it use the Responses API instead?

Its docs allow wire_api = "responses", which Shannon also serves at /v1/responses; we tested chat.

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