能力标签
⚙️
Agent工作流

开源AI工作流

基于 TypeScript · 无代码搭建完整 AI 自动化流程
英文名:opencode-copilot-chat
⭐ 44 Stars 🍴 9 Forks 💻 TypeScript 📄 MIT 🏷 AI 8.0分
8.0AI 综合评分
aitypescriptchat
✦ AI Skill Hub 推荐

开源AI工作流 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

开源AI工作流 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 8.0 分,是同类 Agent 工作流中的精选推荐。

📋 工具概览

开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 44
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
8.0 分
工具类型
Agent工作流
Forks
9

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

开源AI工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一: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
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
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"
📑 README 深度解析 真实文档 完整度 68/100 含工作流图 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

✨ Features Deep Dive

💰 OpenCode Zen — Paid models (requires balance)

Add a payment method to your Zen account to unlock these models at pay-as-you-go rates.

ModelContextMax OutputInput / 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-5200,00064,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-mini400,000–1,050,000128,000$0.75–$30 / $4.50–$180
gpt-5.3-codex / gpt-5.2400,000128,000$1.75 / $14
gpt-5.1 / gpt-5 / gpt-5-nano400,000128,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.1256,000256,000$1 / $2
qwen3.7-max / qwen3.6-plus / qwen3.5-plus262,144–1,000,00065,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.5262,14465,536$0.60–$4.00
glm-5.1 / glm-5202,75232,768$1.00–$4.40
minimax-m2.7 / minimax-m2.5204,800131,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:

  1. Live metadata from OpenCode /models endpoint
  2. 6-hour models.dev snapshot cached in VS Code globalState
  3. Bundled fallback catalog shipped with the extension (works offline)

Deprecated/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>

FamilyEndpointWhy
Zen GPT (gpt-*)/responsesOpenAI native
Zen Gemini (gemini-*):streamGenerateContent?alt=sseGoogle native
Zen Claude (claude-*) + Go MiniMax (minimax-m2.*)/messagesAnthropic-compatible
Everything else (Qwen, DeepSeek, GLM, Kimi, MiMo…)/chat/completionsOpenAI-compatible

All Qwen models use /chat/completions because they use OpenAI-native tool-calling format. Routing to Anthropic /messages broke tool calls.

</details>

---

⚡ Quick Start (60 sec)

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>

---

📊 Usage Tracking

  • Go Usage Tracker — real-time burn-rate of OpenCode Go subscription:
  • Tracks 5-hour rolling ($12), weekly ($30), monthly ($60) tiers.
  • Client-side cost calc: token usage × per-model pricing (input/output/cache_read).
  • Status bar: Go: 27%·62%·75% — ⚠ warning when any tier exceeds 80%.
  • Persisted in VS Code globalState — survives restarts.
  • Response usage bar — latest prompt/output/total/cache summary after each response.
  • Normalized usage DataPart — emits usage MIME so Copilot Chat's context widget shows accurate token counts.

🎬 Demo

<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.

---

🔧 Settings

SettingDefaultDescription
opencodego.temperature0.2Sampling temperature (02)
opencodego.maxTokens0Max output token override (0 = per-model max)
opencodego.maxInputTokens0Context window override (0 = per-model default)
opencodego.debugReasoningfalseLog reasoning_content to Output panel
opencodego.requestTimeoutSeconds600Total request timeout
opencodego.streamIdleTimeoutSeconds120Cancel if stream goes idle
opencodego.showUsageStatusBartrueShow usage summary in status bar
opencodego.freeOnlytrueZen: free models only. false = include paid
opencodego.agentsWindowtrueRegister agent models for the Agents window
opencodego.showAgentModelsInManagePanelfalseShow 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 vs This Extension

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 agentsPremium (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**LimitedYes (limited)Yes (limited)**Vision + PDF + Audio + Video** (per-model)
🔧 **Agent Mode / tool-calling**✅ **Full** (read, edit, terminal)
📊 **Usage transparency**OpaqueOpaqueAudit logs**Status bar burn-rate** + diagnostics report
🔌 **Provider**GitHub onlyGitHub onlyGitHub 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/moUnlimited (rate-limited)4× Pro creditsPer 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).

❓ FAQ

<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>

---

⚡ 核心功能

👥 适合人群

自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队

🎯 使用场景

  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

参考README文档
💡 AI Skill Hub 点评

经综合评估,开源AI工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 开源AI工作流
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 opencode-copilot-chat
Topics aitypescriptchat
GitHub https://github.com/ltmoerdani/opencode-copilot-chat
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/ltmoerdani/opencode-copilot-chat 🌐 官方网站  https://opencode.ai

收录时间:2026-06-17 · 更新时间:2026-06-17 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →