---
catalog_id: "R-045"
kind: "repo"
domain: "agent"
domain_label: "Agent 编排 / Agent Systems"
date: "2026-11-27"
title: "google-gemini/gemini-api-cli"
verdict: "封装无状态 Shell 契约，但安装缺哈希校验且开关空置"
summary: "Google 官方 Go 单二进制 `gemini-api`：把 Gemini Interactions API（模型 / 媒体生成 / Deep Research 等托管 Agent）包装成面向编码 Agent 的无状态 Shell 工具契约——所有意图命令只是 `CreateInteraction` 上的预设 Body，由 Speakeasy 生成器以命令注解（artifact / outcome / continuation / async）驱动“媒体落盘只回路径、后台运行只回 interaction ID、退出码 0/1/2/3、--dry-run 零网络零钥匙串、--schema/--usage 自描述”；但一键安装脚本只下载不校验 checksums.txt，且 README 宣称的 GEMINI_CLI_AGENT_MODE 环境变量在源码中未见实现。"
summary_en: "Go CLI wrapping Gemini Interactions API into a stateless agent contract (--dry-run, --schema), though its installer skips checksum verification."
canonical_url: "https://oumuatown.com/repos/google-gemini__gemini-api-cli/"
markdown_url: "https://oumuatown.com/repos/google-gemini__gemini-api-cli.md"
og_image_zh: "https://oumuatown.com/og/zh/R-045.png"
og_image_en: "https://oumuatown.com/og/en/R-045.png"
cite_count: 104
repo: "google-gemini/gemini-api-cli"
github_url: "https://github.com/google-gemini/gemini-api-cli"
commit: "3dcbb6e"
tags:
  - "agent-tooling"
  - "stateless-cli"
  - "agent-tool-contract"
  - "interactions-api"
  - "managed-agents"
  - "speakeasy-codegen"
  - "supply-chain"
github_repos:
  - "https://github.com/google-gemini/gemini-api-cli/tree/3dcbb6e"
---

# R-045 · google-gemini/gemini-api-cli

> **结论 / Verdict**: 封装无状态 Shell 契约，但安装缺哈希校验且开关空置
> **EN Summary**: Go CLI wrapping Gemini Interactions API into a stateless agent contract (--dry-run, --schema), though its installer skips checksum verification.

## Provenance & Evidence

- Primary Repository: https://github.com/google-gemini/gemini-api-cli (@3dcbb6e)
- Verified Source Citations (#Lxx): 104
- Web Reader: https://oumuatown.com/repos/google-gemini__gemini-api-cli/

# google-gemini/gemini-api-cli

> 仓库地址：https://github.com/google-gemini/gemini-api-cli · 审计版本：`google-gemini/gemini-api-cli@3dcbb6e`（HEAD 提交时间 2026-11-26） · 审计日期：2026-11-27
> 来源文章：[关联文章](../articles/2026-11-27-0xmovez-gemini-neon-agent-swarm-harness.md)

## 定位与解决的真问题

- **核心定位与目标用户**：给 Codex / Claude Code / Antigravity / OpenClaw / Hermes 等“已有 Shell 权限的宿主 Agent”提供 Gemini 能力的**无状态命令行工具**——宿主 Agent 负责规划，`gemini-api` 只负责一次调用：生成文本、生成/编辑图像·音乐·视频·TTS、分析 PDF/音视频/YouTube、或后台拉起托管 Agent（如 `deep-research-preview-04-2026`、`antigravity-preview-*`）并返回 interaction ID（`README.md#L6-L16`、`internal/cli/agent/intent_agent-run.go#L57`）。
- **相比常规做法解决的关键痛点**：
  1. **工具契约而非 SDK**：Agent 不需要写代码集成 SDK，只需捕获 stdout——媒体命令 stdout 只有一行绝对路径，`--output-format json` 时是 `{path, kind, mime_type, size_bytes, response_id, status}` 信封（`internal/output/artifact.go#L198-L228`）；后台运行返回 ID 供后续 `agent status` 轮询（`intent_agent-run.go#L68`, `#L345-L347`）。
  2. **自描述 + 离线预检**：`--usage` 输出 KDL 命令树、`--schema` 输出请求体 JSON Schema、`--dry-run` 打印脱敏后的 HTTP 请求且**不联网、不读钥匙串**（`internal/cli/root.go#L175-L176`、`internal/config/config.go#L365-L380`），让 Agent 在花钱前自检参数。
  3. **CLI 侧不保存会话状态**：多轮靠服务端 `previous_interaction_id` / `store`，CLI 只透传 ID（`README.md#L313-L327`、`intent_agent-run.go#L97-L114`）。

## 技术栈与核心目录结构

- **语言 / 运行时 / 关键依赖**：Go（`go.mod#L1-L17`：`spf13/cobra` 命令树、`zalando/go-keyring` 系统钥匙串、`itchyny/gojq` 内置 jq、`alpkeskin/gotoon` TOON 输出、`charm.land/bubbletea` TUI explorer、`gorilla/websocket` 自托管环境通道）。**约 417 个 Go 文件头部标注 `Code generated by Speakeasy … DO NOT EDIT`**（含 `cmd/gemini-api/main.go#L15`、`internal/cli/root.go`、`internal/config/keyring.go#L15`），即 CLI 主体由 OpenAPI → Speakeasy CLI 生成器产出，手写部分集中在 `internal/cli/custom/`；仓库**不接受外部 PR**（`README.md#L20`, `#L337`）。
- **关键目录树与职责划分**（Go 合计约 12.9 万行，含生成 SDK）：
  - `cmd/gemini-api/main.go`：入口，`cli.Execute` 后经 `config.ScrubSecrets` 脱敏错误并按 `clierrors.ExitCode` 退出（`#L35-L50`）。
  - `internal/cli/`：根命令与全局 flag（`root.go`）、意图命令分组（`intents.go`）、`configure.go` / `auth.go` / `whoami.go`；子包 `agent/`（`run`/`status`/`cancel` 与 `intent_{generate,image,music,video,agent-run}.go`）、`files/`、`models/`、`voices/`、`webhooks/`、`triggers/`、`credentials/`、`environments/`。
  - `internal/cli/custom/`：手写命令——`analyze.go`、`transcribe.go`、`tts.go`、`media.go`、`files_upload.go`、`install_skill.go`（内嵌 `skill/SKILL.md`，144 行）、`environments_runtime.go` 与 `envruntime/`（自托管沙箱运行时）。
  - `internal/flagutil/`：flag ↔ 请求体映射、`--body` 合并、路由分派表（`dispatch.go`、`preset.go`、`metadata.go`）。
  - `internal/output/`：渲染层——`artifact.go`（媒体落盘）、`async.go`（轮询）、`continuation.go`（自动续写合并）、`outcome.go`（终态判定）、`streaming.go`、`jq.go`、`agentmode.go`、`exitcodes.go`。
  - `internal/config/`：`config.go`（凭据解析链 + 秘密登记脱敏）、`keyring.go`（带超时的钥匙串）。
  - `internal/client/`：SDK 客户端装配、重试、同源重定向守卫、`diagnostics.go`（dry-run/debug 预览与脱敏）。
  - `internal/sdk/`：Speakeasy 生成的 Go SDK（含默认重试策略）。
  - `scripts/install.sh` / `install.ps1`、`.goreleaser.yaml`、`.github/workflows/{ci,release}.yaml`、`tests/contract/`（CLI 契约测试，如 `async_contract_test.go`、`error_taxonomy_test.go`、`readme_examples_test.go`）、`evals/harness-comparison/`（跨宿主 Agent 的对比评测脚手架）。

## 核心实现源码级剖析（附文件路径与行号）

1. **命令树装配：生成的资源命令 + 声明式“意图命令”**（`internal/cli/root.go#L50-L250`、`internal/cli/intents.go#L33-L119`）：`NewRootCommand` 先挂载生成的资源组（agent / credentials / environments / files / models / triggers / voices / webhooks + configure / whoami / version / auth / explore / catalogs，`root.go#L109-L148`），再由 `initIntentCmds` 把 `generate`、`image`、`music`、`video` 注入根、把 `run` 注入 `agent` 下，并分到 Create / Understand / Manage / Advanced 四组；`analyze` / `transcribe` / `tts` 若没有手写实现会注册一个返回错误的占位命令（`intents.go#L69-L83`, `#L146-L166`），随后 `custom.Register(rootCmd)` 覆盖为真实实现（`root.go#L238`）。`applyCommandOrderEntries` 特意保证“先声明者占名”，防止 cobra 内建 help/completion 吞掉同名命令（`intents.go#L214-L267`）。`PersistentPreRunE` 统一校验 `--output-format` / `--color` / `--jq`、初始化配置与钥匙串开关、agent-mode 及 stdin 读超时（`root.go#L75-L106`）。

2. **所有意图 = `CreateInteraction` 上的预设 Body（单端点多意图）**（`internal/cli/agent/intent_image.go#L32-L283`、`intent_agent-run.go#L30-L351`、`run.go#L110-L194`）：`image` 的注解声明 `speakeasy_operation: CreateInteraction`，预设 `{"model":"gemini-nano-banana-2.1","response_format":{"type":"image"},"stream":false}`（`intent_image.go#L132-L141`）；无 `--body` 时由 prompt + `--aspect-ratio`/`--image-size`/`--model`/`--output-mime-type` 写入 body 路径后 `cmd.Flags.Set("body", …)`（`#L217-L254`）；有 `--body`（或 stdin）时用 `MergeInputIntoBody` / `MergeNestedInput` 合并且**重复键报错**（`#L177-L213`），再 `MergePresetBody` 叠加预设（`#L255-L274`），最后统一走 `runRunCmd`（`#L282`）。`agent run` 用 `DispatchTable` 在 `agent`（托管 Agent）与 `model`（默认）两条路由间互斥选择，`Keys` 白名单列出 body 允许的顶层字段（`intent_agent-run.go#L145-L330`）；`--background` 通过 `ApplyImpliedBody` 隐式写入 `{"stream":false}`，因此后台调用直接返回单个 interaction 对象而非 SSE（`#L345-L347`）。`executeRunCmd` 统一分三路：续写模式（`ContinuationStream` / `ContinuationResult`）、普通流式（`StreamResult`）、dry-run/原始 JSON（`WithSkipDeserialization`）（`run.go#L143-L194`）。

3. **注解驱动的运行时语义（生成器把 API 行为编码进 JSON 注解）**：每个意图命令携带 `speakeasy_outcome`（状态指针 `/status` 与状态→`success/failure/pending/handoff/continue` 映射）、`speakeasy_continuation`（`continuation_token` / `previous_interaction_id` 绑定、`steps` 合并、usage 求和、`maxHops: 10`）、`speakeasy_stream_select: /data/delta/text`、`speakeasy_artifact`（媒体在响应中的 JSON 指针与默认文件名）、`speakeasy_async`（轮询参数）（`intent_agent-run.go#L38-L48`、`intent_image.go#L40-L50`、`intent_video.go#L50`）。`outcome.go#L89-L107` 在终态为 `failure`（如 `failed`/`cancelled`）时产出 `outcomeError` 使进程非零退出；`--auto-continue`（默认开）/`--max-continuations 10` 自动跟随 `requires_continuation` 并合并多跳响应（`intent_agent-run.go#L134-L135`、`internal/output/continuation.go#L567-L654`）。视频 `--async` 返回 ID 并可 `gemini-api video --resume <id>` 恢复，默认 5s 起步、×1.5 退避、最大 30s 间隔、15 分钟超时（`intent_video.go#L38`, `#L50`, `#L115`、`internal/output/async.go#L156-L266`）。

4. **媒体落盘与“只回路径”契约**（`internal/output/artifact.go#L123-L229`, `#L484-L622`）：`findArtifactItem` 沿注解指针（如 `steps[*].content[*]`）倒序找**最后一个**类型匹配的块（`#L433-L449`）；内联 base64 依次尝试 4 种编码解码，空载荷拒写（`#L153-L161`, `#L467-L482`）；若是 URI 则下载（见第 6 点）。`writeArtifact`：`--out` 为目录（或以 `/` 结尾）时按 `gemini-image-{timestamp}-{rand}.{ext}` 命名并用 `O_CREATE|O_EXCL` 最多 1000 次防撞名（`#L551-L592`）；指定文件名时以同目录临时文件 + `Chmod(0o644)` 走描述符 + `os.Rename` **原子替换**（`#L594-L622`）；扩展名由返回 MIME 决定，用户扩展名不符时追加正确扩展或标记 `extension_mismatch`（`#L535-L549`, `#L624-L644`）。写完 `os.Stat` 复核非空，再输出绝对路径/信封；人类提示 `Wrote … to …` 走 stderr，stdout 保持纯净（`#L186-L228`）。`--raw-response` 与 `--out` 互斥（`intent_image.go#L150-L152`）。

5. **凭据：flag > env > 钥匙串 > 配置文件，且只发一种**（`internal/client/client.go#L212-L249`、`internal/config/config.go#L303-L463`、`internal/config/keyring.go#L31-L215`）：`BuildGlobalSecurity` 先只看 flag/env（`ResolveExplicitSecurityCredential`），有完整显式凭据就**完全不碰钥匙串**，否则才走 `ResolveRequestSecurityCredential`（dry-run 时跳过钥匙串，`config.go#L365-L380`）；`PickCredential` 按来源排名在 `x-goog-api-key` 与 OAuth Bearer 间择一（`config.go#L382-L450`）。每个解析出的秘密经 `RegisterSecret` 连同 JSON 转义 / URL 编码形态登记（≥6 字符），`ScrubSecrets` / `ScrubSecretValues` 在错误输出与 JSON 中替换为 `[REDACTED]`，甚至按数值比较数字形态（`config.go#L204-L301`）。钥匙串每次调用 **2 秒超时**，超时后本进程内禁用并提示 `--no-keyring` / `GEMINI_NO_KEYRING`（`keyring.go#L31-L33`, `#L83-L100`）；`StoreSecret` 在钥匙串不可用时**回落写入配置文件**（`keyring.go#L163-L174`），配置文件位于 `~/.config/gemini-api/config.yaml`，目录 `0700`、文件 `0600`（`config.go#L465-L503`）。

6. **网络边界、重试与错误分类**：SDK HTTP 客户端装配 `SameOriginRedirect`——拒绝跨源或改变方法的重定向（防止 API Key 头被转发、POST 被降级为 GET），并由 `redirectGuardClient` 剥离 Location 中的 query/userinfo 防止签名 URL 泄露（`internal/client/client.go#L77`, `#L115-L160`）。媒体 URI 下载仅允许 https（http 只限回环），**远端 API 不能把下载指向本机回环地址**（SSRF 防护），仅同源时才携带原请求头、跨源重定向清空头，并校验 Content-Type 顶级类型匹配（挡住过期签名 URL 返回的 HTML 登录页）、限制 1 GiB（`internal/output/artifact.go#L235-L391`）。重试：生成 SDK 默认 `attempt-count-backoff`（500ms 起、×2、上限 8s、总 30s、最多 4 次、重试连接错误），对 `408/429/5XX` 生效（`internal/sdk/agent.go#L150-L177`）；CLI 隐藏 flag `--no-retries` / `--retry-max-elapsed-time` / `--retry-connection-errors` / `--retry-config` 可整体替换（`root.go#L182-L190`、`client.go#L279-L344`）。退出码契约 `0 ok · 1 runtime · 2 usage · 3 auth`，由 `authentication_error`/`authorization_error` → 3、`validation_error` → 2 映射（`internal/clierrors/clierrors.go#L22-L97`）；`--agent-mode`、`-o json`/`toon` 或 `--jq` 时错误以结构化信封渲染（`internal/output/agentmode.go#L52-L57`）。

7. **流式 vs 离散 JSON 与 `--jq`**（`internal/cli/agent/run.go#L95-L124`、`internal/output/output.go#L173-L183`、`internal/output/jq.go#L29-L65`）：`agent run` / `generate` 默认 `--stream=true`，按 `/data/delta/text` 原样写出增量文本；`-o json` 保留每个完整 SSE 事件。`JQSelectsCompleteResponse` 规定：用户给了 `--jq` 且未显式设 `--stream`、未显式设输出格式时，自动把 body 的 `stream` 置为 `false`，使 jq 作用于完整响应（这就是 README 中 `--stream=false --jq '.id'` 惯用法的实现依据）；`--raw-output` 默认 true（jq 字符串结果以裸文本输出，等价 `jq -r`）。`agent status` 的 `--stream` 默认 false，返回状态对象，可用 `--last-event-id` 断点续流（`internal/cli/agent/status.go#L34-L51`）。

8. **`install-skill` 与 README 的 AGENTS.md 片段**（`internal/cli/custom/install_skill.go#L31-L263`、`README.md#L88-L113`）：技能文件内嵌于二进制（离线、与版本一致），支持 10 个宿主：antigravity（项目 `.agents/skills`，全局 `.gemini/config/skills`）、gemini-cli、claude-code（`.claude/skills`）、codex、cursor、github-copilot、opencode、windsurf、amp、kiro-cli；共享目录的宿主合并为一个 `SKILL.md`（`#L42-L54`, `#L221-L239`）。有 flag 或非 TTY 时**绝不提问**，`--dry-run` 只报告 `would install/update`，stdout 仅打印写入路径（`#L92-L154`）；内容相同则 `unchanged` 不重写（`#L242-L263`）。不支持技能的宿主则粘贴 README 的四条指令：先 `--help`/`--usage`/`--schema`，再 `--dry-run`，离散输出用 `--stream=false --output-format json`，并捕获返回的文件路径与 interaction ID（`README.md#L106-L113`）。

9. **自托管环境运行时（托管 Agent 远程执行本机命令的通道）**（`internal/cli/custom/environments_runtime.go#L152`, `#L245`, `#L371`、`internal/cli/custom/envruntime/shell.go#L92-L262`、`envruntime/sandbox_fs.go#L182-L255`）：`environments connect|poll|serve` 让本机成为托管 Agent 的执行环境。`SandboxShell.ExecuteBash` 以进程组运行 shell、超时上下文 + `WaitDelay 5s`、stdout/stderr 用 `CappedBuffer` 截断；环境变量默认走**白名单**（仅 `PATH/HOME/USER/LANG/TMPDIR/LC_*` 及 Windows 基础变量，`#L105-L152`），另一策略 `EnvPolicyScrubCredentials` 为黑名单清洗（`#L92-L103`, `#L253-L257`）。`SandboxFS` 将文件工具限制在规范化后的根目录内并拒绝符号链接逃逸（`sandbox_fs.go#L55`, `#L198-L247`）——但这只约束文件工具，**shell 命令本身并非 OS 级沙箱**，仍以当前用户权限执行。

## 亮点设计 vs 局限/坑点

- **值得借鉴的设计**：
  - **stdout 即契约**：媒体命令只输出路径、诊断全部走 stderr、退出码四分类，使宿主 Agent 可以 `X=$(gemini-api image … )` 直接串联；结构化信封再补充 `response_id/status`。
  - **单端点 + 预设 Body + 严格键合并**：意图命令只是“预填好的请求体”，`--body` 永远是逃生舱且与 flag 冲突即报错，避免“flag 与 JSON 谁覆盖谁”的隐式语义。
  - **把 API 行为声明为注解**（outcome / continuation / artifact / async），渲染层通用解释执行——适合任何“长任务 + 续写 + 产物”的 API 工具化。
  - **dry-run 不读钥匙串、显式凭据优先绕开钥匙串、钥匙串 2 秒超时降级**：专门照顾无头 Agent 环境里钥匙串弹窗/挂死的问题。
  - **多层秘密防泄露**：秘密登记 + 多编码形态脱敏、同源重定向、下载 SSRF 回环防护、签名 URL 显示时去 query。
- **局限、隐含假设与潜在坑点**：
  - **安装脚本无完整性校验（供应链）**：`install.sh` 通过 `api.github.com/.../releases/latest` 解析 tag，下载 `gemini-api_<OS>_<arch>.tar.gz` 后直接解压 `mv` 到 `/usr/local/bin` 或 `~/.local/bin`，**不校验** goreleaser 生成的 `checksums.txt`（`scripts/install.sh#L75-L90`, `#L127-L199`、`.goreleaser.yaml#L53-L54`）；`install.ps1` 同样 `Invoke-WebRequest` → `Expand-Archive` 无哈希比对（`scripts/install.ps1#L37`, `#L71-L83`）。`.goreleaser.yaml` 未见签名 / SBOM / attestation 配置；发布工作流仅把 `goreleaser-action` 固定到 commit SHA（`.github/workflows/release.yaml#L35`）。README 推荐的 `curl | bash` / `iwr | iex` 执行的是 `main` 分支脚本。生产使用建议 `go install …@<tag>` 或手动校验 `checksums.txt`，CI 里固定版本（README 自己也建议 pin，`README.md#L334`）。
  - **文档与实现不一致**：README 称 `--agent-mode`（或 `GEMINI_CLI_AGENT_MODE=1`）开启结构化错误与 TOON（`README.md#L171`），但 `InitAgentMode` 只读取 flag（`internal/output/agentmode.go#L35-L42`），在 `internal/` 与 `cmd/` 非测试源码中未检索到 `GEMINI_CLI_AGENT_MODE`；依赖该环境变量的集成需实测。
  - **钥匙串不可用时秘密明文落盘**：`StoreSecret` 回落写入 `config.yaml`（虽为 `0600`），无头 Linux / `--no-keyring` 场景下 API Key 以明文存放。
  - **生成代码为主、不收 PR**：约 417 个文件是 Speakeasy 产物，行为随上游规格重生成而变；beta 期可能破坏性变更（`README.md#L334`）。
  - **默认模型名与托管 Agent 名硬编码在生成元数据中**（如 `gemini-4-hydrogen`、`gemini-nano-banana-2.1`、`deep-research-preview-04-2026`），宿主 Agent 的提示词若写死这些名字，需随 CLI 版本更新。
  - **自托管环境 = 远程代码执行面**：`environments serve` 让云端托管 Agent 在本机执行 shell；白名单环境变量能挡住凭据泄露，但无进程级隔离，应放在容器/VM 内运行。
  - **无状态的代价**：多轮编辑依赖服务端 `store` 与 `previous_interaction_id`；若 `"store": false`，续写绑定会被跳过（见 continuation 注解中的 `unlessRequest /store == false`）。

## 可复用的模块或设计模式

- **如何迁移到未来项目**：
  - 给自家 API/服务做“Agent 可调用 CLI”时照搬契约：**stdout 只放可机读结果（路径 / ID / JSON）、stderr 放人话、退出码 0/1/2/3、`--dry-run` 零副作用、`--schema` + `--usage` 自描述、`--jq` 内置**。
  - 长任务统一三件套：`--background`/`--async` 立即返回 ID → `status <id>` 轮询（带退避与超时）→ `--resume <id>` 恢复；并把终态映射（success/failure/pending/handoff）做成数据驱动配置。
  - 产物写入：目录模式 `O_EXCL` 防撞名、文件模式临时文件 + rename 原子替换、按返回 MIME 纠正扩展名、写后 stat 复核。
  - 凭据解析链“显式优先、钥匙串带超时、dry-run 不碰钥匙串”+ 秘密登记式脱敏，可直接复用于任何需要在 Agent 子进程里运行的 CLI。
  - 分发脚本应补上 `checksums.txt`（最好加 cosign/attestation）校验，以免重蹈本仓库安装脚本的缺口。
- **关联 Pattern**：（由 `synthesizer` 补全）

## Cross-Referenced Specimens

- [A-006 · Gemini 4 Neon 八步搭建 AI Agent 团队——Orchestrator 规划/执行配对、.agents/ 团队文件、异模型 Verifier 与 ADK 2.0 工作流](https://oumuatown.com/articles/2026-11-27-0xmovez-gemini-neon-agent-swarm-harness.md) — 提示词工程让位于编制：规划执行分席与异模型验收
- [P-018 · 可核验多智能体 Swarm 编制、异模型 Verifier 与选角成本纪律模式（Verified Agent-Swarm Harness & Model Casting）](https://oumuatown.com/patterns/verified-agent-swarm-harness-and-model-casting.md) — 三席选角、三段式委托与异模型全新上下文路径行号签收
- [P-023 · Google 5 层 Agent 工程栈、协议互操作与运行时选型模式（Google 5-Layer Agent Stack, Protocols & Runtimes）](https://oumuatown.com/patterns/google-agent-stack-protocols-and-runtimes.md) — 五层谷歌 Agent 栈选型矩阵与全栈源码避坑清单
- [P-026 · 跨厂商 LLM Council 盲审、沙盒化外部 CLI 评审与多模型升级梯模式（Cross-Vendor LLM Council & Sandboxed CLI Review）](https://oumuatown.com/patterns/cross-vendor-llm-council-and-sandboxed-cli-review.md) — 双池选角加沙盒 CLI，重构抗位置偏置的三厂商全盲评议
- [A-020 · 用 5 层 20 个 Google 系 Agent 开源仓库武装 Gemini 4 Neon `/swarm`——从裸跑编排到技能、运行时与工具栈（先装 3 个而非 20 个）](https://oumuatown.com/articles/2026-11-28-0xmovez-20-google-agent-repos.md) — 二十款谷歌 Agent 仓实测：先装三件套与五处源码勘误
- [A-029 · 0xCodila：Antigravity + Gemini 4 Neon 多模型 Agent 团队实战指南——7 阶升级梯、/swarm 校验、跨厂商协作与 10 组提示词剖析](https://oumuatown.com/articles/2026-11-29-0xcodila-antigravity-gemini4-neon-agent-teams.md) — 七阶 Agent 团队指南与五项硬核踩坑（含模型下线）
- [A-030 · Google Gemini DemoLab：面向 Gemini 4 的创意、前端设计与深度研究 Agent Skills 官方示例库拆解](https://oumuatown.com/articles/2026-11-29-google-gemini-demolab.md) — 极简双 Skill 库实测：零评测脚本且多语排版脆弱
