/docs/grok-app says how magpie sets up Grok App (RongleCat/grok-app):
the [model.magpie] channel in agent-home/config.toml under the App's
data folder, written as the App writes one, with magpie's own key, chat
completions and app_models carrying each model's context window, images
and efforts; why magpie never sets [models] default (the App would drop
its own sign-in) and Use in the App's Settings › Account is what
switches; the one-time put-back of a route an older magpie set; the
effort the picker starts on; where the data folder is found on each
system; disconnecting, which touches the route only while it names
magpie. Each claim is from internal/agent/grokapp.go. Linked from each
language's fx page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: Grok App itself with magpie for this page; it names only
what magpie's source says.
ljayic asked for a complete, stable management API so nothing needs a
hand-edited file. /v1/magpie/admin/ now serves the app's own /api handlers
(providers and their keys and accounts, OAuth sign-in start/poll/cancel,
gateway keys, account groups) to a gateway key set with
`magpie gateway-key admin <id> local|any`. Routes and actions not in
gui/admin.go's adminRoutes are 404, so a provider's saved key, a gateway
key's secret, sign-in export and actions on this computer's apps are not
served; "admin-key" is not served either, so the API can't raise its own
caller. Sign-in returns the vendor's page and code, opens nothing, takes no
password.
Guard (gateway/admin.go), in order: any Origin or Sec-Fetch-Site/-Mode is
403 with or without a key (Origin null, foreign, listed, *.localhost, an
app scheme); no key 401; a key without Key.Admin 403; from loopback the Host
must be ownHost (a rebound page's GET has no Origin); from the network the
key must be "any"; a proxied request counts as remote. Key.Admin is dropped
(adminOf) for a read-only, Browser, issued, expiring or default key, and
setting read-only clears it. The route is in readOnlyRefused and keySlotFree.
Docs: docs/reference.md "Management API", gateway-routing.md, and the
remote page in en, zh and ja. Routing Groups, sign-in export and a GUI
switch for the level are left to #6307.
Run (mica, the worktree before the rebase onto 9 newer commits): go vet of
access, cli, gateway, gui (darwin), GOOS=windows vet of the same four,
GOOS=linux -tags nogui vet of access, cli, gateway; gofmt -l empty;
go test -count=1 -timeout 45m ./internal/access ./internal/cli
./internal/gateway ./internal/gui: all ok but TestKeySlotEveryRoute, which
named the new route and is fixed here, then it and the read-only, admin and
guard tests pass again. After the rebase the same tests ran again.
Broken by hand, each red in TestAdminAPIGuards: browser check off (a
browser case served), Admin check off (a key without it served), Host check
off (a rebound name served), the "any" requirement off (a local-only key
from the network served, and a proxied request).
Tests: TestAdminAPIGuards (no key, unknown key, non-admin, read-only,
local/any, x-api-key, 8 browser headers x 3 callers, rebound Host, proxy,
no handler), TestAdminKey (access: levels, read-only, Browser, issued),
TestGatewayKeyCLIAdmin, TestAdminAPIGatewayKeys / Providers (a canary key
is never told) / SignIn, TestAdminRoutesEveryAPIRoute.
Not tried: a real sign-in against a vendor through the API, a request from
a second computer on the LAN, the GUI suite (no page or app.js changed), a
Linux/Windows run of the new tests.
/docs/fx says how magpie sets up Vercel Labs' fx (fx.sh, not the JSON
viewer): found by ~/.fx, not the command; provider and models.magpie in
~/.fx/settings.json, with providers.magpie on openai-chat-completions at
the gateway's /v1 with auth none; no effort, as fx sends none to a
provider of the user's own; model_metadata capped at fx's 256 with the
model in use first, and no output limit that isn't below the context
window; reviewer_model and an omit tool_choice_mode kept, auth written
whole; the restart notice; switching back to the provider fx talks to
without magpie, Vercel's AI Gateway when unset. Each claim is from
internal/agent/fx.go. Linked from each language's Aside page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: fx itself with magpie for this page; it names only what
magpie's source says.
/docs/aside says how magpie sets up Aside: providers.magpie in Pi's
format in each account's ~/.aside/u/<id>/models.json, with magpie's own
key for Aside, and why an entry with no key or another key is left
alone; the default model, thinking level, the fast, standard, deep and
visual modelCategories and imageGenerationModel set through Aside itself
(aside repl), then read back; which account is set up (picked in
magpie, else currentAccountId in accounts.json, else u0); switching back
to the saved value of each setting magpie changed. Each claim is from
internal/agent/aside.go, aside_account.go and aside_native.go. Linked
from each language's Ante page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
116 pass, 0 fail.
Not tried: Aside itself with magpie for this page; it names only what
magpie's source says.
The updater took a file and its SHA-256 from the same feed answer, so
whoever could change /api/latest could swap both; only the Mac app also
checked its signing team. Now release CI (yetone/magpie-releases) signs
"magpie release <version>\n" + SHA256SUMS with an ed25519 key held as that
repo's UPDATE_SIGNING_KEY secret and publishes SHA256SUMS.sig (release
assets: 16 -> 17). The site worker carries the list and signature in the
feed; internal/update/signed.go checks them against the public key built
into the binary, takes each file's hash from the signed list and refuses a
missing or bad signature or a feed hash that differs. Versions from
0.1.3862 require it; older ones and binaries older than the key update as
before. MAGPIE_UPDATE_FEED lifts the requirement for local test servers.
mirror-release waits for 17 assets; docs/reference.md and code-standards
say 17 and describe the transition.
Run: go test internal/update, internal/cli, internal/gui -run Update|WhatsNew
(ok); node --test site/*.test.mjs (116 ok); gofmt; go vet darwin, linux
nogui, windows on internal/update. Broken by hand: signature check skipped
(tamper and other-key tests red), feed-hash comparison skipped (swapped
hash and feed tests red), worker not attaching signed (worker test red).
The embedded key is checked against a sample signed by the real key with
openssl, as CI does. Signing script run against a throwaway key.
Not tried: a real signed release before this tag; install.sh does not
verify the signature.
/docs/ante says how magpie sets up Ante (antigma.ai): the magpie entry
in ~/.ante/catalog.json ($ANTE_HOME) at the gateway's /v1 on the
OpenAiCompatible wire style, with magpie's models in preferred_models;
why it has no auth block, and the user's own auth, http_headers and
extra_body kept in it; why support_vision is left alone and a routing
group gets no efforts; why provider and model in settings.json are set
too, since Ante's shipped providers come first in auto-detection; the
once-per-process read and the lenient parse; switching back to the saved
pair, with a choice made in Ante since left standing. Each claim is from
internal/agent/ante.go. Linked from each language's omp page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Ante itself with magpie for this page; it names only what
magpie's source says.
/docs/omp says how magpie sets up omp (oh-my-pi, a fork of Pi): each
role's model under modelRoles in ~/.omp/agent/config.yml as
magpie/<provider>/<model> with an optional :level (default, task, smol,
slow, plan, vision, advisor, commit, tiny, memory, and what each falls to
when unset); the keyless magpie provider in models.yml with each model's
window, cap, input, levels and cost (without which omp counts 0); max
only from omp 16.4.0; image models for the image role from 18.7.0; why
magpie/** joins an enabledModels list; each model on its native API;
profiles as omp#<name> and WSL; switching back from the stash, and the
provider kept while anything is on magpie. Each claim is from
internal/agent/omp.go and omp_scope.go. Linked from each language's
StepCode page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: omp itself with magpie for this page; it names only what
magpie's source says.
/docs/stepcode says how magpie sets up StepCode (StepFun's step
command): defaultProvider and defaultModel in ~/.stepcode/config.toml
(or the folder above an absolute STEP_CODING_AGENT_DIR, renamed by
STEPCODE_CONFIG_DIR), written with the rest of the file kept;
providers.magpie in models.json (JSONC, Pi's provider format,
openai-completions), checked to be objects before a write; why magpie
appends its pick to an enabledModels scope and removes only what it
appended, and a renamed provider's entries moving with it; switching
back from the saved original provider, model, scope and providers.magpie
text, with files magpie made removed. Each claim is from
internal/agent/stepcode.go. Linked from each language's Avibe page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: StepCode itself with magpie for this page; it names only what
magpie's source says.
/docs/avibe says how magpie sets up Avibe (avibe-bot/avibe, the avibe-os
package and vibe CLI): magpie as one Model Hub source, serving Vibey and
the Claude Code, Codex and OpenCode it runs; the home ($AVIBE_HOME,
~/.avibe, ~/.vibe_remote before 3.0) and model_hub.sources; why a source
is added through Avibe's internal API (dispatch.sock, or endpoint.json's
port and token on Windows) and only while Avibe runs; the create_source
payload; the stashed id, a hand-added source at the gateway counted as
magpie's, and a moved gateway's source made again; why openai_chat
rather than Responses; the model list from /v1/models and the refresh on
a change; removing it, confirmed with what Avibe listed. Each claim is
from internal/agent/avibe.go. Linked from each language's MothX page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Avibe itself with magpie for this page; it names only what
magpie's source says.
/docs/mothx says how magpie sets up MothX (oschina/mothx, formerly
vibecoding): settings.json in $MOTHX_DIR, %APPDATA%\mothx on Windows or
~/.mothx; defaultProvider and defaultModel set to magpie's, and
providers.magpie with the gateway's /v1 on openai-chat, magpie's key,
thinkingFormat openai and one entry per model (reasoning, input, window,
reply cap, cost); headers or an httpProxy the user added kept, and a
thinkingFormat already there; defaultThinkingLevel and the levels
offered; why thinkingFormat openai (MothX otherwise guesses the vendor
from the id); MothX in a WSL distro; restarting, with the notice for a
running mothx or vibecoding; switching back, the file put back byte for
byte when it says the same as before. Each claim is from
internal/agent/mothx.go. Linked from each language's PenguinHarness page;
in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: MothX itself with magpie for this page; it names only what
magpie's source says.
/docs/penguin says how magpie sets up PenguinHarness
(Prism-Shadow/penguin-harness, the penguin CLI and desktop app):
.project_config.toml under $PENGUIN_HOME or ~/.penguin/data, in the
Project $PENGUIN_PROJECT_ID or default_project; default_model set to
magpie's pair, [providers.magpie] with the gateway's /v1, the
openai-responses client (reasoning.effort carried) and magpie's key, and
one [[models]] entry per model with name, window, reply cap, vision and
price; entries written before the default and taken out after it; a file
magpie makes kept 0600; Penguin in a WSL distro; no restart, since the
server reads the file again on an mtime change; switching back to the
stashed default when Penguin still has it, a magpie vision_model taken
out, and a file magpie made removed once empty. Each claim is from
internal/agent/penguin.go. Linked from each language's Paimon page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: PenguinHarness itself with magpie for this page; it names only
what magpie's source says.
/docs/paimon says how magpie sets up Paimon (aisk/paimon), the terminal
coding agent on pydantic-ai: config.json in $PAIMON_CONFIG_HOME or
~/.config/paimon (Windows too); model set to litellm:<catalog id>,
providers.litellm to the gateway's /v1 and magpie's key for Paimon, and
compaction.context_window to the model's window, since Paimon compacts
only against it for names genai-prices doesn't know; why the litellm
provider (OpenAI-compatible, profiles vendor/model names, not offered by
Paimon's login); a file magpie makes kept 0600; Paimon in a WSL distro;
restarting a running Paimon; switching back to the stashed model,
provider and window, a model picked in Paimon since kept as the user's,
and a file magpie made removed once empty. Each claim is from
internal/agent/paimon.go. Linked from each language's Muse Code page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Paimon itself with magpie for this page; it names only what
magpie's source says.
/docs/muse-code says how magpie sets up Muse Code, Meta's muse CLI:
settings.json in ${XDG_CONFIG_HOME:-~/.config}/muse, refused without
schema_version 1, which magpie adds; endpoint_transport set to the
gateway's /v1 (Muse streams to /responses there) with auth none, so the
Meta sign-in's token is neither read nor sent, and the top-level model
set to the catalog id; the other keys left; the model list from
/muse-code/models on base_url's host, which the gateway serves; Muse in
a WSL distro set up in ~/.config/muse there; restarting open sessions;
switching back to the stashed endpoint_transport and model, and a file
magpie made removed once only the schema version is left. Each claim is
from internal/agent/muse.go. Linked from each language's Prime Agent
page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Muse Code itself with magpie for this page; it names only
what magpie's source says.
/docs/openpencil says how magpie sets up OpenPencil (ZSeven-W/openpencil,
openpencil-desktop): its settings.json per system; magpie's entry in
builtin_agents (id magpie, openai-compat at the gateway's /v1, the key
magpie-openpencil that tells its requests apart), with the user's other
entries, name and on/off kept; version 1 required, and a file of an
unknown version left alone; OpenPencil writing its settings back when it
quits, so magpie refuses a change while it runs (a notice on Windows);
the model list, at most 64, written as models for two or more, v0.8.4
reading only model; the model picked in OpenPencil's own chat picker;
switching back removing the entry (and the file magpie made); and the
other open-pencil app reaching magpie through an agent or a base URL.
Each claim is from internal/agent/openpencil.go. Linked from each
language's Alma page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: OpenPencil itself with magpie for this page; it names only
what magpie's source says.
/docs/alma says how magpie sets up Alma: its providers and settings are
in the app, so magpie goes through the local API Alma serves on
localhost:23001 while it runs, and asks for Alma to be opened when it
isn't; the magpie provider of type openai at the gateway's /v1 with
Alma's own key, which is how the gateway knows Alma's requests;
chat.defaultModel set with the rest of the settings put back; each
model's capabilityOverrides (thinking levels, window, output limit,
images), since magpie's ids aren't models.dev's, with the user's own
tool-calling setting kept; magpie's image model made Alma's when Alma's
is Auto; switching back clearing a default of magpie's, the image model
back to Auto and the provider removed, or later when Alma was
uninstalled. Each claim is from internal/agent/alma.go. Linked from each
language's Kun page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Alma itself with magpie for this page; it names only what
magpie's source says.
/docs/kun says how magpie sets up Kun (KunAgent), its desktop app and the
kun TUI, both clients of kun serve: the connections in
model-connections.v2.json in ~/.kun/data (or $KUN_DATA_DIR) with keys in
Kun's protected store, so magpie goes through the runtime's admin API
with runtime.json's address and token, as Kun's Settings > Providers and
kun provider do; the magpie connection at the gateway's /v1 as chat
completions with Kun's own key, its models the ones picked for Kun (at
most 500), kept in step by sync; picking a model making it Kun's default
with the previous one stashed; Kun having to run; switching back to the
stashed default, then removing the connection. Each claim is from
internal/agent/kun.go. Linked from each language's OpenHanako page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Kun itself with magpie for this page; it names only what
magpie's source says.
/docs/openhanako says how magpie sets up OpenHanako (HanaAgent): the
magpie provider in ~/.hanako's provider catalog (or $HANA_HOME's), on
openai-completions at the gateway's /v1 with magpie's catalog as its
models; the primary agent's models.chat, primaryAgent or the first agent
with a config, and opening OpenHanako once when it has no agent; changes
through its local API while it runs, the files otherwise; the catalog
sealed since 1.0, the plugin file kept up to date and adding or removing
magpie needing OpenHanako open; switching back to the stashed model, or
OpenHanako's first own model. Each claim is from internal/agent/hanako.go.
Linked from each language's DS Bot page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: OpenHanako itself with magpie for this page; it names only
what magpie's source says.
/docs/prime-agent says how magpie sets up Prime Intellect's Prime Agent
(prime-agent), which keeps Pi's settings.json and models.json: the
magpie provider in models.json at the gateway's /v1, defaultProvider,
defaultModel and defaultThinkingLevel in settings.json; the key
magpie-prime-agent, since its requests carry no User-Agent; the folder,
~/.prime/agent or PRIME_AGENT_CODING_AGENT_DIR with ~ expanded, a
relative one not taken, and WSL; a project's settings, allowedModels
and subagentDefaultModel left to the user; switching back with the
.before-magpie copies. Each claim is from internal/agent/primeagent.go
and piLikeKeyed in agents.go. Linked from each language's Pi page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Prime Agent itself with magpie for this page; it names only
what magpie's source says.
/docs/ds-bot says how magpie adds itself to DS Bot (once DeepSeek Bot,
an Electron app on the DSH it ships): the data folder found in DS Bot's
own order (DS_BOT_HOME, locations.json's dataDir under DS_BOT_SHELL_DATA
or <config dir>/DS Bot with the older DeepSeek Bot folder, ~/.ds-bot),
an unreadable locations.json touching no folder; the route in
profiles/ds-bot/cordis.patch.yml, the key in .env and DSH's key store
and agent-default-model, as for DSH; new Bots starting on it unless a
Bot default is set in DS Bot, older Bots keeping theirs; the web search
notice; setting it up before the first open, the patch list kept; the
plugin in DSH Desktop following the DSH row; switching back. Each claim
is from internal/agent/dsbot.go. Linked from each language's Tuanjie
Cowork page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: DS Bot itself with magpie for this page; it names only what
magpie's source says.
/docs/tuanjie-cowork says how magpie adds itself to Tuanjie Cowork
(团结 Cowork, Unity China's coworker app on Codely): a provider and a
model with id magpie in ~/.codely/settings.json's customModelProviders
and customModels (the gateway's /v1, magpie's key for Cowork, authType
openai, wireApi chat, supportsMultimodal from the catalog); the user's
entries and fields on magpie's kept, a new file made 0600, and a
same-id entry of the user's or an unreadable file left alone; Cowork's
model menu pick made once, since the id stays magpie and a later model
change in magpie is what that pick sends; the notice; switching back
removing magpie's entries and an empty file magpie made. Each claim is
from internal/agent/tuanjiecowork.go. Linked from each language's
OpenBot page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Tuanjie Cowork itself with magpie for this page; it names
only what magpie's source says.
/docs/openbot says how magpie adds itself to OpenBot (the Electron
workspace running Codex, Claude, OpenCode and others): where
openbot-custom-providers-v1.json is on each OS; the entry magpie writes
(version 1, id magpie, baseUrl /agent/openbot/v1, secret null since the
key is sealed with safeStorage, which magpie doesn't open; the path is
how the gateway counts OpenCode's requests as OpenBot's); a file OpenBot
can't read left alone; the user's name, harness and key on magpie's
entry kept; models limited to those picked for OpenBot, at most 64,
with ids and context windows OpenBot accepts, since one bad entry
empties the list; the start-up read and the restart notice; MCP servers
in its SQLite database added by hand; switching back removing only
magpie's entry, and the file when nothing is left. `magpie openbot
provider magpie` and `magpie openbot default`. Each claim is from
internal/agent/openbot.go and internal/cli/main.go. Linked from each
language's miniQ page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: OpenBot itself with magpie for this page; it names only what
magpie's source says.
/docs/miniq says how magpie adds itself to miniQ (the desktop coworker
and the miniq terminal, clients of one miniq-daemon): where
settings.json is (MINIQ_DATA_DIR, the folder miniq-data-dir.json names,
else %LOCALAPPDATA%\miniq or ~/.local/share/miniq, macOS too); the
provider magpie writes (the gateway's /v1, magpie's key for miniQ since
miniQ sends no User-Agent of its own, the catalog id, apiProtocol
chat_completions rather than auto); the rest of settings.json left as
it is, and a new file made 0600; a running daemon told through
settings.update over daemon.json's WebSocket, with a restart notice
when it can't be; switching back restoring the stashed provider, or
removing magpie's and an empty file magpie made. Each claim is from
internal/agent/miniq.go. Linked from each language's Empryo page; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: miniQ itself with magpie for this page; it names only what
magpie's source says.
/docs/empryo says how magpie adds itself to Empryo (formerly SoulForge):
a provider with id magpie in ~/.empryo/config.json's providers array
(OpenAI-compatible, baseURL and modelsAPI at the gateway's /v1, no
envVar so no key of the user's is sent, listed because GET /v1 answers),
defaultModel set to magpie/<catalog id> and split at the first "/"; a
project's .empryo/config.json going over the global one; Empryo in a
WSL distro reaching the gateway at that distro's address; the
restart-on-start-up notice; switching back restoring the stashed
defaultModel and removing the provider (and an empty file magpie made).
`magpie empryo <ref>` and `magpie empryo default`. Each claim is from
internal/agent/empryo.go. Linked from each language's Lody page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Empryo itself with magpie for this page; it names only what
magpie's source says.
/docs/lody says how magpie adds itself to Lody (the desktop app running
Claude Code, Codex, Pi, dsh, Kimi Code, Grok and Bub): Lody's
lody://provider/import link, confirmed in Lody's dialog; the decoded
JSON (custom provider Magpie, Lody's own key, anthropic-messages at the
gateway for claude-code, openai-responses at /v1 for codex,
openai-chat at /v1 for the rest, models from /v1/models); how magpie
finds Lody (~/.lody, ~/.lody-oss, its data folder; OSS and Nightly);
no "added" state, since Lody has no public status API; loopback HTTP
only, with magpie saying why otherwise; on Linux, Lody started from its
desktop entry with the link, since xdg-open turns lody:// away;
`magpie lody add`. Each claim is from internal/agent/lody.go and
internal/cli/main.go. Linked from each language's Cindy page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Lody itself with magpie for this page; it names only what
magpie's source says.
/docs/cindy says how magpie adds itself to Cindy (the desktop app that
runs Claude Code, Codex and Pi): Cindy takes a provider only through its
cindy://provider/import link, confirmed in Cindy, so magpie writes
nothing there; the link's decoded JSON (custom provider Magpie, Cindy's
own key, anthropic-messages at the gateway for claude-code,
openai-responses and openai-chat at /v1 for codex and pi, models from
/v1/models); the data folder (Cindy, CindyGlobal); the check that
something opens cindy:// links; `magpie cindy add`; how "added" is read,
read-only, from cindy-<account>.db or cindy-local-v1.db, unknown when
unreadable. Each claim is from internal/agent/cindy.go, applink.go and
internal/cli/main.go. Linked from each language's Shelley page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Cindy itself with magpie for this page; it names only what
magpie's source says.
/docs/shelley says how magpie wires Shelley (boldsoftware/shelley, the
coding agent for exe.dev): its models live in its database, so magpie
uses Shelley's own API on its Unix socket ($SHELLEY_SOCKET, else
~/.config/shelley/shelley.sock, or shelley-2.sock and on); one openai
custom model per picked model at the gateway's /v1 with Shelley's own
key, reasoning and image support from magpie since models.dev doesn't
know them; the pick made the default profile's model, thinking_level
cleared for a model that doesn't reason; new conversations only;
Shelley must be running; switching back restores the stashed model and
level and deletes magpie's models, a hand-made one staying the user's.
Each claim is from internal/agent/shelley.go. Linked from each
language's AtomCode page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Shelley itself with magpie for this page; it names only what
magpie's source says.
/docs/atomcode says how magpie wires AtomCode (AtomGit's Rust terminal
agent): ATOMCODE_HOME or ~/.atomcode (Linux's in WSL); in config.toml a
[provider_accounts."magpie"] table (openai-compatible at the gateway's
/v1, AtomCode's own key) and one [models."magpie/<ref>"] table per model
with its context window (128000 when unknown), output limit, vision and
effort levels; default_provider and default_model on the pick,
default_model winning; reasoning_effort kept per model, none picked for
the user; the restart; switching back putting the stashed defaults back
where AtomCode still has them. Each claim is from
internal/agent/atomcode.go. Linked from each language's Reasonix Studio
page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: AtomCode itself with magpie for this page; it names only what
magpie's source says.
/docs/reasonix says how magpie wires Reasonix Studio 2.x and its CLI:
REASONIX_HOME, %APPDATA%\reasonix on Windows or ~/.reasonix (Linux's in
WSL); a [[providers]] entry named magpie in config.toml (openai kind at
the gateway's /v1, api_key_env MAGPIE_REASONIX_API_KEY with the key in
.env, every model with its context, output, vision and efforts) and
default_model magpie/<model>; provider_access joined; the executor and
[agent] planner_model chosen apart, the provider kept while the planner
uses it; refusing a magpie provider or key it didn't make; the restore
record holding settings only; a new process to load changes; switching
back undoing only magpie's part. Each claim is from
internal/agent/reasonix.go and the CLI forms from internal/cli/main.go.
Linked from each language's jcode page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Reasonix itself with magpie for this page; it names only what
magpie's source says.
/docs/paseo says how magpie puts its models in Paseo (getpaseo/paseo):
Paseo lists Claude models itself (its own list, settings.json's model and
the ANTHROPIC_*_MODEL tiers) and never reads modelPicker, so magpie writes
agents.providers.claude.additionalModels in $PASEO_HOME or ~/.paseo
config.json, with Claude Code's /model ids, [1m] marks and names and a
description ending "via magpie"; the user's own entries first and kept,
an id they listed not added again, an unreadable list left alone; Claude
Code connected to magpie first; the daemon restart; switching back takes
out magpie's entries only. Each claim is from internal/agent/paseo.go and
the CLI forms from internal/cli/main.go. Linked from each language's T3
Code page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Paseo itself with magpie for this page; it names only what
magpie's source says.
/docs/jcode says how magpie wires jcode (1jehuang/jcode): $JCODE_HOME
or ~/.jcode; [providers.magpie] in config.toml (openai-compatible at the
gateway's /v1, a key naming jcode, requires_api_key since jcode sends no
key to loopback) and [provider] default_provider/default_model; every
model in the profile's models (context window, 128K when unknown,
images, reasoning for effort levels) for /model and /effort; the restart
jcode needs; the stashed [provider] and the user's own keys kept; an
unparsable file left as it is; [[providers.magpie.models]] tables folded
back; switching back. Each claim is from internal/agent/jcode.go. Linked
from each language's Crush page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: jcode itself with magpie for this page; it names only what
magpie's source says.
/docs/zoo-code says how magpie wires VS Code's Zoo Code (a fork of Roo
Code): its profiles sit in VS Code's secret storage, so magpie writes
globalStorage/zoocodeorganization.zoo-code/settings/magpie-import.json
(one OpenAI Compatible profile "magpie" at the gateway's /v1, the
model's window, output and images in openAiCustomModelInfo) and points
zoo-code.autoImportSettingsPath at it in every VS Code profile's
settings.json, a value of the user's own kept aside; the import on each
start, so Reload Window after a pick and back on magpie's profile each
start while connected; ZooCode/<version> usage; why Zoo Code for
JetBrains isn't wired; and Disconnect leaving the imported profile in
Zoo Code. Each claim is from internal/agent/zoocode.go. Linked from each
language's Cline page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Zoo Code itself with magpie for this page; it names only what
magpie's source says.
VantH_off asked for DeepSeek Harness in billion-context's support.
Library's billion-context tab offered Pi, omp, OpenCode, Claude Code, Hermes
and Zed. bili's dsh route is `dsh plugin add billion-context` (billion-context
0.1.213 README), which loads in dsh's process and takes traffic by proxy
settings; magpie's dsh route is baseURL http://127.0.0.1:3425/v1, plain http
on loopback, so that never sees it and the plugin would add tools and fold
nothing (the Hermes case, 00e8242e8). dsh's route baseURL is editable, so it
takes the route Zed and Hermes take, bili's documented /bili/ prefix.
Turned on, magpie runs `bili start --port 8787` and writes magpie's route
baseURL in every dsh profile and the home layer as
http://127.0.0.1:8787/bili/<gateway>/v1 (Anthropic route: no /v1)
(agent.DshThrough: dshSyncFresh with the prefixed gateway). dshReach reads the
prefix back from the profiles' routes (loopback path before the gateway's
address) and Check, Sync, a pick and the serving round (dshWiredWith, which
read gateway.URL() directly) keep it; an address that isn't a local proxy's
goes back to the gateway. Off writes the gateway back. Empty-list string (en,
zh, zh-TW, ja, de), docs (en, zh, ja), llms-full.txt and
docs/subsystems/library.md name dsh. bili's dsh plugin installer is never run
for it. The remaining agents are #5915.
Run (mica, at the pushed head unless said):
- TestDshThroughBili, TestBiliDshThroughPrefix: ok
- see below for the packages and GUI files
Broken by hand:
- dshReach returning gw: TestDshThroughBili red (a sync drops the prefix)
- no "dsh" URL lane: TestBiliDshThroughPrefix red (dsh not offered)
Not tried:
- a real dsh and a real `bili start`; tests fake bili and the probe, so
whether dsh's SDK sends to the prefixed address is by analogy with Hermes
- Windows run (vet only)
/docs/qwenpaw says how magpie wires QwenPaw (formerly CoPaw): the
working folder (QWENPAW_WORKING_DIR, a legacy ~/.copaw, ~/.qwenpaw) and
secret folder (QWENPAW_SECRET_DIR, <working>.secret); the
providers/custom/magpie.json provider (OpenAIChatModel at the gateway's
/v1, each model in extra_models, 0600) and the agent's active_model and
thinking_level in agent.json; the plain key QwenPaw encrypts at its next
start; the one restart after connecting ("Provider 'magpie' not found"
until then) and a new pick used from the next message; qwenpaw and
qwenpaw#<id> rows; ACP backends refused; fallback and subagent models
left alone; switching back, and custom/magpie.json removed only once no
agent names it. Each claim is from internal/agent/qwenpaw.go. Linked
from each language's AstrBot page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: QwenPaw itself with magpie for this page; it names only what
magpie's source says.
/docs/aionui says how magpie adds itself to AionUi: AionUi keeps its
providers in its own database with keys encrypted, so magpie writes
nothing and opens aionui://add-provider (api_key, base_url at the
gateway's /v1, name magpie, platform custom) for the user to confirm in
Settings → Model; the row shows once AionUi has run (its aionui folder);
Add magpie and `magpie aionui add`; nothing to open the link; the model
list; aionui-backend.db read untouched for a provider at the gateway's
address, unreadable meaning unknown; the key counted as AionUi's. Each
claim is from internal/agent/aionui.go and applink.go, and the GUI's
Add magpie strings in i18n.js. Linked from each language's Cherry
Studio page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: AionUi itself with magpie for this page; it names only what
magpie's source says.
/docs/astrbot says how magpie runs AstrBot (AstrBotDevs/AstrBot, the
chatbot framework for QQ, Telegram, Discord and Lark) on magpie's models:
where magpie finds AstrBot's root (ASTRBOT_ROOT, ~/.astrbot, a folder
astrbot init marked); the magpie source in provider_sources and an entry
magpie/<provider>/<model> per model in provider, marked tool_use, a
window magpie doesn't know as 0; agent_runner.config.model.provider_id
(provider_settings.default_provider_id in an older file); 4.10 or later
needed; the restart AstrBot needs and a WebUI save before it writing
over the change; a runner_type other than local; the .before-magpie
copy, the user's entries, WebUI edits, /provider picks and the BOM kept;
Docker not wired; switching back. Each claim is from
internal/agent/astrbot.go (its header, astrbotAt, astrbotModelJSON,
noticeAstrbot). Linked from each language's nanobot page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: AstrBot itself on magpie for this page; it names only what
magpie's source says.
/docs/nanobot says how magpie runs nanobot (HKUDS/nanobot, pip install
nanobot-ai) on magpie's models: providers.magpie in ~/.nanobot/config.json
at the gateway's /v1 with its key and a nanobot User-Agent;
agents.defaults set to provider magpie, model magpie/<id> and the
context window magpie knows, camelCase written and the snake_case
spelling taken out; a modelPreset stashed and put back; the gateway and
WebUI taking a change at their next reply, nanobot agent reading it
once; the user's defaults stashed, other providers and presets kept, a
file magpie made removed once empty; WSL; switching back. Each claim is
from internal/agent/nanobot.go (its header, nanobotDefaults, Check,
noticeNanobot) and wsl.go's nanobot entry. Linked from each language's
OpenClaw page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: nanobot itself on magpie for this page; it names only what
magpie's source says.
/docs/openchamber says how magpie runs OpenChamber, the desktop, web and
VS Code front end for OpenCode, on magpie's models: its profile in
$OPENCHAMBER_DATA_DIR (~/.config/openchamber), preferences.json and the
settings.json copy older builds read; the order a new session's model is
picked in (project defaultModel, profile defaultModel, the agent's,
OpenCode's model), so magpie sets the profile's; a project's own default
named; defaultVariant cleared on a new model; the small model
(smallModelUseDefault false + smallModelOverride, else OpenCode's
small_model); magpie's provider in the OpenCode config, a user's own
gateway provider reused, OpenCode 2's words, the provider taken out once
unused; new sessions taking the change; switching back. Each claim is
from internal/agent/openchamber.go (its header, Notice, the model and
small fields, tidy) and openCodeRef in agents.go. Linked from each
language's OpenCode page; in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: OpenChamber itself on magpie for this page; it names only
what magpie's source says.
/docs/craft-agents says how magpie runs Craft Agents
(lukilabs/craft-agents-oss) on magpie's models: the pi_compat magpie
connection in config.json ($CRAFT_CONFIG_DIR, else ~/.craft-agent) on
/agent/craft-agents/v1, its models and defaultModel; Craft opened once
first, since it won't load a config.json without workspaces; no key
(authType none, credentials.enc never opened, the placeholder key from
this computer); new sessions taking the change, a workspace's default
going over it, open sessions staying; the user's default stashed and put
back, their connections kept; switching back. Each claim is from
internal/agent/craftagents.go (its header, noticeCraft, Check, Sync and
the model field). Linked from each language's T3 Code page; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Craft Agents itself on magpie for this page; it names only
what magpie's source says.
/docs/t3-code says how magpie runs T3 Code (pingdotgg/t3code) on
magpie's models: the two provider instances written into
~/.t3/userdata/settings.json ($T3CODE_HOME/userdata), which T3's server
watches and reloads; magpie, a claudeAgent instance running Claude Code
with ANTHROPIC_BASE_URL and the gateway token, every magpie model a
custom model, 1M ones marked [1m], T3's own Claude binary and home
carried over; magpie · Codex, a codex instance whose launchArgs are
Codex -c overrides with magpie-codex-models.json as catalog,
~/.codex/config.toml not written, not brought back by a sync once
removed; the Reasoning pick (medium first, else the lowest) and the
Thinking switch (alwaysThinkingEnabled); the user's names, enabled
state, autoCompactWindow, accentColor and env kept; ~/.claude/settings.json
env and CLAUDE_CODE_USE_BEDROCK; switching back. Each claim is from
internal/agent/t3code.go (its header, t3Capabilities, the Codex
instance). Linked from each language's CodeBuddy page; in the sitemap,
llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: T3 Code itself on magpie for this page; it names only what
magpie's source says.
/docs/obsidian says how magpie runs Obsidian's AI on magpie's models
through Copilot for Obsidian (logancyang/obsidian-copilot): the vaults
from obsidian.json in each system's config folder (Flatpak and Snap
too); the magpie provider, its configured models and their places in
each backend written into <vault>/.obsidian/plugins/copilot/data.json,
everything else kept; turned-off models staying off, new ones on in
chat, the default model taken over and put back; no key, since keys
live in Obsidian's keychain (requiresApiKey false, a keyless call from
this computer, CORS, the /agent/obsidian route); reloading Copilot
before changing its settings; Copilot 3 left alone; switching back, a
hand-added provider named magpie kept; Smart Connections not wired and
why. Each claim is from internal/agent/obsidian.go (its header, the
obsidian agent, obsCopilotWire, obsCopilotUnwire, the notice).
Linked from each language's Raycast and CodeBuddy pages; in the
sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: Obsidian itself on magpie for this page; it names only
what magpie's source says.
/docs/codebuddy says how magpie runs Tencent's CodeBuddy on magpie's
models: CodeBuddy Code (@tencent-ai/codebuddy-code, codebuddy and cbc)
for codebuddy.ai and codebuddy.cn, and the CodeBuddy IDE (CodeBuddy.app,
CodeBuddy CN.app); the custom models in ~/.codebuddy/models.json
($CODEBUDDY_CONFIG_DIR) asking the gateway under a Bearer key with no
CodeBuddy sign-in; maxInputTokens, maxOutputTokens, reasoning levels and
contextWindow; settings.json's model read when a session starts
(restart or /clear); the IDE watching the file, reading the home
folder's .codebuddy and not settings.json's model; the user's own
models, turned-off models, default efforts and availableModels kept;
WSL; switching back and magpie codebuddy default. Each claim is from
internal/agent/codebuddy.go (its header, codebuddyIn, the notice),
workbuddy.go (buddyWriteAt, buddyModel), desktopapp.go and the
codebuddy row in wsl.go.
Linked from each language's Tencent Cloud and JetBrains Air pages; in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: CodeBuddy itself on magpie for this page; it names only
what magpie's source says.
/docs/stepfun says how to use StepFun (阶跃星辰) in Claude Code, Codex,
Gemini CLI and OpenCode through magpie: the China (stepfun-cn,
api.stepfun.com) and international (stepfun, api.stepfun.ai) sites as
separate accounts; the Step Plan at /step_plan/v1 and /step_plan, its
key refused at pay as you go's; no Responses, so Codex's requests are
converted; the plan catalogs' models; the balance from /v1/accounts in
yuan or dollars, and the 5-hour and weekly windows told only to a
platform sign-in brought over by the bookmarklet and paste. From
internal/provider/presets.go (stepfun, stepfun-cn), stepfun_plan.go's
header, balance.go and the bundled catalog.
/docs/longcat says the same for Meituan's LongCat: one host,
api.longcat.chat, for longcat.chat's and longcat.ai's accounts; Chat
Completions and Responses under /openai/v1, Anthropic under
/anthropic; the key as a Bearer (x-api-key alone is missing_api_key),
which magpie's default of both headers covers; the list at
/openai/v1/models. From presets.go (longcat), longcat_test.go and
authheader.go.
Both linked from each language's "By provider" line after Xiaomi MiMo
(33 pages), in the sitemap, llms.txt and llms-full.txt.
Run: the six pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: a StepFun or LongCat key on magpie for these pages; they
name only what magpie's source says.
/docs/huaweicloud says how to use Huawei Cloud ModelArts MaaS's Token
Plan (personal accounts, 西南-贵阳一) and pay as you go in Claude Code,
Codex, Gemini CLI and OpenCode through magpie: /plan/v2 and
/plan/anthropic, where alone the plan's quota is spent, beside
/openai/v1 and /anthropic; no Responses, so Codex's requests are
converted; the plan's models before the list is fetched (glm-5.3,
glm-5.1, kimi-k2.6, deepseek-v4.1-flash, deepseek-v4-flash), lowercase
as its OpenClaw page has them. From internal/provider/presets.go
(huaweicloud) and huaweicloud_test.go.
/docs/xiaomi-mimo says the same for Xiaomi MiMo's platform: a tp- key
spent only at its region's host (token-plan-cn, -sgp, -ams) and pay as
you go at api.xiaomimimo.com, each with Chat, Responses and Anthropic;
each region's catalog; the plans' $0 prices kept out of pricing
(membershipCatalogs, #1873); the MiMo app subscription served by
@magpie-community/opencode-mimo-auth, not this provider. From
presets.go (xiaomi), internal/provider/models.go and the bundled
catalog.
Both linked from each language's "By provider" line after ModelScope
(33 pages), in the sitemap, llms.txt and llms-full.txt.
Run: the six pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: a Huawei Cloud or MiMo key on magpie for these pages; they
name only what magpie's source says.
/docs/siliconflow says how to use SiliconFlow (硅基流动) in Claude
Code, Codex, Gemini CLI and OpenCode through magpie: the China and
Global sites as separate accounts with a site per key; Chat Completions
only, so Claude Code's and Codex's requests are converted; model names
with their maker, as models.dev's siliconflow catalog has them; the
balance query retired on 2026-08-14, so the card points to the
console. From internal/provider/presets.go (siliconflow), balance.go
(readSiliconFlow, siliconFlowGone) and the bundled catalog.
/docs/modelscope says the same for ModelScope (魔搭) API-Inference: a
ModelScope access token as the key, not DashScope; Chat Completions
and Responses at api-inference.modelscope.cn/v1; a hand-added entry
there taken as ModelScope; its async image tasks drawn one at a time.
From presets.go (modelscope), nvidia_modelscope_test.go and
internal/gateway/draw_modelscope.go's header.
Both linked from each language's "By provider" line after Baidu
Qianfan (33 pages), in the sitemap, llms.txt and llms-full.txt.
Run: the six pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: a SiliconFlow key or ModelScope token on magpie for these
pages; they name only what magpie's source says.
/docs/tencent-cloud says how to use Tencent Cloud's TokenHub in Claude
Code, Codex, Gemini CLI and OpenCode through magpie: the Token Plan
(个人版 and 企业版, one set of endpoints under /plan, the key telling
the plan) and pay as you go (/v1, China and Global), and the enterprise
plan in Singapore; a plan per key; the plans' models given by magpie
since models.dev names only their Hy ones; the move from
api.lkeap.cloud.tencent.com; the enterprise quota read with the
account's SecretId and SecretKey onto the Usage page, the personal plan
having no API for it. From internal/provider/presets.go (tencent-cloud
and its comment) and tencent_usage.go's header and test.
/docs/baidu-qianfan says the same for Baidu Qianfan: Token Plan
Personal and Enterprise at /v2/tokenplan/{personal,team} and
/anthropic/tokenplan/{personal,team}, pay as you go at /v2 with its
list at /v2/models, the plans' /models being 404; the models magpie
gives, deepseek-v4-flash, deepseek-v3.2 and glm-5 the enterprise plan's
alone; qianfan-code-latest as the console's pick. From presets.go's
baidu-qianfan preset and comment.
Both linked from each language's "By provider" line after Volcengine
Ark (33 pages), in the sitemap, llms.txt and llms-full.txt.
Run: the six pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: a Tencent Cloud or Qianfan key on magpie for these pages;
they name only what magpie's source says.
/docs/volcengine says how to use Volcengine Ark (火山方舟) in Claude
Code, Codex, Gemini CLI and OpenCode through magpie: the Coding Plan,
Agent Plan and pay-as-you-go endpoints, and that a plan's quota is spent
only at its own (/api/coding/v3 and /api/coding, /api/plan/v3 and
/api/plan) while /api/v3 bills apart; a plan per key; the plans' models
from Ark's docs, since their /models doesn't list them, and which take
images; Claude Code on the plans' Anthropic endpoints and Codex on their
Responses; Ark running web_search itself and the include values it
refuses being left out; the Agent Plan's Seedream and Seedance through
Ark's async tasks; the 5-hour, weekly and monthly windows read with the
account's AccessKey ID and Secret. Each claim is from
internal/provider/presets.go (the volcengine preset, arkPlanModels,
arkPlanImages), volcengine_usage.go's header, and internal/gateway's
search_ark.go, draw_volcengine.go and video.go.
Linked from each language's "By provider" line beside GLM (claude-code,
codex, gemini-cli and opencode model pages and the provider pages); in
the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run):
115 pass, 0 fail.
Not tried: an Ark key on magpie for this page; it names only what
magpie's source says.
/docs/jetbrains-air says how magpie runs JetBrains Air, the app and Air
in JetBrains IDEs, on magpie's models: the Magpie entry in acp.json
(each OS's config folder; ~/.jetbrains/acp.json for the IDE plugin)
starting `opencode acp` with OPENCODE_CONFIG at magpie-opencode.json,
which holds magpie's provider, its models, model and small_model, and
enabled_providers narrowed to magpie; Air's own agents and accounts
untouched; OpenCode found on PATH, ~/.opencode/bin or an ACP registry
install, and the install line when none; the model menu; the IDE
plugin (bundled 2026.3, Marketplace 2026.2), restart, and its own Codex
and Claude Agent running this computer's codex and claude; a WSL
distro's own entry; OpenCode's gap with a provider key in the
environment; switching back. Each claim is from internal/agent/air.go
(its header, airIDE's comment, airAt, the notices) and air_wsl.go's
header.
Linked from each language's Snow CLI page; in the sitemap, llms.txt
and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run;
mote refuses SSH this session): 115 pass, 0 fail.
Not tried: Air itself on magpie for this page; it names only what
magpie's source says.
/docs/snow-cli says how magpie runs Snow CLI (snow-ai) on magpie's
models: profiles/magpie.json copied from the profile the user was on,
with the gateway's /v1, a key naming Snow, Chat Completions and the
picked model, made active and copied to config.json as Snow's own
switch does; ~/.snow or $SNOW_CONFIG_DIR; WSL distros; the user's
profiles left alone, snowcfg.oauth left out, a profile of theirs named
magpie put back; the row listing the user's own profiles' models;
maxContextTokens, maxTokens and supportsVision from the catalog (Snow's
200K/64K defaults otherwise, user edits kept); an own vision model kept
only with its own endpoint and key; basicModel and the small field;
chatThinking and the thinking field; Snow App's sync button; switching
back and `magpie snow default`. Each claim is from internal/agent/
snow.go (its header, the agent's fields, snowProfileFor, snowSynced,
snowOwnVision and the notice).
Linked from each language's Antigravity page; in the sitemap, llms.txt
and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run;
mote refuses SSH this session): 115 pass, 0 fail.
Not tried: Snow CLI itself on magpie for this page; it names only what
magpie's source says.
/docs/antigravity says how magpie runs Google's Antigravity app and its
agy CLI on magpie's models: the gateway block (enabled, url, apiKey,
wireProtocol openai) and models.defaultModelId in ~/.antigravity/
settings.json up to 2.29 and ~/.gemini/config/config.json from 2.30;
the user's own gateway, default, list and catalog kept and put back;
restart to take effect; models.listSource pointed at the gateway's
catalog so a model isn't given the app's 200K default window; effort
levels in the app's picker and the row's start level; no Google
sign-in on a gateway, and the commands that go with it; agy following
the app or on its own row (magpie-settings.json, GOOGLE_GEMINI_BASE_URL,
GEMINI_API_KEY, --model, the agy shell function, settings.json and
remote-control left on the user's sign-in); admin_settings.json and
AGY_LLM_GATEWAY_* winning; switching back. Each claim is from
internal/agent/antigravity.go (its header, the agent, the notices) and
internal/agent/agy.go (its header, the shell function's add and drop).
Linked from each language's Cursor Private Inference and Gemini pages;
in the sitemap, llms.txt and llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run;
mote refuses SSH this session): 115 pass, 0 fail.
Not tried: Antigravity or agy itself on magpie for this page; it names
only what magpie's source says.
/docs/cursor-private-inference says how magpie runs Cursor Private
Inference, the Cursor build whose agent runs locally, on magpie's
models: CURSOR_LOCAL_AGENT_BASE_URL (the gateway's /v1) and
CURSOR_LOCAL_AGENT_API_KEY set for the user (launchctl, the registry's
Environment, environment.d), none of Cursor's files written; the build
found by its product.json, and on Linux as its AppImage; the row's
start command for a shell; the picker listing what its key is shown,
the Models button, api_types and limits from /models; effort picked on
the row and asked by the gateway; quit and reopen, the Mac's variables
set again at magpie's start; Open configuration and a model's settings
coming first; clearing both to switch back. Each claim is from
internal/agent/cursorlocal.go (its header, cursorLocalRoots,
cursorLocalOn, KeepCursorLocalEnv, cursorLocal, noticeCursorLocal).
Cursor CLI got no page: its row picks only Cursor's own models.
Linked from each language's Pi page; in the sitemap, llms.txt and
llms-full.txt.
Run: the three pages' JSON-LD parsed with node; llms-full.mjs rebuilt;
node --test site/*.test.mjs on the WSL box (magpie-desktop, wsl-run;
mote refuses SSH this session): 115 pass, 0 fail.
Not tried: Cursor Private Inference itself on magpie for this page; it
names only what magpie's source says.