Skip to content
Agnaistic (Agnai)

Writing and role-play

Use Agnaistic (Agnai) with Shannon

Create an OpenAI Compat provider in an Agnaistic preset with Shannon's URL and key, pick a model, and your characters reply with Shannon models.

  • From the Agnaistic (Agnai) docs, Nov 7, 2026
  • OpenAI Chat Completions
  • About 4 min

About Agnaistic (Agnai)

Agnaistic (Agnai) is an open-source role-play chat app for personalised characters, used at agnai.chat or self-hosted. It supports group chats with several users and bots, memory and lore books, and many AI services through providers you add to a generation preset. With an OpenAI Compat provider pointed at Shannon, the characters reply with 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. Open the provider list

    Open the generation preset your chat uses. At the top, open the Service picker and click + New.

  2. Create the Shannon provider

    In Create Provider, choose OpenAI Compat under Custom. Enter a Label, the URL (it ends in /v1; Agnaistic adds /chat/completions) and your API Key. Set Request Format to OpenAI Compat (Chat) with Standard, click Test Connection, then Create.

    Create Provider
    Provider:       OpenAI Compat
    Label:          Shannon
    URL:            https://api.shannon-ai.com/v1
    API Key:        YOUR_API_KEY
    Request Format: OpenAI Compat (Chat), Standard
  3. Pick the model

    Select the new provider in Service. Open the model picker and choose a Shannon id (the refresh button reloads the list), or type it in Manual Model ID and click Confirm.

    Manual Model ID
    shannon-3
  4. Set the context size

    On the General tab, set Context Size to the model's window.

    General
    Context Size: 196608

Check that it works

Send: Tell me about the dog you walked in the forest today.

You should see: A reply in the character's voice from the Shannon model you picked.

Models that fit Agnaistic (Agnai)

Every id below meets what Agnaistic (Agnai) 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

Model settings

Agnaistic (Agnai) asks for these values. They follow the model you picked.

SettingValueWhy
Context Size 196608 The model's window.

Good to know

  • Without Use Local Requests, Agnaistic's server sends the requests and keeps your key with your account (guests keep data in the browser).
  • Keep Disable Auto-URL off so /chat/completions is added to the URL.
  • Long-term memory and PDF embedding are optional pipeline features with their own embedding; Shannon has no embeddings endpoint.

Tips

  1. Create the Shannon provider once; every preset can then select it in the Service picker.
  2. Click the pencil next to a provider in the Service picker to change its URL or key later.
  3. Switch Preset Mode to show all controls; the Memory, Samplers and Toggles tabs appear next to General and Prompt.
  4. Turn on Use Local Requests on the General tab to have your browser call Shannon instead of Agnaistic's server; the chat then cannot be multiplayer.

Troubleshooting

SymptomCauseFix
Test Connection shows a red cross The URL lacks /v1 or ends in /chat/completions. Enter https://api.shannon-ai.com/v1 and keep Disable Auto-URL off.
"Your current model is not in the model list" The manual id has a typo. Refresh the list and pick the Shannon id from it.
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 Agnaistic work with Shannon?

Yes, as an OpenAI Compat provider with the URL https://api.shannon-ai.com/v1 and Request Format OpenAI Compat (Chat).

Does it work on agnai.chat and self-hosted?

Both use the same provider settings.

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