Use Coze Studio with Shannon
Add a Shannon model to Coze Studio's model management as an OpenAI model with a custom base URL, then build agents and workflows on it.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 20 min
About Coze Studio
Coze Studio is the open-source, self-hosted edition of the Coze agent platform: a visual builder for agents, apps and workflows with plugins, knowledge bases, memory and a preview-and-debug chat. It runs as a Docker Compose stack. Added in its model management as an OpenAI model with a custom base URL, a Shannon model becomes available to every agent, app and workflow node.
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
-
Start Coze Studio
Clone the repository and start the stack, then register the first account at
http://localhost:8888/sign. The first start pulls a dozen images and takes several minutes.Shellgit clone https://github.com/coze-dev/coze-studio.git cd coze-studio make web -
Add Shannon in model management
Open
http://localhost:8888/admin/#model-management. In the OpenAI group press Add Model and fill in the form. The Base URL keeps/v1.Add Model (OpenAI)Display Name: Kimi-K3-uncensored-NVFP4 Model: Kimi-K3-uncensored-NVFP4 API Key: YOUR_API_KEY Base URL: https://api.shannon-ai.com/v1
A real run on Coze Studio 0.5.1: the Add Model form for a Shannon model. -
Use it in an agent
In Workspace → Create → Create agent, open the model menu at the top of Arrangement, pick the Shannon model and send a message in Preview & Debug. Workflow LLM nodes offer the same model.
Check that it works
Send: Name three colours a cat can be, in one short sentence.
You should see: "A cat can be black, white, or orange." in Preview & Debug, followed by three suggested follow-up questions.
Models that fit Coze Studio
Every id below meets what Coze Studio 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 |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
shannon-coder-1 | 131,072 | 65,536 | No |
Good to know
- The model menu shows a context size from Coze's OpenAI template, not the Shannon model's real window; use the table above.
- New agents start on the first model in the list, an empty placeholder in a fresh install; switch each agent to the Shannon model in Arrangement.
- Model management has no model-list fetch: type each Shannon id by hand.
- Preview & Debug prints a reasoning model's thinking as a quoted block above the answer.
Tips
- Add one model entry per Shannon id you want; the Display Name is what agent builders see in the model menu.
- Switch Auto-suggestion off in an agent's Chat experience settings if you do not want three follow-up questions generated after each reply.
- Keep Use Azure and Enable Base64 URL unticked for Shannon; text-only models never receive files anyway.
- Test a new model in the agent's Preview & Debug pane before you publish the agent.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
Preview & Debug shows "Initialization failed" and the server log says Unknown column 'user_id' | The schema migration in the MySQL container ran before MySQL accepted connections, so newer tables were not updated. | Run it again: docker exec coze-mysql sh -c 'atlas schema apply -u "mysql://$MYSQL_USER:$MYSQL_PASSWORD@127.0.0.1:3306/$MYSQL_DATABASE" --to file:///opencoze_latest_schema.hcl --exclude "atlas_schema_revisions,table_*" --auto-approve'. |
make web stops at pull access denied for minio/minio | That MinIO image is no longer public on Docker Hub. | Point the minio service at another MinIO build in a compose override, with matching binary paths. |
| The Shannon model is missing from the agent's model menu | It was added to a different provider group or is disabled. | Add it under the OpenAI group and check it shows Enabled. |
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 Coze Studio work with Shannon?
Yes: add a model in the OpenAI group of model management with https://api.shannon-ai.com/v1 as the Base URL.
Is this the same as coze.com?
No. Coze Studio is the open-source edition you host yourself; this guide covers it. The hosted Coze platform has its own model catalogue.