跪拜 Guibai
← All articles
Gemini · Google · Agent

Gemini 4 Neon + Antigravity: The Harness That Finally Makes Multi-Agent Coding Practical

By 沉默王二 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

For developers burned by context loss, quota exhaustion, and flaky agent handoffs, Antigravity's engineering layer directly fixes those pain points with a bulletin board, verifiers, and side conversations. That makes Gemini 4 Neon a viable option for production-scale tasks, not just demos.

Summary

Google's Gemini 4 Neon, when combined with the Antigravity (agy) harness, now delivers a credible alternative to incumbent AI coding tools. The pairing addresses two long-standing complaints: agent context loss on long runs and the need to babysit remote servers. The /swarm command introduces a coordinator, shared bulletin board, verifier, monitor, and narrator to manage multi-agent teams without losing earlier constraints or burning tokens on full message dumps. It also handles workspace isolation via git worktree-style copies, and swaps models when quota runs out.

Takeaways
— /swarm uses a coordinator, shared bulletin board, verifier, monitor, and narrator to run multi-agent coding tasks with full context recovery after compression.
— Members in /swarm reference each other by message sequence number instead of copying full reports, saving token quota.
— /swarm supports workspace isolation via `workspace:"share"` or `branch`, and agents can be swapped to a different model when quota runs out without losing context.
— Connect over SSH (agy v2.33.0+) runs all project files, Git worktrees, terminal processes, and agent calls on a remote 64-bit Linux host, with only the UI rendered locally.
— /run-workflow (v2.32.0) generates Python orchestration scripts with JSON Schema validation, stateful agents, parallel/pipeline executors, call_tool for read-only steps, trajectory() for reusing history, and workflow.json for saving scripts.
— /btw opens a read-only side conversation with a snapshot of main context, supports inserting results back, promoting to a new conversation, or closing without polluting the main context.
— /grill-me has the model inspect the codebase first, then asks the developer to settle ambiguous design decisions before planning, reducing rework.
— /generative_ui creates single-file HTML interactive components that run in a sandbox iframe with CSP restrictions, theme variables, and placement rules for embedding or full-screen display.
— The full workflow chains /plan /grill-me for requirements, /swarm or /run-workflow for execution, SSH for remote resources, /boost for hard bugs, /btw for side questions, /generative_ui for visual debugging, and /learn to persist preferences.
Conclusions

The article frames Gemini 4 Neon as a comeback after an analyst openly dismissed DeepMind, suggesting that Google's engineering focus shifted from raw model capability to harness-level orchestration, which is what actually changes the developer experience.

The /swarm bulletin board with sequence-number references is a notable divergence from typical agent chat patterns: it treats context as a durable, addressable log rather than a continuous prompt, which is a pragmatic answer to the context-compression problem.

The distinction between /run-workflow (deterministic, batch, JSON Schema-validated) and /swarm (exploratory, multi-role, iterative) provides a clear heuristic for when to use each, and implies that the harness is maturing toward predictable, production-grade execution rather than open-ended chat.

Concepts & terms
Shared bulletin board
In Antigravity's /swarm, a persistent message log where agents post their task pickups, change summaries, and test results in order. Agents reference each other by message sequence number to maintain context after compression.
Verifier
A dedicated agent in /swarm that reads changes, runs tests, and performs user-level acceptance without modifying code. It prevents two agents from editing the same file and catches problems before delivery.
Dynamic Workflows (/run-workflow)
A command that generates a Python orchestration script (supporting top-level await) to fix execution order, concurrency, and data format for batch or multi-stage tasks, with JSON Schema validation on agent results.
Side Question (/btw)
A feature that opens a read-only side conversation with a snapshot of the main context, allowing developers to ask questions without interrupting the main task or polluting its history.
From the discussion

A practical split emerges: /swarm belongs to open-ended, multi-role rework tasks, while /run-workflow handles fixed paths and checklist-driven validation. The unresolved details concern quota sharing across Neon and Carbon during cross-model review, plus permissioning and audit for production SSH inspection. Kimi Code's swarm and tower features surface as a competing alternative, though no specifics are provided.

— A pragmatic division: /swarm fits tasks with undefined boundaries and iterative role changes; /run-workflow fits deterministic, checklist-style batch verification.
— Operational gaps remain: how Neon and Carbon quotas are allocated when a swarm reviewer switches models for cross-checking, and how SSH access to a production backup machine is permissioned and logged.
— Kimi Code's swarm and tower present a comparable feature set, but the comparison lacks detail.
Featured comments
用户368345607470

/swarm is suited for tasks with undefined boundaries and multi-role rework; /run-workflow is suited for tasks with fixed paths and checklist-based batch validation. This division of labor is more useful than just talking about features. Two follow-up details: in swarm, when the reviewer switches to a different model for cross-checking, how are the quotas for Neon and Carbon split? For SSH connecting to a production backup machine for inspection, how are permissions and audit trails handled?

圆头耗子锄大地

Kimi Code's swarm and tower?

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗