On November 13, Google described two large rewrites of system software in Rust. Teams of agents worked on the Zircon microkernel and the libgav1 video decoder. For the former, Google reports about 800,000 new lines of code; for the latter, a surprising speedup after an initial performance drop. /teamwork is a way to manage multiple agents: it assigns their work and provides room for checking it along the way. But an essential part of this story lies between the assignment and the result: how do you stop an agent from making its job easier by changing a test or replacing a difficult dependency with an empty stand-in?
That is where large automated rewrites can come apart. A program may look finished because it compiles while no longer doing what the original did. Google describes a particular Antigravity /teamwork process for these jobs: agents receive separate tasks, a further module is tackled only after its dependencies compile, and end modules are checked against the original, unmodified test suite. That is a more concrete safeguard than simply asking agents to “rewrite the project in Rust.” Its effectiveness still depends on the quality of the tests themselves and on human review.
Dependencies determine the order of work
Think of a structure in which each part relies on several others. If an agent starts at the top, it might invent the missing lower layers. In software, one possible result is a “stub”: a function with the right name and interface that returns only a placeholder value. Compilation succeeds, but the program's meaning is lost. Google says its new rewrite pattern schedules modules by dependency and connects each end component to existing tests. That makes it harder to pass off an empty stand-in as a completed component.
The second safeguard concerns verification itself. If an agent can change both the program and the tests, it can simplify the task by removing an inconvenient expectation. Google therefore explicitly refers to the original, unmodified tests. In its broader description of /teamwork, it also mentions separate contexts for specialized agents and independent critics who assess a solution without seeing the author's earlier reasoning. The announcement does not show that every possible way around the rules has been technically prevented. We know the process the company describes; it has not published a complete record of these rewrites.
Zircon boots, but deployment remains an open question
The first target was the Zircon microkernel in Fuchsia. It is not the Linux kernel. Using the Gemini 4 Argon model, Google built on an earlier rewrite of roughly a quarter of Zircon and, according to its announcement, converted the remaining C++ portions in two weeks. The work added about 800,000 lines of safe Rust. That is the new code produced in this campaign, not the size of the complete finished system. Nor can two weeks by itself tell us how much developer time was saved: Google does not give a full account of human interventions, computing resources, or the total cost of the attempt.
Google reports two specific checks: the rewrite passes all kernel unit tests and boots on arm64 hardware. Unit tests check individual components against prepared expectations; a successful boot confirms that the system passed an important initial stage. Neither result alone tells us how the whole system will behave in prolonged use, on another architecture, or with all Fuchsia services. The company also does not say in this announcement that the Rust version has replaced production Zircon. In safe code, Rust enforces data-ownership rules that prevent some memory errors. But the label “safe Rust” does not prove the entire system is free of bugs; integration with other parts and behavior in operation matter too.
The decoder: slower first, then faster
The second rewrite concerns libgav1, a library for decoding AV1 video. Google says it produced around 170,000 lines of Rust. Across a broad suite of conformance tests, the rewrite reportedly produced bit-identical output to the original. That is a stronger requirement than simply saying “the video looks the same”: the resulting data must match exactly in the tested cases. It does not mean every possible video was tested.
According to the company, the first version was about four times slower than the original C++. Agents were then given profiling tools, which show where a program spends its time, and tasked with speeding up decoding on sample video clips. After revisions, Google reports performance 20 to 30% faster than the original C++ and hand-optimized assembly, on both x86_64 and ARM. This is a striking reversal, not a general promise for every clip and computer: the published account gives no exact test files, hardware, compiler settings, or commands with which to repeat the measurement.
The difference between correctness and speed is instructive here. Bit-identical output checks what the decoder produces; profiling shows how costly it was to get there. The agents could work on speed once they had something to compare against. But the performance figures come from Google. We did not run our own test for this article, and the announcement does not link to public source code for the port. The libgav1 link points to the original project. Likewise, the public account does not let us reproduce the two-week Zircon campaign step by step.
Google says Antigravity users already have access to the general /teamwork and /boost features. When checked on November 14, the product blog described Teamwork as /teamwork-preview for paid plans; the /boost documentation listed /boost for paid plans in the app and CLI and used the newer /teamwork command in its overview. The company was still preparing the pattern for rewriting large codebases. Its example offers a more sober lesson than a line count alone: in long-running work with agents, keep the original measure of success, build dependencies in a usable order, and separate the author of a change from its reviewer. Only published code and reproducible measurements will show how far these particular rewrites went beyond an internal demonstration.

