跳到主内容
AIHO 2026 全新改版上线

Google Jules Tools 发布:异步 Coding Agent 正式进入命令行工作流

2026-06-25 · Google Developers Blog

要点

  • Jules Tools 是 @google/jules CLI:可在终端创建、查看、拉取 Jules 远程任务
  • Jules 运行在 Cloud VM:clone 仓库、改代码、跑测试、返回 diff / PR
  • 支持脚本化委派:TODO 文件、GitHub issue、Gemini CLI 输出都可以 pipe 给 Jules
  • 异步 Agent 进入混合工作流:本地手写 + 云端委派并行推进

它解决什么问题

Jules 原本更像 Web UI 里的「把任务交给云端 Agent」。Jules Tools 把这件事搬进终端,让它能进入开发者日常流水线:

npm install -g @google/jules
jules login
jules remote new --repo . --session "write unit tests for auth module"
jules remote list --session
jules remote pull --session 123456

对重度终端用户来说,这比打开网页、选 repo、复制 prompt 更自然;对团队来说,则意味着可以把 async coding agent 接入脚本和 issue triage。

典型组合方式

Google 官方博客给出的方向很明确:Jules Tools 不是孤立 CLI,而是可以和 GitHub CLI、jq、Gemini CLI 串起来。

# 把 TODO.md 每行派给 Jules
cat TODO.md | while IFS= read -r line; do
  jules remote new --repo . --session "$line"
done

# 把一个 GitHub issue 标题派给 Jules
gh issue list --assignee @me --limit 1 --json title \
  | jq -r '.[0].title' \
  | jules remote new --repo .

# 先让 Gemini CLI 找出最琐碎 issue,再交给 Jules
gemini -p "find the most tedious issue, print it verbatim\n$(gh issue list --assignee @me)" \
  | jules remote new --repo .

这个模式很像「本地 Agent 负责分析和分拣,云端 Agent 负责执行」。

为什么重要

2026 年 Coding Agent 正在分化成两类:

  1. 实时结对型:Claude Code、Codex CLI、Cursor、Gemini CLI
  2. 异步委派型:Jules、Devin、Copilot Coding Agent

Jules Tools 的价值是把第二类工具接回命令行,让 async agent 可以被脚本、cron、issue bot、GitHub Actions 等传统自动化系统调用。

适合哪些任务

  • 依赖升级
  • 补单元测试
  • 简单 bug fix
  • 文档更新
  • 机械迁移
  • 多个低风险 issue 并发处理

不建议一开始就交给 Jules 的任务:架构大改、需求不明确的新功能、需要生产 secret 的任务、紧急线上事故。

AIHO 建议

如果你已经在用 Jules:尽快试 Jules Tools,因为 CLI 能显著降低任务创建和查看成本。

如果你还没用过 Jules:从 3 个低风险 issue 开始,不要一口气把 backlog 全派出去。每个 issue 必须写清 Goal / Scope / Verification,并要求 Agent 跑测试。

最佳实践:

Gemini CLI 分拣 issue → Jules 并发处理低风险任务 → Copilot / CodeRabbit / 人工 review PR

来源