From 156861b3a2b6ba2b082dd40bb048e6495306317d Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 11 Nov 2026 11:57:30 +0800 Subject: [PATCH] site: a Goose docs page in en, zh and ja /docs/goose says how magpie runs Block's Goose, its CLI and desktop app, on magpie's models: the custom provider custom_providers/magpie.json beside config.yaml (XDG_CONFIG_HOME, or %APPDATA%\Block\goose\config on Windows) with the gateway's address, a key of Goose's own and magpie's models, each with its context window and whether it takes a thinking level; Goose loading custom providers at start-up, so a restart; the effort field GOOSE_THINKING_EFFORT (off, low, medium, high, max); the two config layouts magpie writes to as found; the user's own keys in the provider file kept; the file removed once Goose leaves magpie's models; WSL; and `magpie goose default`. Each claim is from internal/agent/goose.go and Goose's Agent in agents.go, its notice included. 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 worker.test.mjs install.test.mjs on the WSL box (magpie-desktop, wsl-run; mote has refused SSH this session): 71 pass, 0 fail. Not tried: Goose itself on magpie for this page; it names only what magpie's source says. --- site/public/docs/cline.html | 2 +- site/public/docs/goose.html | 267 +++++++++++++++++++++++++++++++++ site/public/docs/ja/cline.html | 2 +- site/public/docs/ja/goose.html | 267 +++++++++++++++++++++++++++++++++ site/public/docs/zh/cline.html | 2 +- site/public/docs/zh/goose.html | 267 +++++++++++++++++++++++++++++++++ site/public/llms-full.txt | 60 +++++++- site/public/llms.txt | 1 + site/public/sitemap.xml | 3 + 9 files changed, 867 insertions(+), 4 deletions(-) create mode 100644 site/public/docs/goose.html create mode 100644 site/public/docs/ja/goose.html create mode 100644 site/public/docs/zh/goose.html diff --git a/site/public/docs/cline.html b/site/public/docs/cline.html index edd2ca51c..8aa4508eb 100644 --- a/site/public/docs/cline.html +++ b/site/public/docs/cline.html @@ -217,7 +217,7 @@ magpie cline effort default # back to Cline's own

Does this work in Cline’s desktop app?

Its picker lists magpie’s models under magpie; pick the model there, since the app doesn’t read it from Cline’s files.

-

More agents on the same models: Models in OpenCode, Models in Claude Code and Hermes Agent on any model. Something fails? See Fixing common errors, or ask on Discord.

+

More agents on the same models: Models in OpenCode, Models in Claude Code, Hermes Agent on any model and Goose on any model. Something fails? See Fixing common errors, or ask on Discord.

diff --git a/site/public/docs/goose.html b/site/public/docs/goose.html new file mode 100644 index 000000000..04f285df0 --- /dev/null +++ b/site/public/docs/goose.html @@ -0,0 +1,267 @@ + + + + + +Goose with DeepSeek, Kimi, GLM, GPT or a ChatGPT subscription: Block's goose CLI and desktop through magpie · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Docs · Guide

+

Goose on any model

+

Goose, Block’s open-source agent, runs on the provider and model in its config. magpie adds itself to Goose as a custom provider, so Goose’s CLI and desktop app can run on any model you have in magpie: DeepSeek, Kimi, GLM, Qwen, an OpenAI key, or a ChatGPT or Copilot subscription, with no key pasted into Goose.

+ +

Goose keeps its settings in ~/.config/goose/config.yaml (under $XDG_CONFIG_HOME if set; %APPDATA%\Block\goose\config on Windows). magpie writes a custom provider, custom_providers/magpie.json beside it, with the gateway’s address, a key of Goose’s own and magpie’s models, then makes it the provider Goose uses. The gateway translates each request for the model’s provider, tool calls and reasoning included. A Goose in WSL is set up the same way, reaching the gateway as the distro sees it.

+ +

Connect Goose

+
    +
  1. Add providers in magpieIn the Providers tab, add an API key or sign in to a subscription.
  2. +
  3. Pick a model on Goose’s rowIn the Agents tab, choose a model on Goose’s row. The picker also lists the models of providers Goose is set up with itself.
  4. +
  5. Restart GooseGoose loads its custom providers as it starts: quit and reopen the desktop app, and open goose sessions again.
  6. +
+
Terminal
magpie goose deepseek/deepseek-v4-pro    # Goose on DeepSeek
+magpie goose                             # what Goose runs on now
+ +

Model and thinking effort

+

Each model magpie lists for Goose carries its context window, so Goose doesn’t have to guess it, and whether it takes a thinking level. The row also sets GOOSE_THINKING_EFFORT, the effort Goose asks of a model that thinks: off, low, medium, high or max.

+
Terminal
magpie goose effort high
+magpie goose effort default    # back to Goose's own
+ +

What magpie writes

+

Goose has two layouts for the provider in use: active_provider with providers.magpie.model, and the older GOOSE_PROVIDER and GOOSE_MODEL. magpie writes the one your config already uses. Keys you added to magpie’s provider file yourself, such as timeout_seconds, headers or toolshim, stay when magpie rewrites the models.

+ +

Switch back

+

Pick one of your own providers’ models on Goose’s row, take the row off magpie, or run magpie goose default. Once Goose no longer uses a model of magpie’s, magpie removes its provider file.

+ +

FAQ

+

Can Goose use my ChatGPT subscription?

+

Yes. Sign in to ChatGPT in magpie and pick a GPT model on Goose’s row. Goose sends its requests to magpie, which uses the subscription.

+

Goose doesn’t show magpie’s models.

+

Goose reads custom providers only as it starts. Quit and reopen Goose, and start a new goose session.

+

Does this work in the Goose desktop app?

+

Yes. The CLI and the desktop app read the same config, so both use the model on Goose’s row after a restart.

+

Does it work with goose in WSL?

+

Yes. magpie sets up a Goose in a WSL distro too, with the gateway’s address as the distro reaches it.

+ +

More agents on the same models: Models in OpenCode, Models in Claude Code and Cline on any model. Something fails? See Fixing common errors, or ask on Discord.

+
+
+ + + + + + + diff --git a/site/public/docs/ja/cline.html b/site/public/docs/ja/cline.html index f3a620c51..b56dcc9e0 100644 --- a/site/public/docs/ja/cline.html +++ b/site/public/docs/ja/cline.html @@ -217,7 +217,7 @@ magpie cline effort default # Cline の既定に戻す

Cline のデスクトップアプリでも使えますか?

使えます。選択の magpie の下に magpie のモデルが出ます。アプリは Cline のファイルから読まないので、そこで選んでください。

-

同じモデルを他のエージェントでも:OpenCode で他のモデル、Claude Code で他のモデル、Hermes Agent を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

+

同じモデルを他のエージェントでも:OpenCode で他のモデル、Claude Code で他のモデル、Hermes Agent を任意のモデルで、Goose を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

diff --git a/site/public/docs/ja/goose.html b/site/public/docs/ja/goose.html new file mode 100644 index 000000000..e631dc16c --- /dev/null +++ b/site/public/docs/ja/goose.html @@ -0,0 +1,267 @@ + + + + + +Goose で DeepSeek・Kimi・GLM・GPT・ChatGPT サブスクを使う:Block の goose CLI とデスクトップを magpie で設定 · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

ドキュメント · ガイド

+

Goose を任意のモデルで

+

Goose は Block のオープンソース Agent で、設定にあるプロバイダとモデルで動きます。magpie は自身を Goose のカスタムプロバイダとして加えるので、Goose の CLI とデスクトップアプリで magpie にある任意のモデルを使えます:DeepSeek、Kimi、GLM、Qwen、OpenAI キー、ChatGPT や Copilot のサブスク。Goose にキーを貼る必要はありません。

+ +

Goose の設定は ~/.config/goose/config.yaml にあります($XDG_CONFIG_HOME があればその下、Windows では %APPDATA%\Block\goose\config)。magpie はその横にカスタムプロバイダ custom_providers/magpie.json を書き、ゲートウェイのアドレス、Goose 用のキー、magpie のモデルを入れて、Goose が使うプロバイダにします。ゲートウェイは各リクエストをモデルのプロバイダ向けに変換し、ツール呼び出しも推論も保ちます。WSL の Goose も同じように、ディストリから見えるゲートウェイのアドレスで設定します。

+ +

Goose を接続

+
    +
  1. magpie にプロバイダを追加プロバイダ タブで API キーを追加するか、サブスクにサインインします。
  2. +
  3. Goose の行でモデルを選ぶAgent タブで Goose の行のモデルを選びます。Goose 自身に設定済みのプロバイダのモデルも並びます。
  4. +
  5. Goose を再起動Goose はカスタムプロバイダを起動時に読み込みます:デスクトップアプリを終了して開き直し、goose セッションも開き直してください。
  6. +
+
ターミナル
magpie goose deepseek/deepseek-v4-pro    # Goose を DeepSeek で
+magpie goose                             # Goose の今のモデル
+ +

モデルと思考の強さ

+

magpie が Goose に並べる各モデルにはコンテキスト長が付くので、Goose が推測する必要はありません。思考レベルを受け付けるかどうかも付きます。行では GOOSE_THINKING_EFFORT、つまり考えるモデルに Goose が求める強さも設定できます:off、low、medium、high、max。

+
ターミナル
magpie goose effort high
+magpie goose effort default    # Goose の既定に戻す
+ +

magpie が書くもの

+

Goose は使うプロバイダを二通りで書きます:active_provider と providers.magpie.model、そして古い GOOSE_PROVIDER と GOOSE_MODEL。magpie は設定がすでに使っている方で書きます。magpie のプロバイダファイルに自分で加えたキー(timeout_seconds、headers、toolshim など)は、magpie がモデルを書き直しても残ります。

+ +

元に戻す

+

Goose の行で自分のプロバイダのモデルを選ぶか、行から magpie を外すか、magpie goose default を実行します。Goose が magpie のモデルを使わなくなると、magpie はプロバイダファイルを削除します。

+ +

よくある質問

+

Goose で ChatGPT サブスクを使えますか?

+

使えます。magpie で ChatGPT にサインインし、Goose の行で GPT モデルを選びます。Goose のリクエストは magpie に届き、magpie がサブスクを使います。

+

Goose に magpie のモデルが出ません。

+

Goose はカスタムプロバイダを起動時にしか読みません。Goose を終了して開き直し、新しい goose セッションを始めてください。

+

Goose のデスクトップアプリでも使えますか?

+

使えます。CLI とデスクトップアプリは同じ設定を読むので、再起動後はどちらも Goose の行のモデルを使います。

+

WSL の goose でも使えますか?

+

使えます。magpie は WSL ディストリの Goose も、ディストリから見えるゲートウェイのアドレスで設定します。

+ +

同じモデルを他のエージェントでも:OpenCode で他のモデル、Claude Code で他のモデル、Cline を任意のモデルで。エラーが出るときは よくあるエラーの直し方、または Discord で質問してください。

+
+
+ + + + + + + diff --git a/site/public/docs/zh/cline.html b/site/public/docs/zh/cline.html index a4d16a27a..2d73c289d 100644 --- a/site/public/docs/zh/cline.html +++ b/site/public/docs/zh/cline.html @@ -217,7 +217,7 @@ magpie cline effort default # 恢复 Cline 的默认

Cline 桌面版能用吗?

能。它的选择器在 magpie 下列出了 magpie 的模型;在那里选模型,因为桌面版不从 Cline 的文件读取。

-

更多 Agent 用同样的模型:OpenCode 接入其他模型、Claude Code 接入其他模型、让 Hermes Agent 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

+

更多 Agent 用同样的模型:OpenCode 接入其他模型、Claude Code 接入其他模型、让 Hermes Agent 用任意模型、让 Goose 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

diff --git a/site/public/docs/zh/goose.html b/site/public/docs/zh/goose.html new file mode 100644 index 000000000..a50bdd6fd --- /dev/null +++ b/site/public/docs/zh/goose.html @@ -0,0 +1,267 @@ + + + + + +Goose 接入 DeepSeek、Kimi、GLM、GPT 或 ChatGPT 订阅:Block goose 的 CLI 和桌面版通过 magpie 配置 · magpie + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

文档 · 指南

+

让 Goose 用任意模型

+

Goose 是 Block 开源的 Agent,使用配置里的供应商和模型。magpie 把自己作为自定义供应商加进 Goose,于是 Goose 的 CLI 和桌面版都能用你在 magpie 里的任何模型:DeepSeek、Kimi、GLM、Qwen、OpenAI Key,或 ChatGPT、Copilot 订阅,不用往 Goose 里贴 Key。

+ +

Goose 的设置在 ~/.config/goose/config.yaml(设置了 $XDG_CONFIG_HOME 时在其下;Windows 上在 %APPDATA%\Block\goose\config)。magpie 在旁边写一个自定义供应商 custom_providers/magpie.json,包含网关地址、一个 Goose 专用的 Key 和 magpie 的模型,再把它设为 Goose 使用的供应商。网关把每个请求翻译给该模型的供应商,工具调用和推理都保留。WSL 里的 Goose 也一样设置,用发行版能访问到的网关地址。

+ +

接入 Goose

+
    +
  1. 在 magpie 里添加供应商在 供应商 页添加 API Key,或登录一个订阅。
  2. +
  3. 在 Goose 那一行选模型在 Agent 页,给 Goose 一行选一个模型。选择器里也列出 Goose 自己配置过的供应商的模型。
  4. +
  5. 重启 GooseGoose 在启动时加载自定义供应商:退出并重新打开桌面版,重新打开 goose 会话。
  6. +
+
终端
magpie goose deepseek/deepseek-v4-pro    # Goose 用 DeepSeek
+magpie goose                             # 查看 Goose 当前的模型
+ +

模型和思考强度

+

magpie 为 Goose 列出的每个模型都带上了上下文窗口,Goose 不必去猜,也标明了能否接受思考强度。这一行还能设置 GOOSE_THINKING_EFFORT,即 Goose 对会思考的模型请求的强度:off、low、medium、high 或 max。

+
终端
magpie goose effort high
+magpie goose effort default    # 恢复 Goose 的默认
+ +

magpie 写了什么

+

Goose 记录当前供应商有两种写法:active_provider 加 providers.magpie.model,以及较早的 GOOSE_PROVIDER 和 GOOSE_MODEL。magpie 按你的配置已有的写法来写。你自己加到 magpie 供应商文件里的字段,比如 timeout_seconds、headers 或 toolshim,在 magpie 重写模型时会保留。

+ +

切回

+

在 Goose 那一行选你自己供应商的模型、把这一行从 magpie 移除,或运行 magpie goose default。Goose 不再用 magpie 的模型后,magpie 会删除它的供应商文件。

+ +

常见问题

+

Goose 能用我的 ChatGPT 订阅吗?

+

能。在 magpie 里登录 ChatGPT,在 Goose 那一行选一个 GPT 模型。Goose 把请求发给 magpie,由 magpie 使用订阅。

+

Goose 里看不到 magpie 的模型。

+

Goose 只在启动时读取自定义供应商。退出并重新打开 Goose,再开一个新的 goose 会话。

+

Goose 桌面版也能用吗?

+

能。CLI 和桌面版读同一份配置,重启后都会用 Goose 那一行的模型。

+

WSL 里的 goose 能用吗?

+

能。magpie 也会设置 WSL 发行版里的 Goose,用发行版能访问到的网关地址。

+ +

更多 Agent 用同样的模型:OpenCode 接入其他模型、Claude Code 接入其他模型、让 Cline 用任意模型。遇到报错?见 常见错误排查,或到 Discord 提问。

+
+
+ + + + + + + diff --git a/site/public/llms-full.txt b/site/public/llms-full.txt index 1552f213c..2f394aa9f 100644 --- a/site/public/llms-full.txt +++ b/site/public/llms-full.txt @@ -3440,7 +3440,65 @@ Cline refuses a provider it doesn’t know when a session starts, so magpie uses Its picker lists magpie’s models under magpie; pick the model there, since the app doesn’t read it from Cline’s files. -More agents on the same models: [Models in OpenCode](https://usemagpie.ai/docs/opencode-models), [Models in Claude Code](https://usemagpie.ai/docs/claude-code-models) and [Hermes Agent on any model](https://usemagpie.ai/docs/hermes). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). +More agents on the same models: [Models in OpenCode](https://usemagpie.ai/docs/opencode-models), [Models in Claude Code](https://usemagpie.ai/docs/claude-code-models), [Hermes Agent on any model](https://usemagpie.ai/docs/hermes) and [Goose on any model](https://usemagpie.ai/docs/goose). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). + +--- + +Source: https://usemagpie.ai/docs/goose + +# Goose on any model + +Goose, Block’s open-source agent, runs on the provider and model in its config. magpie adds itself to Goose as a custom provider, so Goose’s CLI and desktop app can run on any model you have in magpie: DeepSeek, Kimi, GLM, Qwen, an OpenAI key, or a ChatGPT or Copilot subscription, with no key pasted into Goose. + +Goose keeps its settings in `~/.config/goose/config.yaml` (under `$XDG_CONFIG_HOME` if set; `%APPDATA%\Block\goose\config` on Windows). magpie writes a custom provider, `custom_providers/magpie.json` beside it, with the gateway’s address, a key of Goose’s own and magpie’s models, then makes it the provider Goose uses. The gateway translates each request for the model’s provider, tool calls and reasoning included. A Goose in WSL is set up the same way, reaching the gateway as the distro sees it. + +## Connect Goose + +1. **Add providers in magpie.** In the Providers tab, add an API key or sign in to a subscription. +2. **Pick a model on Goose’s row.** In the Agents tab, choose a model on Goose’s row. The picker also lists the models of providers Goose is set up with itself. +3. **Restart Goose.** Goose loads its custom providers as it starts: quit and reopen the desktop app, and open `goose` sessions again. + +``` +magpie goose deepseek/deepseek-v4-pro # Goose on DeepSeek +magpie goose # what Goose runs on now +``` + +## Model and thinking effort + +Each model magpie lists for Goose carries its context window, so Goose doesn’t have to guess it, and whether it takes a thinking level. The row also sets `GOOSE_THINKING_EFFORT`, the effort Goose asks of a model that thinks: off, low, medium, high or max. + +``` +magpie goose effort high +magpie goose effort default # back to Goose's own +``` + +## What magpie writes + +Goose has two layouts for the provider in use: `active_provider` with `providers.magpie.model`, and the older `GOOSE_PROVIDER` and `GOOSE_MODEL`. magpie writes the one your config already uses. Keys you added to magpie’s provider file yourself, such as `timeout_seconds`, `headers` or `toolshim`, stay when magpie rewrites the models. + +## Switch back + +Pick one of your own providers’ models on Goose’s row, take the row off magpie, or run `magpie goose default`. Once Goose no longer uses a model of magpie’s, magpie removes its provider file. + +## FAQ + +### Can Goose use my ChatGPT subscription? + +Yes. Sign in to ChatGPT in magpie and pick a GPT model on Goose’s row. Goose sends its requests to magpie, which uses the subscription. + +### Goose doesn’t show magpie’s models. + +Goose reads custom providers only as it starts. Quit and reopen Goose, and start a new goose session. + +### Does this work in the Goose desktop app? + +Yes. The CLI and the desktop app read the same config, so both use the model on Goose’s row after a restart. + +### Does it work with goose in WSL? + +Yes. magpie sets up a Goose in a WSL distro too, with the gateway’s address as the distro reaches it. + +More agents on the same models: [Models in OpenCode](https://usemagpie.ai/docs/opencode-models), [Models in Claude Code](https://usemagpie.ai/docs/claude-code-models) and [Cline on any model](https://usemagpie.ai/docs/cline). Something fails? See [Fixing common errors](https://usemagpie.ai/docs/troubleshooting), or ask on [Discord](https://discord.gg/vGSnD3ZKQF). --- diff --git a/site/public/llms.txt b/site/public/llms.txt index b506e099c..efe2eb1e8 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -64,6 +64,7 @@ DeepSeek, Kimi (Moonshot), GLM (Zhipu), Qwen, MiniMax, Anthropic (Claude), OpenA - [OpenClaw on any model](https://usemagpie.ai/docs/openclaw): run OpenClaw (the personal assistant on WhatsApp, Telegram and Discord) on DeepSeek, Kimi, GLM, Qwen, GPT or a ChatGPT subscription; what magpie writes in openclaw.json, the model refs, chats that keep a model (/model default), profiles and switching back. - [Hermes Agent on any model](https://usemagpie.ai/docs/hermes): run Nous Research's Hermes Agent and each of its bots on DeepSeek, Kimi, GLM, Qwen, GPT or a ChatGPT subscription; what magpie writes in config.yaml, model and reasoning effort, profiles, WSL and switching back. - [Cline on any model](https://usemagpie.ai/docs/cline): run Cline's CLI, VS Code extension and desktop app on DeepSeek, Kimi, GLM, Qwen, GPT or a ChatGPT subscription through Cline's built-in OpenAI-compatible provider; model and reasoning effort, new sessions, VS Code's reload and switching back. +- [Goose on any model](https://usemagpie.ai/docs/goose): run Block's Goose, its CLI and desktop app, on DeepSeek, Kimi, GLM, Qwen, GPT or a ChatGPT subscription through a custom provider magpie adds; context windows, thinking effort, restarting Goose and switching back. - [Cherry Studio](https://usemagpie.ai/docs/cherry-studio): add magpie to Cherry Studio as one OpenAI-compatible provider in one click, confirmed in Cherry Studio, and use every magpie model there, Claude, ChatGPT and Copilot subscriptions included; model list, status and usage. - [Fixing common errors](https://usemagpie.ai/docs/troubleshooting): what the gateway's errors mean and the fix: 401 and 403, 429 and rest periods, 502 and 504, model not found, an agent that doesn't show a model, port 3425 in use, agents in WSL, use from another computer and subscriptions moved to plugins. - [Library](https://usemagpie.ai/docs/library): instructions, MCP servers, skills, hooks and subagents for each agent. diff --git a/site/public/sitemap.xml b/site/public/sitemap.xml index 46876e44c..078c246f8 100644 --- a/site/public/sitemap.xml +++ b/site/public/sitemap.xml @@ -27,6 +27,7 @@ https://usemagpie.ai/docs/openclaw https://usemagpie.ai/docs/hermes https://usemagpie.ai/docs/cline +https://usemagpie.ai/docs/goose https://usemagpie.ai/docs/local-models https://usemagpie.ai/docs/opencode-models https://usemagpie.ai/docs/alternatives @@ -66,6 +67,7 @@ https://usemagpie.ai/docs/zh/openclaw https://usemagpie.ai/docs/zh/hermes https://usemagpie.ai/docs/zh/cline +https://usemagpie.ai/docs/zh/goose https://usemagpie.ai/docs/zh/local-models https://usemagpie.ai/docs/zh/opencode-models https://usemagpie.ai/docs/zh/alternatives @@ -104,6 +106,7 @@ https://usemagpie.ai/docs/ja/openclaw https://usemagpie.ai/docs/ja/hermes https://usemagpie.ai/docs/ja/cline +https://usemagpie.ai/docs/ja/goose https://usemagpie.ai/docs/ja/local-models https://usemagpie.ai/docs/ja/opencode-models https://usemagpie.ai/docs/ja/alternatives