The open source coding agent.
★ 225,768⑂ 30,482👁 870⑃ 28,587● 33,343▤ 894◈ 0
225,768
stars
+140+1,700+14,153
30,482
forks
870
watchers
28,587
prs
33,343
issues
894
releases
0
discussions
README
开源的 AI Coding Agent。 English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt --- 安装 bash 直接安装 (YOLO) curl -fsSL https://opencode.ai/v2/install | bash 软件包管理器 npm i -g @opencode/cli@latest 也可使用 bun/pnpm/yarn brew install anomalyco/tap/opencode-v2 macOS 和 Linux(推荐,始终保持最新) brew install opencode macOS 和 Linux(官方 brew formula,更新频率较低) sudo pacman -S opencode Arch Linux (Stable) paru -S opencode-beta Arch Linux (Latest from AUR) mise use -g opencode 任意系统 nix run github:anomalyco/opencode Nix [!TIP] 安装前请先移除 0.1.x 之前的旧版本。 桌面应用程序 (BETA) OpenCode 也提供桌面版应用。可从 opencode.ai/download 下载。 | 平台 | 下载文件 | | --------------------- | ---------------------------------- | | macOS (Apple Silicon) | opencode-desktop-mac-arm64.dmg | | macOS (Intel) | opencode-desktop-mac-x64.dmg | | Windows | opencode-desktop-win-x64.exe | | Linux | .deb、.rpm 或 AppImage | bash macOS (Homebrew Cask) brew install --cask opencode-desktop 安装目录 安装脚本将 OpenCode 安装到 $HOME/.opencode/bin。 Agents OpenCode 内置两种 Agent,可用 Tab 键快速切换: - build - 默认模式,具备完整权限,适合开发工作 - plan - 只读模式,适合代码分析与探索 - 默认拒绝修改文件 - 运行 bash 命令前会询问 - 便于探索未知代码库或规划改动 另外还包含一个 general 子 Agent,用于复杂搜索和多步任务,内部使用,也可在消息中输入 @general 调用。 了解更多 Agents 相关信息。 文档 更多配置说明请查看我们的 官方文档。 参与贡献 如有兴趣贡献代码,请在提交 PR 前阅读 贡献指南 (Contributing Docs)。 基于 OpenCode 进行开发 如果你在项目名中使用了 “opencode”(如 “opencode-dashboard” 或 “opencode-mobile”),请在 README 里注明该项目不是 OpenCode 团队官方开发,且不存在隶属关系。 --- 加入我们的社区 飞书 | X.com
Top issues
#59387Free tier issues: read this first, then post your report here331 comments · 2026-10-26#2242Is there a way to sandbox the agent ?106 comments · 2025-08-25#56324Free models fail inside official OpenCode TUI with "free tier can only be used from within OpenCode" (Windows, v2.0.32)74 comments · 2026-10-17#4714[FEATURE]: TUI - Search for and find string in session buffer45 comments · 2025-11-24#6680[FEATURE]: view archived sessions on desktop44 comments · 2026-01-02#48882[FEATURE]: Restore the legacy UI with the persistent left sidebar as an option42 comments · 2026-09-14#11176[FEATURE]:Official - OpenCode VS Code extension39 comments · 2026-01-29#785Is there a way to disable streaming mode?35 comments · 2025-07-08
Latest release
v1.19.5 v1.19.5 2026-10-28Core Bugfixes - Failed TUI worker requests now return an error instead of leaving the caller hanging. (@Nowaker) Thank you to 1 community contributor: - @Nowaker: - fix(opencode): answer a failed TUI worker request instead of hanging (54936)
相关报道 (5)
CoinbaseNew Github Backrooms价格、OPENCODE价格、实时图表和市值2026-11-0136氪谷歌开源Harness,支持 OpenCode 和 Codex:国内开发者接入Jev实测“真行”2026-10-19https://www.80aj.com/开发者投诉OpenCode订阅后恶意封禁GitHub账号,官方售后缺引担忧2026-08-24view.inews.qq.comOpenCode 入门指南,从零基础到实战,看这一篇就够了!2026-07-10CSDN博客GitHub 64k Star 神器!OpenCode 5 分钟上手指南:开源免费,Claude Code 平替!_op2026-01-13
News & coverage (20)
Hacker NewsAnthropic blocks third-party use of Claude Code subscriptions▲ 625 · 513 comments · 2026-01-09Hacker NewsAnthropic takes legal action against OpenCode▲ 483 · 398 comments · 2026-03-19Hacker NewsMajor security regression merged into OpenCode V2▲ 18 · 9 comments · 2026-10-13Hacker NewsOpenCode drops Claude Pro/Max subscription support per Anthropic's legal request▲ 6 · 1 comments · 2026-03-19Hacker NewsAnthropic legal request: OpenCode removes Claude subscription support▲ 6 · 1 comments · 2026-02-20Hacker NewsOpenCode is using CPU for doing nothing▲ 5 · 0 comments · 2026-05-23Hacker NewsShow HN: From Claude Code to OpenCode – My Evolution in Vibe AI Engineering▲ 2 · 0 comments · 2026-03-13noteSyncing multiple AI agent skills with one npx skills command — Read 18 out of 18 times by Claude Code, Codex, and OpenCode2026-11-09noteWhere do Claude Code, Codex, and OpenCode read skills from? — A diagram of how npx skills add lets all three read the same skill at once2026-11-09noteWhat exactly is OpenCode? Things I wanted to know first as someone who wants to outsource development to AI2026-11-04