Skip to content
Amp

Coding agents

Use Amp with Shannon

Add Shannon as a Custom URL connection in Amp's Model Routing, give the model its token limits, and pin it to a mode in Tune Modes.

  • From the Amp docs, Nov 7, 2026
  • OpenAI Chat Completions
  • About 5 min

About Amp

Amp is a coding agent for the terminal that also connects to VS Code, Cursor, Zed and Neovim, with threads you can save and share. It reads and edits code, runs commands and hands parts of a task to subagents. A Custom URL connection in Model Routing lets the mode you pin run on a Shannon model.

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. Add a Custom URL connection

    Open Model Routing in your Amp settings and choose Add → Custom URL. Enter the base URL with /v1, the API format chat-completions (Amp appends /chat/completions) and your key. In the model mapping, name the Shannon model and send its exact id:

    Connection
    Base URL:   https://api.shannon-ai.com/v1
    API format: chat-completions
    API key:    YOUR_API_KEY
    Model mapping: |
      shannon/Kimi-K3-uncensored-NVFP4 -> Kimi-K3-uncensored-NVFP4
  2. Give the model its limits

    Amp offers a model only when it knows its token limits. Open the connection, click Model Metadata Overrides, add the same model id as in the mapping, and set Input Tokens, Output Tokens and Tools. Then click Check Access, which sends a one-token request when the mapping names one model.

    Model Metadata Overrides
    Model:         shannon/Kimi-K3-uncensored-NVFP4
    Input Tokens:  760832
    Output Tokens: 262144
    Tools:         Yes
  3. Pin it to a mode

    Open Mode Dial → Tune Modes, turn the dial to a mode, choose the Shannon model as its Main Agent, and save. Start threads in that mode; subagents follow the pin.

Check that it works

Send: Explain what this repository does.

You should see: A thread in the pinned mode answers with the Shannon model; the routing graph in Model Routing shows the Custom URL connection serving it.

Models that fit Amp

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

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Model settings

Amp asks for these values. They follow the model you picked.

SettingValueWhy
Input Tokens 760832 The window minus the output limit.
Output Tokens 262144 The longest answer.

Good to know

  • Amp calls Shannon from its own servers, not from your machine.
  • Custom URL connections are open to every Amp tier. On Enterprise pricing, Amp can add a fee in Amp credits on tokens your connections serve.
  • Only models a connection serves go to Shannon. Modes without the pin, and anything else no connection covers, still use Amp credits.
  • Amp may show a non-blocking warning for a model id that is not in its catalog; the connection still saves and works.
  • The connection also speaks responses (base URL https://api.shannon-ai.com/v1) and anthropic-messages (base URL https://api.shannon-ai.com).

Tips

  1. Amp reads AGENTS.md in the project and its subfolders (or AGENT.md and CLAUDE.md when there is none); personal rules go in ~/.config/amp/AGENTS.md.
  2. In the CLI, Ctrl+S turns the Mode Dial before a thread's first message; after that the thread keeps its mode, so pick the Shannon mode first.
  3. amp -x "…" runs one prompt and prints the answer, for scripts; execute mode also turns on when you redirect the output to a file.
  4. Ctrl+O opens the command palette, and Ctrl+G edits the current prompt in your $EDITOR.
  5. amp threads continue T-… attaches the CLI to an existing thread, and @@ in a prompt searches for a thread to mention.

Troubleshooting

SymptomCauseFix
The model is not in the Main Agent list Amp does not know its token limits. Add it under Model Metadata Overrides with Tools set to Yes.
Amp warns that the base URL contains the API path The URL ends in /chat/completions. Enter https://api.shannon-ai.com/v1 only.
Threads still use Amp credits The thread runs in a mode without the Shannon pin, or a higher connection serves the model. Start threads in the pinned mode and check the routing graph.
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 Amp work with Shannon?

Yes, as a Custom URL connection in Model Routing with the chat-completions format and https://api.shannon-ai.com/v1.

Can a workspace share the connection?

Yes. Workspace admins add it under Workspace Model Routing, and it applies to every member's threads after their personal connections.

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