YouMind
Sign in

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

@beamnxw
ENGLISHNov 28, 2026
180K
339
22
23
548

TL;DR

This guide demonstrates how to use Gemini 4 Neon and Hydrogen models within Antigravity to create an autonomous AI development team. It covers setting up orchestrators, defining agent roles, writing build briefs, launching swarm builds, and generating product demos.

Gemini 4 Neon can run an AI development team from a single build brief

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:

https://x.com/GoogleAI/status/2123168242797809944

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

beamnxw ./ - inline image

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:

text
1curl -fsSL https://antigravity.google/cli/install.sh | bash
2agy --version
3agy

Windows PowerShell:

text
1irm https://antigravity.google/cli/install.ps1 | iex
2agy --version
3agy

Run agy from your project folder. These commands come from Google's installation guide

beamnxw ./ - inline image

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

beamnxw ./ - inline image

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:

https://x.com/antigravity/status/2126722791189660143

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:

https://x.com/_philschmid/status/2124840350472622124

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

beamnxw ./ - inline image

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

https://x.com/_philschmid/status/2125579472594223340

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:

text
1# Project
2A local release notes editor. Plain HTML, CSS, and JavaScript.
3Use the browser for input, preview, local saving, and Markdown export.
4
5## Working rules
6Agree file ownership and shared interfaces before parallel edits.
7Match the approved brief and keep dependencies minimal.
8Put task-specific decisions in BUILD.md.
9Ask before adding a paid service, publishing, or pushing changes.
10
11## Completion
12Run the agreed checks and inspect the app in a real browser.
13Link each result to its command, screenshot, or output file.
14Keep failures and untested behavior explicit.

Antigravity discovers project instructions and customizations in these locations:

text
1project/
2 AGENTS.md
3 BUILD.md
4 .agents/
5 skills/
6 release-check/
7 SKILL.md

AGENTS.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:

text
1---
2name: release-check
3description: Checks the local release notes editor before delivery. Use when verifying a build or repair.
4---
5
6Read BUILD.md and identify the acceptance cases.
7Run the agreed checks and record actual results.
8Open the app and inspect the input, preview, reload, and export flows.
9Check the downloaded Markdown, including order and special characters.
10Report defects with steps, expected behavior, observed behavior, and an owner.
11After 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

beamnxw ./ - inline image

04 / Write a brief the team can divide

beamnxw ./ - inline image

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:

  • Add a title, version, and entries grouped under Added, Changed, and Fixed
  • Reorder entries and see the preview update
  • Reload the page and recover the latest saved draft
  • Download Markdown with the same content and order
  • Enter Cyrillic, emoji, and literal HTML characters without losing or executing the text

Paste into the project conversation:

text
1Plan a local release notes editor in this empty project.
2Read AGENTS.md. Save the plan and acceptance cases in BUILD.md.
3
4The app needs title and version fields, editable release entries,
5Added/Changed/Fixed categories, reordering, a live preview,
6browser-local autosave, and Markdown download.
7Use plain HTML, CSS, and JavaScript with no external services.
8
9Before implementation, define:
10- The data shape and how entries keep a stable order.
11- The DOM IDs and module interface shared by both workers.
12- The files owned by the interface worker and logic worker.
13- Exact launch and check commands for this project.
14- Tests for reload, export, empty input, and special characters.
15
16Have the coordinator establish the shared contract first.
17Show 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

beamnxw ./ - inline image

Kevin Hou, Antigravity's head of product engineering, specifically recommends combining Neon, Orchestrator, and /swarm in this post:

https://x.com/kevinhou22/status/2124994672682733856

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:

text
1/swarm Implement the release notes editor described in BUILD.md.
2
3Use two implementation workers on Gemini 4 Hydrogen:
4@interface owns the approved interface and styling files.
5@logic owns the approved data, persistence, and export files.
6
7Use a separate @verifier on Gemini 4 Neon if it is available.
8Confirm each member's model and owned paths on the board.
9Keep the approved shared contract stable; escalate changes
10to the coordinator before another worker depends on them.
11
12Each worker should post its assigned paths, completion checks,
13and any dependency before editing. Report the actual files
14changed and checks run when the work is ready.
15
16The verifier should use release-check, run the agreed commands,
17and exercise the browser flows in BUILD.md. Send failures to
18the responsible worker, then repeat the affected checks.
19
20Keep the build local. Return launch instructions, the reviewable
21changes, 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

beamnxw ./ - inline image

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:

text
1Case: Reorder, reload, export.
2Expected: The moved entry stays first in the editor and download.
3Observed: The editor restores the new order; export uses the old order.
4Evidence: Screenshot and downloaded Markdown path.
5Owner: @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:

text
1Route the reported failure to its owning worker.
2Keep the current data format and unrelated behavior intact.
3Add or update a focused regression check for the observed bug.
4After the repair, have the verifier repeat the failing sequence
5and check autosave plus export together.
6Show 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

beamnxw ./ - inline image

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:

text
1curl -fsSL https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bash

Windows PowerShell:

text
1iwr -useb https://raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.ps1 | iex

Create 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:

text
1gemini-api configure --interactive
2gemini-api whoami
3gemini-api generate "Check setup" --dry-run
4gemini-api install-skill --agent antigravity

whoami 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:

  • Analyze BUILD.md for missing acceptance cases
  • Generate a background image for the release announcement
  • Turn an approved script into a voiceover
  • Run Deep Research on release communication practices and collect source links

Example commands, each making an API call:

text
1gemini-api analyze --input BUILD.md "Identify missing acceptance cases and cite the relevant passages." > tool-review.md
2gemini-api image "Abstract software release background, near-black, restrained cyan glow, large empty center, no text" --out ./assets/
3gemini-api tts "Your release notes are ready to ship." --out ./assets/voiceover.wav

The 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:

text
1Use the gemini-api-cli skill to prepare an optional release kit.
2Inspect the relevant command help and preview requests with --dry-run.
3Propose the calls and get my approval for the API budget first.
4
5Review BUILD.md for missing acceptance cases. Save the review as
6tool-review.md, separate from the verifier's observed test results.
7Generate one announcement background in assets/. Put the product
8title and real editor screenshot on it during layout, so the text
9and interface stay accurate.
10
11If I request Deep Research, save its returned interaction ID in
12HANDOFF.md. Retrieve the completed output and source links before
13using its findings. Report an unfinished run as unfinished.
14
15Return the generated file paths, research sources, and actual usage
16where 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

https://x.com/GoogleDeepMind/status/2125694207197110560

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:

text
1Create a 12-second silent product demo in demo/ for this editor.
2Use synthetic sample entries. Preserve the accepted app files.
3
4Canvas: 1920x1080, 30 frames per second.
5Style: near-black background, white type, cyan accent #56D9E8.
6Use a system sans-serif font and generous margins.
7
80.0-3.0 seconds: reveal the title "Release notes, ready to ship"
9above the real editor layout. Fade in over 0.4 seconds and hold.
103.0-7.0: show three sample entries, then move one upward once.
11Animate the move over 0.6 seconds with gentle ease-in-out.
12Keep the labels readable and the preview synchronized.
137.0-10.0: focus on the Markdown export and its matching contents.
1410.0-12.0: hold the final product view with a readable title.
15
16Assign one worker the timeline and another the capture pipeline.
17Agree their interface before implementation. Expose a deterministic
18seek(time) control so the verifier can inspect specific moments.
19
20First check available browser capture and encoding tools.
21Return the runnable preview, representative frames, and an MP4
22if the installed tools support it. Report any export blocker.
23Verify 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

beamnxw ./ - inline image

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:

text
1Write HANDOFF.md with:
2The accepted goal and current state.
3Relevant files and how to launch the app.
4Shared interfaces and the reasons for important decisions.
5Checks actually run, results, and evidence paths.
6Known gaps and the next unfinished action.
7
8Link 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

beamnxw ./ - inline image

Pick the command for the job

  • /plan: inspect the project and draft a plan before editing
  • /grill-me: clarify the brief through questions, one at a time
  • /swarm: divide work between named agents and a verifier
  • /browser: delegate UI checks, screenshots, and web inspection
  • /boost: investigate difficult bugs through multiple reasoning and verification rounds. Paid plans
  • /teamwork: organize a project across multiple milestones. Paid plans
  • /btw: ask a side question in a read-only fork while work continues
  • /compact: checkpoint the conversation to free context; add a request to continue afterward
  • /learn: propose a reusable rule or skill from a correction, for your approval
  • /antigravity-guide: ask a product question using the official documentation

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:

text
1/plan /grill-me Add search to this release notes editor.
2Clarify matching, empty results, and whether export includes
3all entries or only visible entries. Update BUILD.md with
4the decisions and acceptance cases before editing code.

Split the approved work:

text
1/swarm Implement the approved search feature in BUILD.md.
2Give @interface the controls and @logic the filtering behavior.
3Agree shared interfaces and file ownership first. Have @verifier
4check search, clearing the query, reload, and export together.

Carry the accepted state into the next task:

text
1/compact Preserve the accepted data format, file ownership,
2test evidence paths, and unresolved issues. Then read HANDOFF.md
3and propose the next unfinished action before making edits.

Small habits that prevent wasted runs

  • Give each swarm worker an owned path and a testable result.
  • For a stuck worker, name it in a message to the coordinator and include its blocker.
  • Save the handoff before compaction. /compact itself leaves project files untouched.
  • Use /btw for a side question; include project-changing decisions in the main conversation.
  • After /learn, review the proposed rule for assumptions specific to the last task.

Google documents compaction and learning from corrections separately if you want to adjust those workflows

beamnxw ./ - inline image
beamnxw ./ - inline image

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

https://x.com/Lentils80/status/2123285929649455409

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

https://x.com/ai_for_success/status/2123239282626478306

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

https://x.com/thebuggeddev/status/2124508873897726028

A launch reel written in code

@chetaslua shared a Neon-generated motion introduction written in JavaScript with no external assets

https://x.com/chetaslua/status/2123219124260315301

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

https://x.com/GoGoFly23/status/2124036617937760579

Adapt one of these projects in your own workspace:

text
1Build a small [use case] inspired by [source link].
2Use my own visual design, content, and sample data.
3Define one user flow, file ownership, and acceptance cases first.
4Implement it, test it in the target environment, and return
5the runnable artifact, evidence, and remaining limitations.

Save this so you don't lose it

Follow @beamnxw for more alpha

=> my substack

=> my telegram channel

=> my youtube

=> my github

=> my github works

beamnxw ./ - inline image
One-click save

Use YouMind for AI deep reading of viral articles

Save the source, ask focused questions, summarize the argument, and turn a viral article into reusable notes in one AI workspace.

Explore YouMind
For creators

Turn your Markdown into a clean 𝕏 article

When you publish your own long-form writing, images, tables, and code blocks make 𝕏 formatting painful. YouMind turns a full Markdown draft into a clean, ready-to-post 𝕏 article.

Try Markdown to 𝕏

More patterns to decode

Recent viral articles

Explore more viral articles