开源AI工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g opencode-copilot-chat # 方式二:npx 直接运行(无需安装) npx opencode-copilot-chat --help # 方式三:项目依赖安装 npm install opencode-copilot-chat # 方式四:从源码运行 git clone https://github.com/ltmoerdani/opencode-copilot-chat cd opencode-copilot-chat npm install npm start
# 命令行使用
opencode-copilot-chat --help
# 基本用法
opencode-copilot-chat [options] <input>
# Node.js 代码中使用
const opencode_copilot_chat = require('opencode-copilot-chat');
const result = await opencode_copilot_chat.run(options);
console.log(result);
# opencode-copilot-chat 配置说明 # 查看配置选项 opencode-copilot-chat --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export OPENCODE_COPILOT_CHAT_CONFIG="/path/to/config.yml"
Add a payment method to your Zen account to unlock these models at pay-as-you-go rates.
| Model | Context | Max Output | Input / Output per 1M tokens |
|---|---|---|---|
claude-opus-4-7 / claude-opus-4-6 | **1,000,000** | 128,000 | $5 / $25 |
claude-sonnet-4-6 / claude-sonnet-4-5 | **1,000,000** | 64,000 | $3 / $15 |
claude-haiku-4-5 | 200,000 | 64,000 | $1 / $5 |
gpt-5.5 / gpt-5.5-pro | **1,050,000** | 128,000 | $5 / $30 |
gpt-5.4 / gpt-5.4-pro / gpt-5.4-mini | 400,000–1,050,000 | 128,000 | $0.75–$30 / $4.50–$180 |
gpt-5.3-codex / gpt-5.2 | 400,000 | 128,000 | $1.75 / $14 |
gpt-5.1 / gpt-5 / gpt-5-nano | 400,000 | 128,000 | $0.05–$1.07 / $0.40–$8.50 |
gemini-3.5-flash / gemini-3.1-pro / gemini-3-flash | **1,048,576** | 65,536 | $0.50–$4 / $3–$18 |
grok-build-0.1 | 256,000 | 256,000 | $1 / $2 |
qwen3.7-max / qwen3.6-plus / qwen3.5-plus | 262,144–1,000,000 | 65,536 | $0.20–$7.50 |
deepseek-v4-pro / deepseek-v4-flash | **1,000,000** | 384,000 | $0.14–$3.48 |
kimi-k2.6 / kimi-k2.5 | 262,144 | 65,536 | $0.60–$4.00 |
glm-5.1 / glm-5 | 202,752 | 32,768 | $1.00–$4.40 |
minimax-m2.7 / minimax-m2.5 | 204,800 | 131,072 | $0.30 / $1.20 |
Set opencodego.freeOnly: false to show paid Zen models in the picker (default shows only free models).
<details> <summary><b>🔬 How model metadata is resolved (3-tier fallback)</b></summary>
Limits and capabilities resolve in this priority order:
/models endpointglobalStateDeprecated/unavailable models are filtered before registration. Per-provider limits tracked separately (Go vs Zen) so shared models (e.g. glm-5.1, qwen3.6-plus) use correct values for each.
</details>
<details> <summary><b>🛣️ Endpoint routing per model family</b></summary>
| Family | Endpoint | Why |
|---|---|---|
Zen GPT (gpt-*) | /responses | OpenAI native |
Zen Gemini (gemini-*) | :streamGenerateContent?alt=sse | Google native |
Zen Claude (claude-*) + Go MiniMax (minimax-m2.*) | /messages | Anthropic-compatible |
| Everything else (Qwen, DeepSeek, GLM, Kimi, MiMo…) | /chat/completions | OpenAI-compatible |
All Qwen models use /chat/completions because they use OpenAI-native tool-calling format. Routing to Anthropic /messages broke tool calls.
</details>
---
1. Install GitHub Copilot Chat (free) ──────────────────────────── ✓
2. Install this extension ──────────────────────────────────────── ✓
3. Get an OpenCode Zen API key → opencode.ai/auth ─────────────── ✓
4. Open Copilot Chat → click model → "Add Models" → OpenCode Zen ── ✓
5. Paste API key → pick a free model → CHAT 🎉
<details> <summary><b>📖 Detailed step-by-step with screenshots</b></summary>
1. Install GitHub Copilot Chat — free, requires only a GitHub account. 2. Install this extension from the VS Code Marketplace (or press F5 in this repo for dev mode). 3. Get an API key: - Free models: Sign up at opencode.ai → grab an OpenCode Zen key. 2-5 models are truly free (Big Pickle is always free; DeepSeek V4 Flash Free, MiMo-V2.5 Free, and others rotate). - Paid Zen models (optional): Add a payment method to your Zen account to unlock Claude Opus, GPT-5.5, Gemini, and other paid models at pay-as-you-go rates. Adding $20+ balance also improves rate limits on free models. - OpenCode Go (optional): Subscribe to OpenCode Go ($10/mo, $5 first month promo) for curated open models like DeepSeek V4 Pro, Kimi K2.6, GLM-5.1, Qwen3.7 Max, MiMo V2.5 Pro. 4. Open Copilot Chat (Cmd/Ctrl+Shift+I, or click the Copilot icon). 5. Click the model picker (current model name) → Add Models… 6. Select OpenCode Go or OpenCode Zen. 7. Press Enter to accept the default group name. 8. Paste your API key when prompted (stored securely in VS Code SecretStorage). 9. Pick the models you want enabled. 10. Select any OpenCode model from the picker and start chatting. 🚀
💡 Tips: - Go and Zen are separate provider groups — both can be active simultaneously. Switch anytime from the picker. - If a model shows in Language Models view but not the chat picker, hover its row and click the eye icon (👁) to enable it. - Set opencodego.freeOnly: false to reveal paid Zen models in the picker.
</details>
---
Go: 27%·62%·75% — ⚠ warning when any tier exceeds 80%.globalState — survives restarts.usage MIME so Copilot Chat's context widget shows accurate token counts.<p align="center"> <img src="docs/screenshots/model-picker.gif" alt="Copilot Chat model picker showing OpenCode models" width="480" /> </p>
Selecting an OpenCode model from the Copilot Chat model picker.
---
| Setting | Default | Description |
|---|---|---|
opencodego.temperature | 0.2 | Sampling temperature (0–2) |
opencodego.maxTokens | 0 | Max output token override (0 = per-model max) |
opencodego.maxInputTokens | 0 | Context window override (0 = per-model default) |
opencodego.debugReasoning | false | Log reasoning_content to Output panel |
opencodego.requestTimeoutSeconds | 600 | Total request timeout |
opencodego.streamIdleTimeoutSeconds | 120 | Cancel if stream goes idle |
opencodego.showUsageStatusBar | true | Show usage summary in status bar |
opencodego.freeOnly | true | Zen: free models only. false = include paid |
opencodego.agentsWindow | true | Register agent models for the Agents window |
opencodego.showAgentModelsInManagePanel | false | Show agent vendors in Manage Language Models |
opencodego.stripThinkTags | "auto" | Strip <think> tags (never/auto/always) |
opencodego.thinking.deepseek | "off" | off/low/medium/high/max |
opencodego.thinking.glm | "off" | on/off |
opencodego.thinking.kimi | "off" | on/off |
opencodego.thinking.minimax | "off" | off/on |
opencodego.thinking.mimo | "off" | off/low/medium/high |
opencodego.thinking.qwen | "off" | auto/on/off |
opencodego.thinking.qwenBudget | "auto" | auto/4096/16384/32768/81920 |
<details> <summary><b>📜 Full settings reference with descriptions</b></summary>
All settings live under the OpenCode namespace in VS Code Settings. Run Preferences: Open Settings (UI) and search opencode.
</details>
---
GitHub Copilot has four tiers now — Free, Pro ($10/mo), Pro+ ($39/mo), and Max ($100/mo). Here's how BYOK via OpenCode compares:
| **Copilot Free** | **Copilot Pro $10/mo** | **Copilot Pro+ $39/mo** | **OpenCode for Copilot Chat** | |
|---|---|---|---|---|
| 💰 **Cost** | $0 | $10/mo | $39/mo | **$0** with free Zen models · Go is **$10/mo** subscription |
| 🤖 **Models** | GPT-5 mini, Haiku 4.5 (2,000 completions) | Pro catalog + Claude Code/Codex agents | Premium (Opus) | **30+ models**: DeepSeek V4, Kimi K2.6, GLM-5.1, Qwen3.7, MiMo V2.5, MiniMax M2.7, + 2-5 rotating free models |
| 🧠 **Reasoning controls** | — | Per-model (GitHub decides) | Per-model (GitHub decides) | **Per-family thinking effort** you control (DeepSeek max, Qwen thinking_budget, etc.) |
| 🖼️ **Multimodal** | Limited | Yes (limited) | Yes (limited) | **Vision + PDF + Audio + Video** (per-model) |
| 🔧 **Agent Mode / tool-calling** | — | ✅ | ✅ | ✅ **Full** (read, edit, terminal) |
| 📊 **Usage transparency** | Opaque | Opaque | Audit logs | **Status bar burn-rate** + diagnostics report |
| 🔌 **Provider** | GitHub only | GitHub only | GitHub only | **Bring any OpenCode key** — Go ($10/mo subscription) or Zen (free + paid), run both at once |
| 🎁 **Free frontier models?** | ❌ | ❌ | ❌ (paid tier only) | ✅ **2-5 rotating free models** via Zen (Big Pickle always free) |
| 🚫 **Rate limit** | 2,000 completions/mo | Unlimited (rate-limited) | 4× Pro credits | Per OpenCode tier (Zen free has low limits without balance; Go has generous limits) |
Not a replacement — this extension extends Copilot Chat. You still need the (free) Copilot Chat extension + a GitHub account. BYOK models bypass the Copilot subscription billing entirely — you pay OpenCode directly (or nothing, on Zen free).
<details> <summary><b>Do I need Copilot Pro, Pro+, or Max?</b></summary>
No. You only need the free GitHub Copilot Chat extension and any GitHub account — even the Copilot Free tier works. BYOK models bypass Copilot's subscription billing entirely.
If you already pay for Copilot Pro ($10), Pro+ ($39), or Max ($100), you can still use this extension alongside it — keep Copilot for autocomplete, switch to OpenCode models in chat when you want variety, free tier, or specific models GitHub doesn't offer.
</details>
<details> <summary><b>Is it really free? What's the catch?</b></summary>
OpenCode Zen offers 2-5 rotating free models — no balance required. Big Pickle is always free; other models rotate (DeepSeek V4 Flash Free, MiMo-V2.5 Free, Nemotron, etc.). Without a balance, rate limits are low. Adding $20+ to your Zen balance significantly improves rate limits on free models. Paid Zen models (Claude Opus, GPT-5.5, Gemini, etc.) require adding a payment method — they're pay-as-you-go.
OpenCode Go is a subscription — $10/mo ($5 first month promo) — with generous usage limits (5h/$12, weekly/$30, monthly/$60). It unlocks curated open models like DeepSeek V4 Pro, Kimi K2.6, GLM-5.1, Qwen3.7 Max, MiMo V2.5 Pro. When you hit the limit, you can continue using the free Zen models.
This extension is free and open source — you never pay us. You pay OpenCode directly (or nothing, on Zen free).
</details>
<details> <summary><b>Does Agent Mode / tool-calling work?</b></summary>
Yes — fully. The extension forwards VS Code tool schemas in the correct format for each endpoint (OpenAI tool_calls or Anthropic tool_use). Copilot Agent can read files, search, edit, and run terminal commands through any OpenCode model.
</details>
<details> <summary><b>Where is my API key stored?</b></summary>
In VS Code's SecretStorage — the same encrypted store used by GitHub auth. It never leaves your machine and is never sent anywhere except directly to opencode.ai.
</details>
<details> <summary><b>Can I use Go and Zen at the same time?</b></summary>
Yes. They're separate provider groups. Add both via Language Models → Add Models…, enter each key separately, and switch between them from the chat model picker anytime.
</details>
<details> <summary><b>A model shows in Language Models but not the chat picker — why?</b></summary>
Hover its row in the Language Models view and click the eye icon (👁) to toggle visibility.
</details>
<details> <summary><b>Tool calls loop forever on Qwen — help?</b></summary>
Known issue with qwen3.6-plus-free on broad agent tasks (see issue #1). Workaround: set opencodego.thinking.qwen: "off" and use a narrower task scope, or switch to a paid Qwen model.
</details>
<details> <summary><b>How do I use OpenCode models in the Agents window (Copilot CLI)?</b></summary>
Agent models are enabled by default (opencodego.agentsWindow: true). Just add this to your VS Code settings.json:
"extensions.supportAgentsWindow": {
"ltmoerdani.opencode-copilot-chat": true
}
Then reload the window, open the Agents window, start a Copilot CLI session, and pick any OpenCode model from the picker. See the Agents Window section above for details.
</details>
<details> <summary><b>How do I report a bug or request a model?</b></summary>
Open an issue — pick the Bug Report or Feature Request template. Include the diagnostics report (OpenCode Go: Diagnostics or OpenCode Zen: Diagnostics).
</details>
---
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,开源AI工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | opencode-copilot-chat |
| Topics | aitypescriptchat |
| GitHub | https://github.com/ltmoerdani/opencode-copilot-chat |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-06-17 · 更新时间:2026-06-17 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端