Use LobeHub with Shannon
Create a custom AI provider for Shannon in LobeHub, fetch its models, and give any agent a Shannon model.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 5 min
About LobeHub
LobeHub, formerly LobeChat, is an open-source AI workspace: agents with their own instructions, topics, documents, tools and skills, in the browser or self-hosted with Docker. Each agent can use a different provider and model. Added as a custom AI provider, Shannon's models sit in the same model menu as every other provider's.
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
-
Create a custom AI provider
Open Settings → Provider and press + next to the provider search. Give it the ID
shannon(it cannot be changed later), the name Shannon, Request Format OpenAI, the proxy URL with/v1, and your key, then press Create.Create Custom AI ProviderProvider ID: shannon Provider Name: Shannon Request Format: OpenAI Proxy URL: https://api.shannon-ai.com/v1 API Key: YOUR_API_KEY
A real run on LobeHub 2.3.2: the custom provider form for Shannon. -
Give an agent a Shannon model and chat
Open an agent's Agent Profile (or add a new agent), pick the Shannon model under Model & Reasoning Effort, then start a topic. The model menu in the chat box switches models for one chat.
A real chat on LobeHub 2.3.2 on shannon-coder-1: the answer, with the model's reasoning folded into Deeply Thought.
Check that it works
Send: Name three colours a cat can be, in one short sentence.
You should see: "Black, orange, and white" in one sentence, under a collapsed Deeply Thought block.
Models that fit LobeHub
Every id below meets what LobeHub needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
shannon-3 | 196,608 | 65,536 | Yes |
shannon-3-pro | 196,608 | 65,536 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Good to know
- Self-hosting LobeHub 2.x needs PostgreSQL, Redis and S3-compatible storage; the official Docker Compose setup brings all three, and its
setup.shgenerates the secrets. - A new account walks through onboarding before the settings pages open.
- LobeHub shows each model's "Released at" date from the
createdfield of/v1/models; it says nothing about the model itself. - With Use Client Request Mode on, the browser calls Shannon directly with your key; leave it off on shared servers.
- When a model reasons before answering, LobeHub folds the reasoning into a Deeply Thought block above the reply.
Tips
- Turn on only the Shannon models you use in the provider's Model List; fetched models start switched off, and only switched-on ones appear in agent menus.
- Set the model per agent under Agent Profile → Model & Reasoning Effort, so a writing agent and a coding agent can run on different Shannon models.
- Point Settings → Service Model (topic names, translation and other helper tasks) at a Shannon model, or those tasks keep using the built-in default provider.
- Leave Use Client Request Mode off: requests then go from your LobeHub server, and the key never reaches the browser.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Empty replies or 404 after saving | The proxy URL lacks /v1. | Enter https://api.shannon-ai.com/v1 exactly. |
| Shannon models missing from the agent's model menu | Fetched models start switched off. | Turn them on in Settings → Provider → Shannon → Model List. |
| Topics keep the first message as their name | Service Model still points at a built-in provider without a key, so no title is written. | Set the Service Model to a Shannon model. |
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 LobeHub work with Shannon?
Yes, as a custom AI provider with the OpenAI request format and https://api.shannon-ai.com/v1 as the proxy URL.
Can I use the built-in OpenAI provider instead?
Yes: its proxy URL field (or OPENAI_PROXY_URL and OPENAI_API_KEY on the server) takes the same address and key. A separate Shannon provider keeps Shannon's models apart from OpenAI's catalogue.