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/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Install Open Interpreter
The installer puts
interpreter(and the short aliasi) on your PATH.pip install open-interpreterinstalls the old Python app instead.Shellcurl -fsSL https://www.openinterpreter.com/install | sh -
Add Shannon as a model provider
Put this in
~/.openinterpreter/config.toml.wire_api = "chat"selects the Chat Completions format;env_keynames the variable that holds the key.~/.openinterpreter/config.tomlmodel = "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" -
Export the key and run it
interpreteropens a session;interpreter execruns one task and exits.Shellexport SHANNON_API_KEY=YOUR_API_KEY interpreter exec "Run the tests, fix what fails, then run them again."
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 id | Context window | Max output | Image 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.
| Setting | Value | Why |
|---|---|---|
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_windowset; the run works. --chat-completionsswitches 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. A429withNot enough API creditmeans 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
interpreter features listshows optional features.--disable multi_agentkeeps a run to one agent;--disable guardian_approvalskips the approval reviewer, which sends its own model requests.interpreter exec --skip-git-repo-checkruns outside a git repository./modelin a session switches between providers and models.- Our two-bug test took five requests on
shannon-coder-1.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
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.