Gemini 4 Neon Agent Engineering: Build Your Own AI Development Team. Full Course

Neon plans the work, Hydrogen workers build separate pieces, and a verifier checks the result in a real browser
Their assignments, questions, and test results stay on one shared board you can follow
Google introduced Neon on November 18 and showed a twelve-hour /swarm reconstruction of Alan Turing's study in its official Google AI launch post:
The exercise here uses a small local app so you can inspect the complete result yourself
There are two controls to understand first. Orchestrator pairs planning with execution inside a conversation; /swarm creates a team of named agents
Before we start, subscribe to my Substack for more practical AI workflows and build guides
01 / Open the right workspace
Use the Antigravity desktop app for this exercise. Create an empty folder for the release notes editor, then choose New Project → Add Folder → Create and select that folder
Keep this build in its own project so its files and instructions are easy to inspect
Neon access depends on your account and plan. In Antigravity, it is available with eligible Google AI Pro and Ultra access and through Gemini Enterprise, the Neon Orchestrator pairing described below is for Pro and Ultra.
If you prefer the terminal, the official installation commands are:
macOS or Linux terminal:
curl -fsSL https://antigravity.google/cli/install.sh | bash
agy --version
agyWindows PowerShell:
irm https://antigravity.google/cli/install.ps1 | iex
agy --version
agyRun agy from your project folder. These commands come from Google's installation guide
The Gemini API is a separate route with token billing. You can complete this exercise through Antigravity without adding an API integration to the app you build
02 / Set Neon to plan and Hydrogen to execute
In the desktop app, open Settings → Models → Orchestrator Settings
Select Gemini 4 Neon as the planner and Gemini 4 Hydrogen as the executor, then choose Orchestrator under the conversation box
Google describes this exact division in its Antigravity post on X:
the planner handles architecture and review; the executor handles searches, edits, builds, and tests
For this exercise, explicitly set the planner to High. Philipp Schmid recommends High for everyday coding and agents, Medium for interactive work, and xhigh for demanding reasoning in his thinking-effort guidance:
Treat that as a starting choice you can evaluate on your own tasks. Before raising effort, inspect the missing information or failed check that is blocking progress
The team we will request has four roles:
1. Coordinator
Assignment: Maintain the plan, assign ownership, resolve integration questions
2. Interface worker
Assignment: Build the editor and preview in its assigned files
3. Logic worker
Assignment: Implement persistence, formatting, and export
4. Verifier
Assignment: Run checks, exercise the app, and report failures to their owner
The CLI has its own model controls. Use /model to select Orchestrator; its fixed reasoning budget means /effort does not apply to that pairing
Enterprise Orchestrator currently uses Carbon with Hydrogen. Current model settings
03 / Give the project a short operating manual
Schmid's five habits for working with Neon include keeping project instructions short, moving specialist workflows into skills, and checking rendered output visually
For this app, the lasting rules need to explain ownership and acceptance
Keep detailed feature requirements in the build brief
Create AGENTS.md in the project root:
# Project
A local release notes editor. Plain HTML, CSS, and JavaScript.
Use the browser for input, preview, local saving, and Markdown export.
## Working rules
Agree file ownership and shared interfaces before parallel edits.
Match the approved brief and keep dependencies minimal.
Put task-specific decisions in BUILD.md.
Ask before adding a paid service, publishing, or pushing changes.
## Completion
Run the agreed checks and inspect the app in a real browser.
Link each result to its command, screenshot, or output file.
Keep failures and untested behavior explicit.Antigravity discovers project instructions and customizations in these locations:
project/
AGENTS.md
BUILD.md
.agents/
skills/
release-check/
SKILL.mdAGENTS.md holds standing instructions
BUILD.md will hold this feature's contract; the skill below supplies the review method
Save as .agents/skills/release-check/SKILL.md:
---
name: release-check
description: Checks the local release notes editor before delivery. Use when verifying a build or repair.
---
Read BUILD.md and identify the acceptance cases.
Run the agreed checks and record actual results.
Open the app and inspect the input, preview, reload, and export flows.
Check the downloaded Markdown, including order and special characters.
Report defects with steps, expected behavior, observed behavior, and an owner.
After a repair, repeat the affected checks.Start a fresh conversation after adding these files, and ask it to identify the loaded project rules and release-check skill. The folder layout follows Google's customization discovery guide
04 / Write a brief the team can divide
Our example app takes release entries, lets you reorder them, previews the result, and exports Markdown. Everything stays in the browser
Choose the acceptance cases before implementation. For this exercise:
Paste into the project conversation:
Plan a local release notes editor in this empty project.
Read AGENTS.md. Save the plan and acceptance cases in BUILD.md.
The app needs title and version fields, editable release entries,
Added/Changed/Fixed categories, reordering, a live preview,
browser-local autosave, and Markdown download.
Use plain HTML, CSS, and JavaScript with no external services.
Before implementation, define:
- The data shape and how entries keep a stable order.
- The DOM IDs and module interface shared by both workers.
- The files owned by the interface worker and logic worker.
- Exact launch and check commands for this project.
- Tests for reload, export, empty input, and special characters.
Have the coordinator establish the shared contract first.
Show me BUILD.md for review before starting implementation.Read the proposed file map
A reasonable split puts layout and styling with the interface worker, while the logic worker owns data operations and formatting
Shared entry points need one owner. Agree the exported functions, element IDs, and data format before the workers begin
If a dependency remains unresolved, have the coordinator settle it and update the contract
05 / Launch the build through /swarm
Kevin Hou, Antigravity's head of product engineering, specifically recommends combining Neon, Orchestrator, and /swarm in this post:
After approving BUILD.md, type /swarm in the conversation and insert the command from the suggestions. Paste the rest of the request after it
Build prompt:
/swarm Implement the release notes editor described in BUILD.md.
Use two implementation workers on Gemini 4 Hydrogen:
@interface owns the approved interface and styling files.
@logic owns the approved data, persistence, and export files.
Use a separate @verifier on Gemini 4 Neon if it is available.
Confirm each member's model and owned paths on the board.
Keep the approved shared contract stable; escalate changes
to the coordinator before another worker depends on them.
Each worker should post its assigned paths, completion checks,
and any dependency before editing. Report the actual files
changed and checks run when the work is ready.
The verifier should use release-check, run the agreed commands,
and exercise the browser flows in BUILD.md. Send failures to
the responsible worker, then repeat the affected checks.
Keep the build local. Return launch instructions, the reviewable
changes, check results, and anything that still needs my decision.The explicit model assignment matters. Workers normally inherit the conversation's model; naming Hydrogen in the brief makes your intended allocation clear
A separate model gives the review another pass over the work. The acceptance tests still carry the decision about whether it works
Open the Swarm pane from the coordinator's reply. In the CLI, use /swarm board
The board holds assignments and reports, and waiting workers consume no tokens until they wake. Workers share the workspace by default, so check file ownership before edits start. Swarm behavior
For this first run, keep the team to those two implementation tracks and the verifier
06 / Make the verifier exercise the result
Open the app from the launch instructions. Add three entries, move the last one to the top, reload, and download the Markdown
Compare the downloaded file with the saved screen state. Check the entry order, category headings, and text you entered
A useful defect report looks like this:
Case: Reorder, reload, export.
Expected: The moved entry stays first in the editor and download.
Observed: The editor restores the new order; export uses the old order.
Evidence: Screenshot and downloaded Markdown path.
Owner: @logic.This is an example of a failure to look for. Your verifier should report what it actually observes
Also test an empty draft, a missing version, and text containing <script>, &, or Markdown punctuation. The app should preserve user input as text and make its export behavior clear
For the visual pass, inspect a desktop view and a narrow phone-sized view. The preview, reorder controls, and download action should stay usable with keyboard focus visible
Send a repair request through the coordinator:
Route the reported failure to its owning worker.
Keep the current data format and unrelated behavior intact.
Add or update a focused regression check for the observed bug.
After the repair, have the verifier repeat the failing sequence
and check autosave plus export together.
Show the result and remaining gaps before closing the task.A failed command belongs in the report with its cause. If the environment lacks a browser or a required executable, identify the blocked check and give you a way to perform it
Keep the final report compact: changed files, checks and results, launch instructions, and unresolved items. Open at least one downloaded artifact yourself before accepting the build
07 / Connect Gemini tools and make the demo
Your team can also analyze files, generate images and audio, and delegate research through Google's experimental Gemini API CLI
The gemini-api command gives these capabilities to an agent with shell access
Install it on your machine, then run the setup from your project terminal. API usage is billed through your Gemini API project separately from Antigravity quota
macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bashWindows PowerShell:
iwr -useb https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.ps1 | iexCreate a Gemini API key in Google AI Studio and enter it in the interactive setup. Keep the key out of project files
Run from the project folder:
gemini-api configure --interactive
gemini-api whoami
gemini-api generate "Check setup" --dry-run
gemini-api install-skill --agent antigravitywhoami shows the active credential source; --dry-run validates the request locally without calling the API. Start a fresh conversation and ask the agent to identify its loaded gemini-api-cli skill
Choose an actual deliverable before making a paid call. For this project, useful options include:
Example commands, each making an API call:
gemini-api analyze --input BUILD.md "Identify missing acceptance cases and cite the relevant passages." > tool-review.md
gemini-api image "Abstract software release background, near-black, restrained cyan glow, large empty center, no text" --out ./assets/
gemini-api tts "Your release notes are ready to ship." --out ./assets/voiceover.wavThe CLI also has music and video commands. Inspect command-specific --help before choosing options, especially while this experimental tool is changing
Give the coordinator a bounded tools assignment:
Use the gemini-api-cli skill to prepare an optional release kit.
Inspect the relevant command help and preview requests with --dry-run.
Propose the calls and get my approval for the API budget first.
Review BUILD.md for missing acceptance cases. Save the review as
tool-review.md, separate from the verifier's observed test results.
Generate one announcement background in assets/. Put the product
title and real editor screenshot on it during layout, so the text
and interface stay accurate.
If I request Deep Research, save its returned interaction ID in
HANDOFF.md. Retrieve the completed output and source links before
using its findings. Report an unfinished run as unfinished.
Return the generated file paths, research sources, and actual usage
where available. Preserve the accepted editor and silent demo.Open generated files before using them. A review of the brief can suggest extra cases; the verifier still needs to exercise those cases in the app
Build the product demo
Once the editor works, you can reuse the team structure for its product demo. Google DeepMind has shown Neon coding a Rube Goldberg arcade scene in Antigravity, including simulated physics and music
For your own demo, specify the product, visual language, and scene timing. A request such as “make a beautiful video” leaves the team to invent those decisions
This optional brief stays inside the app you just built. It uses a separate folder so the accepted editor remains easy to review
Paste into the coordinator conversation:
Create a 12-second silent product demo in demo/ for this editor.
Use synthetic sample entries. Preserve the accepted app files.
Canvas: 1920x1080, 30 frames per second.
Style: near-black background, white type, cyan accent #56D9E8.
Use a system sans-serif font and generous margins.
0.0-3.0 seconds: reveal the title "Release notes, ready to ship"
above the real editor layout. Fade in over 0.4 seconds and hold.
3.0-7.0: show three sample entries, then move one upward once.
Animate the move over 0.6 seconds with gentle ease-in-out.
Keep the labels readable and the preview synchronized.
7.0-10.0: focus on the Markdown export and its matching contents.
10.0-12.0: hold the final product view with a readable title.
Assign one worker the timeline and another the capture pipeline.
Agree their interface before implementation. Expose a deterministic
seek(time) control so the verifier can inspect specific moments.
First check available browser capture and encoding tools.
Return the runnable preview, representative frames, and an MP4
if the installed tools support it. Report any export blocker.
Verify timing, text clipping, entry order, and the final reading hold.Inspect the frames at the start, after reordering, and during the final hold. Check that labels stay readable throughout the moving transition as well
08 / Keep a handoff and measure the next run
Schmid also describes using explicit handoffs when a task changes phase in his Neon workflow article. Save the facts the next session needs while the relevant state is still available
Paste at the end of your accepted run:
Write HANDOFF.md with:
The accepted goal and current state.
Relevant files and how to launch the app.
Shared interfaces and the reasons for important decisions.
Checks actually run, results, and evidence paths.
Known gaps and the next unfinished action.
Link existing reports. Keep it concise enough to review quickly.The next session can start from that file and inspect the linked evidence
Keep genuine project conventions in AGENTS.md, put the latest run's details in its handoff
Record a few practical measures for each build: elapsed time, active workers, model choices, failed checks, and usage where the interface exposes it
Subscription quota and API token charges are separate measures
If you want to evaluate the team, repeat the same task from the same starting files. Check the artifact and acceptance cases alongside time and usage
Add workers when there is another independent piece of work with a clear owner
For a tightly shared change, let the coordinator settle the sequence before it assigns edits
For the next feature, reuse the folder rules, review skill, and team brief
Change the goal and its acceptance cases, then carry the build through to a result you can open, test, and keep
09 / Keep these slash commands nearby
Type these in the Antigravity conversation box. The commands below work in the app and CLI; Google's command guide lists availability across editors too
Pick the command for the job
Inside the CLI, /swarm board opens the live board. Use /context to inspect context use, /usage for model quota, /diff for changes, and /resume to reopen a conversation
Three prompts worth keeping
Clarify the next feature:
/plan /grill-me Add search to this release notes editor.
Clarify matching, empty results, and whether export includes
all entries or only visible entries. Update BUILD.md with
the decisions and acceptance cases before editing code.Split the approved work:
/swarm Implement the approved search feature in BUILD.md.
Give @interface the controls and @logic the filtering behavior.
Agree shared interfaces and file ownership first. Have @verifier
check search, clearing the query, reload, and export together.Carry the accepted state into the next task:
/compact Preserve the accepted data format, file ownership,
test evidence paths, and unresolved issues. Then read HANDOFF.md
and propose the next unfinished action before making edits.Small habits that prevent wasted runs
Google documents compaction and learning from corrections separately if you want to adjust those workflows
10 / What builders are actually making
A personal Spotify tool
@Lentils80 asked Neon to improve an existing Spotify recommendation MCP server. The author reports bug fixes and an additional model trained on listening preferences
A game for phone and desktop
@ai_for_success shared a 3D game built with Neon and Antigravity Swarm, with support for mobile and desktop play
An interactive lesson in vision
@thebuggeddev posted a Neon-built 3D eye explorer. The author describes pupil responses, retinal focus, and controls for experimenting with corrective lenses and vision conditions
A launch reel written in code
@chetaslua shared a Neon-generated motion introduction written in JavaScript with no external assets
Circuit-board design through MCP
@GoGoFly23 used Neon in Antigravity to operate EasyEDA Pro through MCP, selecting components and drawing and routing boards for a desktop AI pet. The author reports that the charging board passed design-rule checks, while the main board still needed manual routing work
Adapt one of these projects in your own workspace:
Build a small [use case] inspired by [source link].
Use my own visual design, content, and sample data.
Define one user flow, file ownership, and acceptance cases first.
Implement it, test it in the target environment, and return
the runnable artifact, evidence, and remaining limitations.Save this so you don't lose it
Follow @beamnxw for more alpha
=> my substack
=> my youtube
=> my github














