Skip to content
PyGPT

Chat apps

Use PyGPT with Shannon

Add Shannon to PyGPT as a custom provider, bring in the Shannon models with the model importer, and chat with them in PyGPT's desktop window.

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

About PyGPT

PyGPT is an open-source desktop assistant written in Python for Linux, Windows and macOS. One window combines chat, agents, notepad, a painter, file and RAG tools and many plugins. Its custom providers accept any OpenAI Chat Completions-compatible endpoint, so Shannon models run in every mode that chats.

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 and start PyGPT

    Install with pip (Python 3.10 or newer) or as a snap, then start pygpt. The first-run wizard asks about plugins and offers to open the API key settings.

    Shell
    pip install pygpt-net
    pygpt
  2. Add a custom provider

    Open Config → Settings → Custom providers, press Add, and enter a name, the base URL with /v1 and your key. Press Save in the dialog, then Save at the bottom of Settings.

    Custom provider
    Provider name: Shannon
    API base URL:  https://api.shannon-ai.com/v1
    API key:       YOUR_API_KEY
    PyGPT custom provider dialog with provider name Shannon, the Shannon API base URL and a masked API key
    A real setup on PyGPT 2.9.1: the custom provider dialog.
  3. Import the models

    Open Config → Models → Import… and choose your provider at the top; PyGPT loads its ids from GET /v1/models. Select ids under Available models, move them right with > and press Save.

    PyGPT model importer with the Shannon provider selected and shannon-coder-1 moved into PyGPT models
    The model importer in PyGPT 2.9.1 after loading the Shannon list and adding one model.
  4. Chat

    Pick the model with the model button at the bottom of the input, where it is listed under the provider's name, and send a message.

    PyGPT chat on the Shannon model shannon-coder-1 answering what a puppy needs on its first day, with tokens and speed in the status bar
    A real chat on PyGPT 2.9.1 with the Shannon model; the status bar shows tokens and speed.

Check that it works

Send: Name three things a puppy needs on its first day at home, in one short sentence.

You should see: One sentence such as "A puppy needs food and water, a safe place to rest, and frequent potty breaks." and the token count in the status bar.

Models that fit PyGPT

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

Model idContext windowMax outputImage 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

  • Conversation titles come from a separate summary model, gpt-4o-mini by default. Set Model used for auto-summary to a Shannon model under Config → Settings → Chats, or turn Automatic conversation summary off.
  • On Linux, pip install pygpt-net builds PyAudio and needs the PortAudio headers (portaudio19-dev on Debian and Ubuntu); the Qt window also needs libxcb-cursor0.
  • The importer guesses each model's window; check it under Config → Models → Edit models.

Tips

  1. Each model can override the provider's API base and key under Config → Models → Edit models.
  2. With No tools in the input bar, PyGPT sends plain chat requests; switch tools on only when you want plugins.
  3. Ctrl + mouse wheel zooms the window, and Config → Settings → Layout has a DPI factor for high-resolution screens.
  4. Config → Settings → API Keys → OpenAI also has an API Base URL field, but a custom provider leaves your OpenAI settings untouched.

Troubleshooting

SymptomCauseFix
Could not load the Qt platform plugin "xcb" libxcb-cursor0 is missing (Qt 6.5 and newer need it). Install it with your package manager and start PyGPT again.
Shannon is not in the importer's provider list The custom provider was added but Settings were not saved. Press Save at the bottom of Config → Settings, then reopen the importer.
portaudio.h: No such file or directory during install PyAudio is built from source on Linux. Install portaudio19-dev (or your distribution's PortAudio headers) and run pip again.
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 PyGPT work with Shannon?

Yes: add Shannon under Config → Settings → Custom providers with https://api.shannon-ai.com/v1, then import the models.

Which PyGPT modes can use Shannon models?

Chat-based modes use the imported models; we tested plain Chat. Image and audio features keep their own providers.

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