Docs · Guide

Shelley on any model

Shelley (boldsoftware/shelley) is the coding agent for exe.dev, a web app that shelley serve runs. Its models live in its database, not in a file packinggoods can edit, so packinggoods tells it through the same API Shelley's own Models and Profiles pages use: a custom model at packinggoods's gateway, made the default. New Shelley conversations then run on any model you have in packinggoods: DeepSeek, GLM, Kimi, Qwen, GPT or a ChatGPT subscription.

Set up Shelley

  1. Start Shelley firstpackinggoods talks to a running Shelley. When it isn't running, packinggoods says so: start shelley serve and try again.
  2. Pick a model on packinggoods's Agents pageShelley's row lists the models Shelley can use itself and the ones via packinggoods. Pick one of the latter.
  3. Start a new conversationNew conversations start on the default profile's model, the one you just picked.
Terminal
shelley serve                              # Shelley must be running
packinggoods shelley deepseek/deepseek-v4-pro

How packinggoods tells Shelley

Shelley opens a Unix socket for its CLI: $SHELLEY_SOCKET, else $XDG_CONFIG_HOME/shelley/shelley.sock (~/.config/shelley by default, on a Mac too), or shelley-2.sock and on when a second server took the first. packinggoods tries them in the order Shelley's CLI does and calls /api/custom-models and /api/profiles:

Terminal
POST /api/custom-models   (over ~/.config/shelley/shelley.sock)
{
  "display_name": "deepseek/deepseek-v4-pro (packinggoods)",
  "provider_type": "openai",
  "endpoint": "http://127.0.0.1:3425/v1",
  "api_key": "…",
  "model_name": "deepseek/deepseek-v4-pro",
  "reasoning_support": "yes",
  "image_support": "no",
  "max_tokens": …
}

Each model you pick in packinggoods is a custom model of type openai at the gateway's /v1 (Shelley adds /chat/completions), with a key packinggoods issues to Shelley alone. Shelley usually learns reasoning and image support from models.dev by endpoint and name, which packinggoods's models aren't in, so packinggoods says what it knows. Then packinggoods sets the default profile's model to it; for a model that doesn't reason it clears thinking_level, which Shelley would refuse.

packinggoods keeps the ids of the models it made, so a model you made by hand at the gateway stays yours. When the gateway's address changes, packinggoods updates its models.

Which conversations change

New conversations use the new model; an open one keeps its model until you pick another in its model menu. packinggoods says so after the switch.

Switching back

Switching back puts the default profile's model and thinking level back to what they were (or to the server's default when that model can't be used any more), then deletes every custom model packinggoods made. You can also pick one of Shelley's own models in packinggoods. If Shelley was uninstalled, packinggoods notes it and takes its models out when Shelley runs again.

Terminal
packinggoods shelley default

FAQ

How do I use DeepSeek, GLM or a ChatGPT subscription in Shelley?

Run shelley serve, then pick a via-packinggoods model for Shelley on packinggoods's Agents page. packinggoods adds an openai custom model at its gateway to Shelley and makes it the default profile's model.

Why does packinggoods say Shelley isn't running?

Shelley's models are in its database, which packinggoods changes only through a running Shelley's socket. Start shelley serve and try again.

Why is an open conversation still on the old model?

The default profile applies to new conversations. Change an open one in its own model menu.

Will my own custom models be deleted?

No. packinggoods deletes only the model ids it made; one you made by hand, even at the gateway, stays yours.

More agents on the same models: AtomCode on any model, Reasonix Studio on any model, jcode on any model and Cindy on any model. Something fails? See Fixing common errors, or ask on Discord.