/docs/quota says how to see what is left of every subscription, plan
and key: magpie quota and --json (lastServedAt, last), refresh (a Claude
account read by running /usage), GET /v1/magpie/quotas and its history
endpoint, reachable from another machine only while shared on the local
network, the magpie-quota skill, alert by percent and --balance, quota
wait with its exit codes and the until-loop for a stopped Codex job,
history kept 45 days, and a Codex account's reset, auto-reset and
credits. Every claim is from quotaUsage in internal/cli/quota_cli.go and
docs/subsystems/library.md, with the Usage and Library labels' zh and ja
from i18n.js. Linked from each language's routing groups 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: running magpie quota against real accounts for this page; it
names only what magpie's source says.
/docs/routing-groups covers both levels of magpie's routing: several
accounts or keys on one provider (the editor's Routing and Stays, shown
once a second one is on, and what one rate limited with quota left does:
Keeps its place or Goes to the back), and routing groups across
providers (auto-found groups, members, nested groups, patterns, By
weight and Manual, rules, reasoning per member or by a classifier).
Each routing and Stays choice is worded from app.js's ROUTINGS and
STAYS and routing/client.js's options, with their zh and ja from
i18n.js and plugins/routing/i18n.js; the CLI lines and templates are
from groupUsage in internal/cli/groups_cli.go. Linked from each
language's subscriptions 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: making a group or rotating real accounts for this page; it
names only what magpie's source says.
/docs/web-search says how magpie gives web search to models that can't
search (DeepSeek, GLM, Qwen) when Claude Code's WebSearch or Codex's
web_search reaches them: Settings › Models › Web search, Search first
with, a provider that searches for other models (one magpie picks gives
way to the next, up to three; one you pick to If it fails, then the
Search APIs only when it can't serve at all), the providers that search
for their own models first, provider search turned off, the Search APIs
and magpie search's CLI (keys in turn, pick=order, url=, count, mix),
Models that search by themselves, and the MCP server at
/mcp/magpie/web-search with web_search and web_fetch. Facts from
internal/cli/search_cli.go, docs/subsystems/gateway-routing.md and
gui-shell.md, with the GUI's labels and their zh and ja from app.js and
i18n.js. Linked from each language's DeepSeek 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: a search through a real searcher or Search API for this page;
it names only what magpie's source and docs say.
/docs/agent-drift says what the Agents page means when it marks an
agent off magpie, one section per kind magpie reports: its config was
changed (unwired), a magpie model was replaced by the agent's own
(replaced: Apply again, or Keep current settings), it was used without
reaching the gateway (bypassed: quit and reopen it), nothing answers at
an address off loopback (unreachable: WSL's firewall rule, mirrored
networking, Share on local network, a portproxy, Use {url}), and Codex's
proxy not passing requests on (proxied: a DIRECT rule, NO_PROXY,
Windows' proxy exceptions). It also covers what isn't flagged (a move
between magpie models, a hand-written magpie provider) and Disconnect
from magpie. Each claim is from internal/agent/applied.go, reach.go and
codex_proxy.go, with the GUI's labels and their zh and ja from app.js
and i18n.js. Linked from each language's troubleshooting page (WSL
section); 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: making an agent drift by hand for this page; it names only
what magpie's source says.
Release CI attests every file (SLSA provenance through Sigstore, v0.1.3891
on). The updater now fetches the bundle for a file's signed SHA-256 from
api.github.com/repos/yetone/magpie-releases/attestations/sha256:<digest>
before it downloads the file, and verifies it with sigstore-go against the
Sigstore trusted root embedded in the binary (attest_root.json, public
good instance): certificate chain, certificate timestamp, Rekor entry,
issuer token.actions.githubusercontent.com, subject release.yml of
yetone/magpie-releases on main or a v* tag, source repository
yetone/magpie-releases, and the digest among the statement's subjects. It is
in addition to the ed25519 check over SHA256SUMS, which still runs first
and still works offline and from the R2 mirror; the attestation is asked
about the digest that signed list gives, so both speak of the same bytes.
When the attestation can't be had (a failed read means "unknown", but an
outage of GitHub must not take updates away):
- a bundle that is there and fails (signature, identity, digest, a chain
outside the trusted root), GitHub answering 404, or an empty list: the
file is refused. GitHub was asked and says these bytes weren't built by
that workflow.
- GitHub unreachable, rate limited (60/hour anonymously), 5xx, a body that
isn't JSON, or Settings' update source set to the site alone (which never
goes to GitHub): the update goes on, since the ed25519 check has held, and
the log says the file went unattested and why. Someone who can only drop
the API call downgrades an update to the ed25519 check, never below it.
- releases before 0.1.3891 and a MAGPIE_UPDATE_FEED of your own are not
asked.
The bundle checks itself, so the API call goes through source.Do and may use
a mirror.
Cost: go.mod gains sigstore-go v1.1.4 and its tree (go.sum +350 lines).
The embedded root has to be renewed (gh attestation trusted-root, first
line) when Sigstore rotates its keys; docs/reference.md says so. Until then
a chain under a new key fails as "not attested" and is refused: a known
cost, in the doc.
Run (mote, sandbox HOME via testenv): go test ./internal/update (ok),
site node tests (112 of 114; docker-tags and the sponsors README test fail
because mote-run -C site cannot see ../README.md, unrelated), gofmt -l
empty, go vet darwin, GOOS=linux -tags nogui and GOOS=windows on
internal/update, go build ./... on all three. Fixture: the real answer
api.github.com gave for v0.1.3925's SHA256SUMS (testdata/attest), verified
offline; the whole run reaches no network.
New tests: TestAttestationOfARealBundleHolds, ...OfAnotherDigestRefused,
...TamperedRefused, ...EditedPayloadRefused, ...WrongIdentityRefused (repo,
workflow, ref, source repo, issuer each), ...NoneListedRefused,
...UnknownGoesOnAndSaysSo (403, 429, 502, HTML, nothing listening),
...OnlyWhereItIsOwed, TestVerifyMarksAttestedReleases,
TestDownloadRefusedWithoutAttestation.
Broken by hand: identity check swapped for WithoutIdentitiesUnsafe turns
WrongIdentityRefused red on all five cases; the attestedFile call removed
from download turns DownloadRefusedWithoutAttestation red (the file was
fetched). The first full run of the package, before TestMain pointed the
attestation API at a closed port, had TestSourceSiteAndAutomaticUseTheSite
reach the real GitHub with a made-up digest and be refused: now closed.
Not tried: a real update end to end (needs a release newer than the
running binary; the unit path covers download), Windows box, the
GUI, full suite (starts after the tag).
Docs: docs/reference.md, start.html (en, zh, ja) and llms-full.txt say what
the app checks now.
/docs/kirocrew says how magpie puts Kiro Crew on its models. Kiro Crew
has no model provider of its own; its models are its ACP harness's, so
magpie sets agent.acp_backend (and member_acp_backend for a harness
that can dispatch) in config.json in $KIROCREW_HOME or ~/.kiro/crew.
The harness is Codex, Claude Code, OpenCode, Pi or Goose connected to
magpie. The page covers which harness it keeps or picks, why deepseek
isn't offered, and the npm adapters Codex, Claude Code and Pi need,
looked for where Kiro Crew looks and never installed. It also covers
config.local.json winning and left alone, new sessions taking the
change, and switching off putting the keys back and disconnecting a
harness agent only when connecting Kiro Crew connected it. Each claim
is from internal/agent/kirocrew.go. Linked from each language's
JetBrains Copilot 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: Kiro Crew itself with magpie for this page; it names only
what magpie's source says.
/docs/copilot-jetbrains says how magpie puts its models in GitHub
Copilot Chat in JetBrains IDEs and Android Studio. It covers Bring Your
Own Key's custom endpoint written into the Copilot language server's
byok.json, with the file's path on each system and its three keys as
the server saves them. The page also covers the restart the IDE needs,
the plans that have BYOK (Free, Pro, Pro+; Business and Enterprise by
policy), and the key kept in plain text in that file. It covers tool
calling turned on for agent mode, the 128K default window, Xcode's and
Eclipse's Copilot reading the same file, hidden models kept hidden, and
the three keys deleted on switching off. Each claim is from
internal/agent/copilotjetbrains.go. Linked from each language's
OpenMausBot page and to the Copilot 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: a JetBrains IDE itself with magpie for this page; it names
only what magpie's source says.
/docs/openmausbot says how magpie sets up OpenMausBot: config.json in
$OMB_DATA_DIR or ~/.openmausbot, and why its Claude bots need an engine
of magpie's own (Claude Code runs isolated, with only the sign-in keys
of ~/.claude/settings.json). The page covers the magpie engine, shaped
like OpenMausBot's Claude endpoint: claudeAgent, access custom, its own
configDir, requireApiKey, every magpie model in endpointModels, and the
gateway and key in the environment. It also covers routing owned by the
engine, the default fleet written beside it when the file has none,
refusing a change while OpenMausBot runs with the list rewritten after
it writes over it, what stays the user's, and switching off. Each claim
is from internal/agent/openmausbot.go. Linked from each language's
Mistral Vibe 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: OpenMausBot itself with magpie for this page; it names only
what magpie's source says.
A program keeping a ledger of its own (a WakaToken plugin) can now read the
requests incrementally: cursor=start or cursor=now, then each next_cursor.
Rows carry a stable content-derived id (same after a restart), origin, and
original_ids (request_id, response_id, client_response_id, message_id,
session_id, native_session_id), each only when the source gave it. A call
read late, a corrected row (same id, higher seq) and a native row replaced by
the gateway's (deleted, with seq) all come through a persisted journal
(usage-feed.jsonl, appended and synced before answering). Cursors magpie
cannot resume from are refused: 400 cursor_invalid / cursor_filter_changed,
410 cursor_expired / cursor_reset. A held key sees only its own rows and
tombstones. Without cursor, offset/limit mode is unchanged.
Also: Record.MessageID (not persisted) from the agent file's message id, and
usageapi's row decoration moved into a namer shared by both modes.
Docs: reference.md, integrating.md, gateway-routing.md, gateway-sessions.md,
site remote.html (en/zh/ja), llms-full.txt.
Run (mote, this tree): go vet darwin, GOOS=windows, GOOS=linux -tags nogui on
usage, usageapi, gateway (gui on darwin); go test -count=1 for
internal/usage, usageapi, gui, gateway: all ok. New tests: resume gets exactly
the new rows, ids and cursors survive a restart, correction keeps the id,
gateway takeover retires the native row, refused cursors, expiry, now cursor,
identical records, and the feed over the gateway (held key, 401 without key,
offset mode). Broken by hand: an unconditional memo made the new-rows test
red (fixed to memo only the next page).
Not tried: real Claude Code/Codex session files, a huge (700k+) history,
Windows run of the tests, GUI browser suites (no GUI file touched).
/docs/mistral-vibe says how magpie sets up Mistral Vibe (the vibe
CLI): config.toml in $VIBE_HOME or ~/.vibe, magpie's [[providers]]
entry at the gateway's /v1 and one [[models]] entry per catalog model
aliased magpie/<provider>/<model> for /model and active_model; the key
as an Authorization header in extra_headers, since Vibe reads keys only
from the environment or keyring, and nothing written to the environment
or ~/.vibe/.env; thinking levels and the 128K default; the user's other
keys kept and Avibe's vibe not taken for it; and active_model put back
on switching off. Each claim is from internal/agent/vibe.go. Linked
from each language's Pencil page and to the Mistral 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: Mistral Vibe itself with magpie for this page; it names only
what magpie's source says.
/docs/pencil says how magpie sets up Pencil (pen.dev): a magpie
provider in Pi's format in ~/.pencil/models.json, on OpenAI Completions
at the gateway's /v1 for every model, under magpie's key for Pencil;
the fields each model carries (Pi's 128K and 16K defaults, zero cost,
no per-model api or baseUrl); the restart Pencil needs and the model
picked in its agent composer; how magpie finds it; the user's other
providers and their own keys kept; and switching off. Each claim is
from internal/agent/pencil.go and theirsKept in sync.go. Linked from
each language's WorkBuddy 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: Pencil itself with magpie for this page; it names only what
magpie's source says.
/docs/workbuddy says how magpie sets up Tencent's WorkBuddy: magpie's
models in ~/.workbuddy/models.json (or $WORKBUDDY_CONFIG_DIR), either
file shape, an entry's fields at /v1/chat/completions under magpie's key,
the custom-local:<id> picker per task and the restart WorkBuddy 5.6 can
need; the extra 200K context size and maxOutputTokens; what stays the
user's after WorkBuddy's own rewrite (models turned off, a NAS magpie,
typed reply limits, a default effort); WorkBuddy AI in ~/.workbuddy-ai,
WSL; and switching off. Each claim is from internal/agent/workbuddy.go.
Linked from each language's VS 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):
116 pass, 0 fail.
Not tried: WorkBuddy itself with magpie for this page; it names only
what magpie's source says.
/docs/vscode says how magpie sets up VS Code's own Chat (GitHub
Copilot Chat): the Custom Endpoint provider since Stable 1.122, with no
GitHub sign-in or Copilot plan; magpie's customendpoint group in
chatLanguageModels.json, each model at /v1/chat/completions with tool
calling on and magpie's token in requestHeaders, since an apiKey is read
from secret storage alone; chat.defaultModel for a new chat; every
profile, Insiders and portable builds; VSCodium's Marketplace Copilot
Chat 0.48.1 and its OpenAI Compatible provider (x-api-key, personal
Copilot plan, the product.json and chat.disableAIFeatures setup); what
picking VS Code's own model and switching off each do. Each claim is
from internal/agent/vscode.go. Linked from each language's Claude
Science 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: VS Code itself with magpie for this page; it names only
what magpie's source says.
/docs/claude-science says how magpie connects Claude Science,
Anthropic's research app: it restarts the claude-science daemon (stop,
then serve --detached --no-browser on its port) with ANTHROPIC_BASE_URL
set to the gateway, and sets no variable for the user and writes no
file; the hand-run command (ScienceLaunch); https or loopback http only;
where the program is found; the Claude sign-in it still needs, which the
gateway never passes on, and the X-Anthropic-Surface: operon header;
claude-magpie-<number> aliases in its model menu; the keeper (restarts,
the window's own daemon, service managers, three retakes an hour); WSL
through wsl.exe with a socat relay under NAT; switching back. Each claim
is from internal/agent/claudescience.go, claudescience_wsl.go and
internal/gateway/science.go. Linked from each language's mu 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: Claude Science itself with magpie for this page; it names
only what magpie's source says.
Formats from Cloudflare's docs (fundamentals/api/get-started/token-formats
and /ca-keys): the scannable prefixes cfut_ (user token), cfat_ (account
token), cfk_ (Global API Key) and cfoat_ (Wrangler OAuth), each 40
characters and a checksum; an Origin CA key, which always starts v1.0-
(two alphanumeric runs split by a hyphen); a tunnel token, base64 of
{"a":..,"t":..,"s":..} so it starts eyJhIjoi (the docs show only that
head). The X-Auth-Key and X-Auth-User-Service-Key headers are masked
whatever the value looks like. The unprefixed older token (40 letters) and
Global Key (37-45 hex), and an R2 Secret Access Key (64 hex), have no
shape and were already masked under their names (CLOUDFLARE_API_TOKEN,
AWS_SECRET_ACCESS_KEY); the test pins that. An R2 Access Key ID is an id
and goes as written by design (TestIDsGoAsWritten), so it is not masked.
The checksum's length and alphabet aren't documented, so the prefixed rule
takes 40 or more of [A-Za-z0-9_-]. The origin CA hex split is not in the
docs; the rule takes alphanumerics.
Docs: the masking page (en, zh, ja) and llms-full.txt list them.
Run (mica, mote was loaded): go test -count=1 ./internal/redact ok;
gofmt; go vet darwin, linux nogui, windows. The new tests were red on the
old code for every prefixed, Origin CA, tunnel and X-Auth-Key case, and
keep SHA-1/SHA-256/MD5 hex, a base62 string, v1.0-beta, a bare prefix, an
R2 id and a JWT header unmasked.
Not tried: a real Cloudflare token (fake values in the documented shapes);
the full suite and GUI suite (no GUI file touched).
README (en, zh) and the start page's FAQ (en, zh, ja) give
'gh attestation verify <file> -R yetone/magpie-releases', say it holds from
v0.1.3891 and names the magpie-releases repo, not the source commit, and say
the updater keeps its own ed25519 check (offline, R2 mirror). Not adding
in-app Sigstore verification: it needs a TUF-fetched trust root and a bundle
per file, which breaks offline and mirror updates.
The workflow change is yetone/magpie-releases 9213fbd. Run: site/*.test.mjs
on mote (llms-full.txt regenerated, worker.test.mjs green). Not tried: the
attestation itself until v0.1.3891's run.
/docs/mu says how magpie sets up mu (qybaihe/mu, npm's mu-agent and
the mu desktop app), which is Pi with a judgment kernel: Pi's
settings.json (defaultProvider, defaultModel, defaultThinkingLevel) and
models.json (the provider magpie) in ~/.mu/agent; that this counts as
mu setup done; its own magpie-mu key, since its requests say pi/; the
folder variables (MU_AGENT_DIR and three more), ~/.kyrn as its old
name, and maildir-utils' mu not taken for it; mu.json and MU_JUDGE left
alone; switching back. Each claim is from internal/agent/mu.go and
piLikeKeyed in internal/agent/agents.go. Linked from each language's
Mister Morph 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: mu itself with magpie for this page; it names only what
magpie's source says.
/docs/mister-morph says how magpie sets up Mister Morph (morph): found
by ~/.morph, not the command; the llm keys it takes over in
~/.morph/config.yaml or $MISTER_MORPH_CONFIG (inference_provider
openai_response_compatible, the gateway's /v1, magpie's key, the
catalog id) and the mistermorph User-Agent in llm.headers; llm.provider
left to morph; context_window_tokens, since morph knows windows only
from its own list; reasoning_effort's levels; llm.profiles and
llm.routes left alone; switching back to the saved keys. Each claim is
from internal/agent/morph.go. Linked from each language's Grok App
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: Mister Morph itself with magpie for this page; it names
only what magpie's source says.
/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)