V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
formulahendry

VS Code ACP Client 扩展:连上 Claude, Gemini, Codex, OpenCode, Qwen Code 等 AI Agent

  •  2
     
  •   formulahendry ·
    formulahendry · Feb 9 · 7668 views
    This topic created in 87 days ago, the information mentioned may be changed or developed.

    前段时间,我用 Tauri 写了个跨平台的 ACP UI ,支持 Windows ,macOS (ARM/Intel) 和 Linux (x64/ARM64):

    https://github.com/formulahendry/acp-ui

    根据 ACP 的协议,推荐 ACP Client 最好要实现 Terminals 和 File System 的 API 。

    我就在想,Terminals 和 File System 肯定是 VS Code 的强项啊!而且 VS Code 也 expose 了相关的 extension API 。特别是 Terminals API ,目前 ACP UI 还没支持,如果能站在巨人的肩膀上,那就很香啦~

    于是,这周末,我又写了 VS Code 的 ACP Client extension:

    https://marketplace.visualstudio.com/items?itemName=formulahendry.acp-client

    基本的核心功能都有:

    • Multi-Agent Support
    • Single-Agent Focus
    • Interactive Chat
    • Mode & Model Picker
    • File System Integration
    • Terminal Execution
    • Permission Management
    • Protocol Traffic Logging

    默认支持连接 GitHub Copilot 、Claude Code 、Gemini CLI 、Qwen Code 、OpenCode 、Codex CLI 、Qoder CLI 和 Auggie CLI 。当然也可以另外配置。

    代码也完全开源:

    https://github.com/formulahendry/vscode-acp

    欢迎围观交流~

    Supplement 1  ·  Apr 29
    已增加 Kiro CLI, OpenClaw, Hermes Agent 的支持
    15 replies    2026-04-29 16:36:41 +08:00
    weixiangzhe
        2
    weixiangzhe  
       Feb 9
    终于有 acp 666
    qviqvi
        3
    qviqvi  
       Feb 12
    这是什么?能免费用 claude 吗?
    HangoX
        4
    HangoX  
       Feb 12
    我有个问题,claude 不是官方不支持 acp 吗?这是怎么做到的?
    formulahendry
        5
    formulahendry  
    OP
       Feb 12
    @HangoX 通过 ACP adapter for Claude Code: https://github.com/zed-industries/claude-code-acp
    zisen
        6
    zisen  
       Feb 12
    我理解的是把这些 cli 的 agent 转换成 cursor 或者 copilot 那种 ide 里的聊天窗口?

    这和直接在 ide 的终端里面开一个 claude code 或者 codex cli 有什么区别吗?
    formulahendry
        7
    formulahendry  
    OP
       Feb 15
    @zisen 有人喜欢 GUI ,有人喜欢 TUI 。萝卜青菜各有所爱吧~
    slackerman
        8
    slackerman  
       Feb 15 via Android
    感谢分享。顺便借楼请教一下,Codex cli 和 codeX vscode 插件,除了交互上,在能力上有哪些差异
    allplay
        9
    allplay  
       Feb 22
    准确的说,你连上的是 LLM ,你这个插件才是 agent
    formulahendry
        10
    formulahendry  
    OP
       Feb 23   ❤️ 1
    @allplay 连上的是 Agent 。
    tool calling, Modes, Models, session management, skills, mcp 等等,都是在 ACP Agent 里面控制的。
    插件可以理解为只有 UI 的逻辑。
    asd999cxcx
        11
    asd999cxcx  
       Feb 26
    @formulahendry @zisen
    用了 acp 后可以用编辑器原生功能吧应该?例如选中段落然后右键添加将所选内容添加到聊天,然后提示词优化之类的应该都可用,参考 IDEA 的 ACP ,这样可以跨文件添加多段?另外,感觉 vscode 某些时候能力还是比较呆,比如我工作区添加多个目录,他不能把工作区当作一个父目录然后直接引用某个目录下的文件(例如我将前后端分离的 backend 、frontend 两个项目添加到一个工作区,通过#/@ 引用文件只能检索过滤 backend 目录下的文件)
    nanqic
        12
    nanqic  
       Mar 23
    @asd999cxcx VS Code Insider 版,可以自己添加 API key ,可以实现,你说的功能。比 CodeX 插件好用。
    WebKit
        13
    WebKit  
       Apr 29
    不懂,这个和 vsocde 的 codex 插件有什么区别?
    formulahendry
        14
    formulahendry  
    OP
       Apr 29
    @WebKit 可以连 Claude, Codex, Copilot, Qwen, Gemini, OpenCode, Kiro, OpenClaw, Hermes 等不同的 Agent
    han1988
        15
    han1988  
       Apr 29
    大佬,支持 OpenCode 的代码提示自动补全吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3192 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 00:28 · PVG 08:28 · LAX 17:28 · JFK 20:28
    ♥ Do have faith in what you're doing.