agent-shell 0.55 更新

Lobsters Hottest 工具

摘要

agent-shell 0.55 新增对 CodeBuddy、Hermes 和 Kimi Code 等新 AI 代理的支持,强调供应商中立的 ACP。该更新还讨论了生态系统变化,并呼吁社区支持。

<p><a href="https://lobste.rs/s/qulbgz/agent_shell_0_55_updates">评论</a></p>
查看原文
查看缓存全文

缓存时间: 2026/06/11 19:36

# agent-shell 0.55 更新 来源:https://xenodium.com/agent-shell-0-55-updates 2026年6月11日距离上次agent-shell更新(https://xenodium.com/agent-shell-0-47-1-updates)已有一段时间,下面来回顾一下 v0.55 的主要亮点。 ## 什么是 `agent-shell`? agent-shell(https://github.com/xenodium/agent-shell)是一个原生的 Emacs(https://www.gnu.org/software/emacs/)模式,用于与基于 ACP(Agent 客户端协议,https://agentclientprotocol.com/)的 AI 智能体交互。 ## 重新回到开发 如果你注意到四月份项目活动变慢,原因在此(https://xenodium.com/and-then-there-were-three)。我正在逐渐适应新的 24 小时工作制(https://xenodium.com/and-then-there-were-three),因此已恢复 agent-shell(https://github.com/xenodium/agent-shell/commits/main/)的开发。 我仍在处理离开期间积压的工作,但如果你有特别需要我关注的问题,欢迎随时联系。 ## Anthropic、Google 以及为什么 ACP 很重要 随着 Anthropic 的 SDK 订阅支持变更(https://zed.dev/blog/anthropic-subscription-changes)、Google 的 Gemini CLI 弃用(https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)以及 Antigravity 对 Agent 客户端协议(ACP)支持不明确(https://github.com/google-antigravity/antigravity-cli/issues/31),厂商中立工具比以往任何时候都更重要。 幸运的是,`agent-shell` 基于 ACP(https://agentclientprotocol.com/)构建,从而规避了这个问题。当供应商更改策略时,你可以更换提供商并继续使用自己偏好的工具,无需重塑辛苦培养的操作习惯。 此外,`agent-shell` 支持的智能体列表也在不断增长。 ### 支持的智能体 以下是 `agent-shell` 目前支持的最新智能体列表。 - Auggie(https://docs.augmentcode.com/cli/overview) - Claude(https://code.claude.com/docs/en/overview) - Cline(https://cline.bot/cli) - CodeBuddy(https://www.codebuddy.ai/)(新增,由 @illidan127(https://github.com/illidan127)贡献) - Codex(https://github.com/openai/codex) - Cursor(https://github.com/blowmage/cursor-agent-acp-npm) - Factory Droid(https://factory.ai/) - Gemini CLI(https://github.com/google-gemini/gemini-cli) - GitHub Copilot CLI(https://github.com/github/copilot-cli) - Goose(https://block.github.io/goose/) - Hermes(https://hermes-agent.nousresearch.com/)(新增,由 @yitang(https://github.com/yitang)贡献) - Kimi Code(https://www.kimi.com/code)(新增,由 @nicolaisingh(https://github.com/nicolaisingh)贡献) - Kiro(https://kiro.dev/) - Mistral Vibe(https://github.com/mistralai/mistral-vibe) - OpenCode(https://opencode.ai/) - Pi(https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) - Qwen Code(https://github.com/QwenLM/qwen-code) ## agent-shell 需要你的支持 说到厂商中立工具比以往更重要,有几种方式可以帮助 `agent-shell` 持续发展。有些需要花钱,有些只需点击一下。每一种都值得感谢 ;) `agent-shell` 吸引了相当多的用户。很高兴听说大家每天都在使用 `agent-shell`。他们常常因为 `agent-shell` 作为工作中常用的 AI 工具的替代品而如释重负。那些工具背后有资金充足的工程团队,而 `agent-shell` 只有我一个人——独立开发者 ;) 花在 `agent-shell` 上的时间就是用在了付费工作之外的时间,所以如果它对你有用,请考虑赞助(https://github.com/sponsors/xenodium)这个项目。 每一份个人赞助都能真正帮助项目继续下去。如果你的雇主从你使用 `agent-shell` 中受益,他们通常有能力做出个人无法比拟的贡献,所以请也提醒他们参与进来。 嘿,我说的是你们——**Google**、**GitHub**、**GitLab**、**NVIDIA**、**Oracle**、**Red Hat**、Yelp、Venmo、**ARM**、**Spotify**、**Augment Code**、Hinge、Mercury、Nubank、Veeva……你们中的一些人正在使用 `agent-shell`。请提醒你的雇主 ;) ### GitHub 星标换取 Anthropic 积分 Anthropic 为符合条件的开源项目(至少 5,000+ GitHub 星标)提供 6 个月的免费 Claude Max 20x(https://claude.com/contact-sales/claude-for-oss)。给 agent-shell 点星标(https://github.com/xenodium/agent-shell/)不花一分钱,还能为我省些钱。我们才走了五分之一的路 ;) 所以如果你不介意点几下,这个项目真的很需要再来一个 GitHub 星标(https://github.com/xenodium/agent-shell/)。 说到 GitHub 星标,`agent-shell` 现在是我最受欢迎的 Emacs 软件包,最近超过了 chatgpt-shell(https://github.com/xenodium/chatgpt-shell/)。 星标历史图表(https://www.star-history.com/#xenodium/agent-shell&xenodium/chatgpt-shell&Date) ## 新的 Markdown 渲染器 agent-shell 现在搭载了一个全新的、性能更优的内联 Markdown 渲染器。这是近期最大的内部改动(https://github.com/xenodium/agent-shell/pull/597)。默认通过 `agent-shell-markdown-render-function` 启用(不再使用 shell-maker 中基于 overlay 的渲染器)。 ### 访问/导航表格内容 表格内容现在可访问。光标可以定位到任何单元格,这在之前的 overlay 实现中是不可能的。此外,表格现在也可以导航:`TAB` 和 `S-TAB` 在单元格之间移动。 ### 改进的源代码块支持(默认启用) 源代码块语法高亮现已默认开启。每个片段的复制按钮现在也可以通过键盘访问(之前由于 overlay 实现只能通过鼠标点击)。 ### 新增块引用支持 块引用现在在 shell 和视口中都能渲染。更重要的是,你可以在视口页面(或 shell 本身)中选择文本,按 `r`(回复),所选内容就会成为新提示中的块引用。 视口 Shell ## 会话恢复 会话恢复得到了有意义的改进(#605(https://github.com/xenodium/agent-shell/pull/605),由 @nhojb(https://github.com/nhojb)贡献),现在通过 `agent-shell-session-restore-verbosity` 暴露,有四个级别: - `minimal`(默认):仅显示标题,恢复快速且安静(需要 `session/resume` 支持)。 - `last`:渲染最后一次提示轮次(需要 `session/load` 支持)。 - `first-last`:渲染第一个和最后一个提示轮次(需要 `session/load` 支持)。 - `full`:重放整个对话(需要 `session/load` 支持)。 功能可用性取决于具体智能体,需要支持 `session/resume` 或 `session/load` 请求。`agent-shell` 会根据需要降级,最终回退到创建新会话。 请注意,除 `minimal` 之外的详细级别相当新,所以如果遇到 bug 或粗糙边缘,请报告问题(https://github.com/xenodium/agent-shell/issues)。 与此相关,`agent-shell-session-strategy` 现在默认为 `'prompt`,并且 `'new-deferred` 已被弃用。 ## 会话分叉 现在你可以分叉当前会话,创建一个共享到目前为止对话历史的新 shell,并从此处开始分叉。通过 `M-x agent-shell-fork` 调用。 ## 重启/重新加载会话 现在你可以通过 `M-x agent-shell-restart` 重新启动当前 shell(丢弃历史记录),或通过 `agent-shell-reload` 重新加载(保留历史记录)。 ## 下载/临时 Shell 新的 `agent-shell-new-downloads-shell` 和 `agent-shell-new-temp-shell` 命令可以创建锚定在 `~/Downloads` 或临时目录的智能体。两者也可以通过 `C-u M-x agent-shell` 访问。 ## TRAMP 支持 acp.el #20(https://github.com/xenodium/acp.el/pull/20)由 @martenlienen(https://github.com/martenlienen)贡献,实现了对基于 TRAMP 的 ACP 连接的支持,现在可以从 `agent-shell` 驱动远程智能体。配合 agent-shell-tramp(https://github.com/junyi-hou/agent-shell-tramp)使用,提供面向用户的集成。 ## 视口改进 视口交互(`(setq agent-shell-prefer-viewport-interaction t)`)仍然是我与智能体交互的主要方式。它专注于最新交互(只显示最新交互),快速(单键绑定:`y` = 是,`c` = 继续,`m` = 更多...),并提供更丰富的编辑体验(专用的提示编写缓冲区)。 视口只是 shell 内容的视图。你可以鱼与熊掌兼得,如果需要,可以跳转到相关的 shell 缓冲区。 ### 队列化 在视口中,你可以按 `r` 回复智能体最新的响应。过去你只能回复空闲的智能体。现在你还可以在智能体忙碌时按 `r` 回复,提交时会自动将请求加入队列。 ### 列表编辑模式 新的(基础)`agent-shell-list-edit-mode` 让你可以在视口中编辑列表样式的内容。 ## 改进的缓冲区选择 某些命令会提示你选择一个活跃的 shell 缓冲区(例如 `M-x agent-shell-send-region-to`)。现在选择器会显示每个缓冲区的额外上下文来帮助你选择。 同样的机制现在也用于新的 `M-x agent-shell-switch-buffer` 命令。更多底层 API 信息后续说明。 ## 改进的折叠 折叠变得更加智能(#608(https://github.com/xenodium/agent-shell/pull/608),由 @codeluggage(https://github.com/codeluggage)贡献): - `M-x agent-shell-ui-toggle-fragment` 切换光标处或附近的片段(智能操作)。 - `M-x agent-shell-ui-toggle-all-fragments` 全局循环切换全部展开/全部折叠。 两者一起取代了之前的 `agent-shell-ui-toggle-fragment-at-point`,后者现已成为内部基本函数。 ## `c` 加入视口回复大家庭 现在你可以在视口中按 `c` 快速发送“继续”请求,加入了其他单键回复快捷键的行列: - `c`:回复“继续”(新增) - `y`:回复“是” - `m`:回复“更多” - `a`:回复“再次” - `1`...`9`:回复对应的编号选项 - `r`:打开回复编写缓冲区 - `R`:与 `r` 相同,但引用智能体响应 ## 更紧凑的状态渲染 工具调用状态现在默认渲染为紧凑的图标型标签(`agent-shell--inverse-icon-status-kind-label`)。`agent-shell-styles.el` 提供多种备选,可通过 `agent-shell-status-kind-label-function` 选择。 要恢复之前的基于文字的标签: ``` (setq agent-shell-status-kind-label-function #'agent-shell--inverse-label-status-kind-label) ``` ## Codex 默认设置 现在可以通过 `agent-shell-openai-default-model-id` 和 `agent-shell-openai-default-session-mode-id` 为 Codex 设置默认模型和会话模式(#405(https://github.com/xenodium/agent-shell/pull/405),由 @robjgray(https://github.com/robjgray)贡献)。两者必须与 Codex 的“可用模型”/“可用模式”列表中的 ID 匹配。 ## Emacs 31 修复 头部在 Emacs 31 上存在一些渲染问题。现已修复(#588(https://github.com/xenodium/agent-shell/pull/588)和 #590(https://github.com/xenodium/agent-shell/pull/590),由 @nhojb(https://github.com/nhojb)贡献;#463(https://github.com/xenodium/agent-shell/pull/463),由 @ftlio(https://github.com/ftlio)贡献)。来自已弃用的 `when-let` 使用警告也已清除。 ## Wayland 剪贴板支持 `wl-paste` 现在是在 Wayland 上粘贴图像的受支持剪贴板处理器(#461(https://github.com/xenodium/agent-shell/pull/461),由 @martenlienen(https://github.com/martenlienen)贡献)。 ## Windows 剪贴板支持 类似地,现在在 Windows 上通过 PowerShell 粘贴剪贴板图像也可以工作(#572(https://github.com/xenodium/agent-shell/pull/572),由 @repelliuss(https://github.com/repelliuss)贡献)。 图形头部各处进行了微调。例如,思考级别现在显示在头部。可以通过 `M-x agent-shell-viewport-set-session-thought-level` 以及菜单更改(#601(https://github.com/xenodium/agent-shell/pull/601),由 @martenlienen(https://github.com/martenlienen)贡献)。 ## 会话配置选项 agent-shell 现在支持 ACP 会话配置选项(#553(https://github.com/xenodium/agent-shell/pull/553),由 @greggroth(https://github.com/greggroth)贡献;#613(https://github.com/xenodium/agent-shell/pull/613),由 @catern(https://github.com/catern)贡献)。绑定 `C-c C-s`(或调用 `agent-shell-set-session-config-option`)从智能体公布的选项中选择。以 `config-option-update` 广播,并可通过 `agent-shell-subscribe-to` 从外部访问。 ## 中断确认 现在可以通过取消设置 `agent-shell-confirm-interrupt` 来跳过中断确认(#424(https://github.com/xenodium/agent-shell/pull/424),由 @emil-e(https://github.com/emil-e)贡献)。 ## 公共函数 ### 按 ID 恢复会话 现在可以通过 `M-x agent-shell-resume-session` 按 ID 恢复现有会话(#332(https://github.com/xenodium/agent-shell/pull/332))。主要用于外部集成。 ### 传出请求装饰器 现在可以使用 `agent-shell-outgoing-request-decorator` 来标记或转换传出请求。 ### 订阅空闲事件 `agent-shell-subscribe-to` 现在广播 `idle` 事件(#509(https://github.com/xenodium/agent-shell/pull/509),由 @arthurgleckler(https://github.com/arthurgleckler)贡献)。 ### 获取 Shell 缓冲区 `agent-shell-shell-buffer` 返回当前上下文中的底层 shell 缓冲区。 ### 最后一个交互与点处交互 `agent-shell-goto-last-interaction` 跳转到最新的提示/响应对,而 `agent-shell-interaction-at-point` 将点处的交互作为数据返回。 ### Shell 状态 `agent-shell-status` 返回任何 shell 缓冲区的 `'busy`、`'blocked` 或 `'ready` 状态。 ### 会话标题 智能体提供的会话标题现在通过 `session-title-changed` 事件暴露(通过 `agent-shell-subscribe-to` 传递)(#559(https://github.com/xenodium/agent-shell/pull/559),由 @smagnuso(https://github.com/smagnuso)贡献)。可用于缓冲区名称、书签或最近列表。 ## 新的第三方包 `agent-shell` 系列的第三方包持续增长。最近的添加: - agent-shell-knockknock(https://github.com/xenodium/agent-shell-knockknock):通过 knockknock.el(https://github.com/konrad1977/knockknock)为 `agent-shell` 提供通知。 - agent-shell-notifications(https://github.com/zackattackz/agent-shell-notifications):`agent-shell` 事件的桌面通知。 - agent-shell-hud(https://github.com/nohzafk/agent-shell-hud):通过浮动仪表盘实时显示 `agent-shell` 状态覆盖层。 - agent-shell-pet(https://github.com/lgmoneda/agent-shell-pet):类似 Codex 的宠物,广播 agent-shell 会话状态。 - agent-shell-tramp(https://github.com/junyi-hou/agent-shell-tramp):`agent-shell` 的 TRAMP 集成。 - agent-circus(https://github.com/Embedded-Focus/agent-circus):在沙盒 Docker 容器中运行 AI 编码智能体。 ## 拉取请求 感谢所有贡献者这些改进! - #308(https://github.com/xenodium/agent-shell/pull/308):修复计时器和忙碌指示器中心跳 nil 值崩溃(@ElleNajt(https://github.com/ElleNajt)) - #340(https://github.com/xenodium/agent-shell/pull/340):添加关于 OAuth Anthropic 身份验证的文档(@chemtov(https://github.com/chemtov)) - #397(https://github.com/xenodium/agent-shell/pull/397):添加详细的上下文使用指示器模式(@emil-e(https://github.com/emil-e)) - #398(https://github.com/xenodium/agent-shell/pull/398):将 outgoing-request-decorator 暴露为 defcustom(@emil-e(https://github.com/emil-e)) - #405(https://github.com/xenodium/agent-shell/pull/405):Codex 的会话模式和模型默认值(@robjgray(https://github.com/robjgray)) - #408(https://github.com/xenodium/agent-shell/pull/408):使用 diff-command 进行差异比较(@timfel(https://git

相似文章

@AlphaSignalAI: https://x.com/AlphaSignalAI/status/2052836621905510541

X AI KOLs Timeline

# Hermes Agent v0.13.0("韧性版本")发布:持久看板、目标持久化与检查点回滚 Hermes Agent v0.13.0 正式发布,代号"The Tenacity Release"(韧性版本),本次更新带来了持久化看板(Durable Kanban)、持久目标(Persistent Goals)、Checkpoints v2(含回滚功能)以及 8 项 P0 级安全修复,将自身定位为与 Claude Code、Codex 等编码智能体并肩的**运行时持久层**。此次发布恰逢 DeepSeek V4-Pro、MiMo-V2.5-Pro 等支持百万级上下文窗口的低成本模型相继推出,使长期运行的智能体软件变得更具可行性。 ## 核心新特性 ### 持久看板(Durable Kanban) 任务状态不再随会话结束而丢失。看板数据现可跨会话持久保存,智能体可在中断后无缝恢复工作流,无需从头重建任务上下文。 ### 持久目标(Persistent Goals) 智能体的长期目标现在可以跨越多个会话持续存在。这意味着用户无需在每次启动时重新向智能体说明意图,系统能够自主维护目标状态并持续推进执行。 ### Checkpoints v2(含回滚) 升级后的检查点系统引入了**回滚能力**,允许将智能体状态恢复至任意历史检查点。这对于长时间运行的任务尤为关键——一旦某个执行分支出现错误,可直接回退而无需从零重启。 ### 8 项 P0 级安全修复 本次版本针对最高优先级安全漏洞进行了全面修复,共解决 8 个 P0 级问题,进一步强化了生产环境下的部署安全性。 ## 定位:运行时持久层 Hermes Agent 将自身明确定位为**运行时持久层**,与 Claude Code、Codex 等以代码生成为核心的编码智能体形成互补,而非竞争。其核心价值在于为智能体提供可靠的状态管理与执行连续性,解决长期任务中"断点续跑"这一关键工程问题。 ## 时机:百万上下文模型降低门槛 此次发布的时机颇具战略意义。随着 DeepSeek V4-Pro 和 MiMo-V2.5-Pro 等支持百万 token 上下文窗口的模型以极低成本落地,长时间运行的智能体任务从理论走向实践的障碍正在迅速消除。上下文容量的扩展与持久化基础设施的成熟,共同构成了**长期智能体软件**规模化应用的两大前提条件,而 Hermes Agent v0.13.0 正是在这一窗口期及时补上了基础设施侧的关键拼图。

Build Hour: Agents SDK

YouTube AI Channels

OpenAI 发布了 Agents SDK 的重大更新,引入 Codex 风格的运行框架、沙箱与运行框架分离、记忆、技能等功能,并推出托管 Shell 工具、容器端点、技能 API 及 TypeScript 版本,旨在简化生产级智能体的构建与部署。