most agent teams get worse with time.
the repo moves, the prompts rot, and the same mistake comes back every monday. you fix it in chat, the chat ends, and the fix dies with it.
a self-improving team works the other way. every run leaves something behind: a rule, a skill, a score. week 4 beats week 1 and you never rewrote a prompt by hand.
Google shipped Gemini 4 Neon on November 18, and placed it right between Carbon and Hydrogen:
https://x.com/GoogleDeepMind/status/2123167884411077030
it's the model i'd build this on right now. three numbers why:
- 12.8% → 39.0%. same Neon, same SWE-sweep test, bare harness vs Google's own harness. the setup around the model tripled the result
- 95.2% on GraphWalks, a test of following edges through a graph spread across 256k to 1M tokens. Claude Opus 5.5 gets 66.8%, GPT-6.2 Sol 80.1%
- 99.2% on Google's agent honesty eval. a team that grades itself needs a lead that doesn't lie about its own work
this article is the whole build, in three layers:
- harness: the files your team lives in. roles, rules, hooks, memory
- graph: who hands what to whom. fan-out, join, critic, back-edge
- loops: three of them, on three clocks. minutes, sessions, weeks
what's inside:
- why Neon, in the numbers that matter for a team (not a chatbot)
- the 5 seats and what each one costs
- the harness: AGENTS.md, 3 custom agents, 3 hooks, one memory folder
- the graph: the same team in /swarm, /run-workflow and ADK 2.0
- the 3 loops that make it improve, and the 4 rules that stop it improving the wrong thing
- the scoreboard, the cost math, 8 copy-paste prompts
- a 7-day rollout
- 11 posts from Google, Artificial Analysis, Arena, DHH, Theo and other builders, right where they back up a point
everything here runs in Google Antigravity or on the Gemini API. every number has a source at the bottom.
1. the idea in one picture

think of a restaurant kitchen.
the harness is the kitchen itself: stations, the rules on the wall, the inspector at the door. the graph is the ticket flow: an order comes in, gets split across stations, comes back together at the pass, and the head chef sends a plate back if it's wrong. the loops are what make it a good kitchen in month three: cooks stop repeating mistakes because somebody wrote them down, and once a week the chef tastes the menu and changes one thing.
most people only build the middle part. a graph with no harness forgets everything. a harness with no loops never gets better.
2. why Neon for this joba team needs different things than a chatbot. here's what matters for a team, and what Neon scores on it:
1what a team needs Neon source2judgment as a lead Agent Arena #2, 1336 points over Arena.ai3 4,200+ real agent sessions,4 #2 on steerability5cheap enough to run often $2.82 median per task (Agent Arena) Arena.ai6 $6.86 per coding task, vs $12.61 Artificial Analysis7 for Opus 5.5 max, $15.47 Fable 5.28long memory 1,048,576 tokens on the API, Google9 up to 512K inside Antigravity Antigravity docs10reads a graph in context GraphWalks 95.2% (256k to 1M) Google model card11stays on long jobs Vending-Bench 2 #1, $16,843 Google blog12honest about its own work agent honesty eval 99.2%, Google blog13 Terminal-Bench 4.0 cheating 0.0%14does what it was asked vs Carbon: under-service -43% to Google blog
the independent numbers landed the same night. Artificial Analysis had it at 61 on their index, Google's fourth Gemini 4 model in seven weeks:
https://x.com/ArtificialAnlys/status/2123170645777526962
and the one that matters most for a lead, because it's scored on real agent sessions instead of a fixed test:
https://x.com/arena/status/2123169189397709174
then read the one line in Google's launch post that tells you how they meant it to be used: Neon as a fast, high-judgment orchestrator directing parallel Hydrogen subagents. it cuts redundant file reads, shares progress as it works, and handles context compaction in long sessions.
that's a team lead's job description, not a chatbot's.
builders saw the same thing on real work. DHH said Neon cut Omarchy's boot time in half and called it a quiet cat: little output while it works, then it delivers. that's the trait you want in a lead. talk less, check more.
https://x.com/dhh/status/2124860839572488538
Theo landed in the same place two days after launch:
https://x.com/theo/status/2123880652428988683
the other side: Neon isn't best at everything. Opus 5.5 still edges it on Terminal-Bench 4.1 (65.8% vs 65.2%) and FrontierCode 2.0 (47.3% vs 46.2%). that's exactly why the critic in this team runs on a different model.
3. the 5 seats

Google's own picture of the family helps here. Carbon for the hardest long jobs, Hydrogen for fast everyday work, Neon in the middle, balancing depth and speed:
https://x.com/Google/status/2124967271814910183
- lead: Gemini 4 Neon on High. reads the repo, writes the briefs, repairs the plan. Google's own guide puts High on "multi-step agentic tool loops"
- workers: Gemini 4 Hydrogen. $1.50 in / $7.50 out per 1M tokens, half of Neon's $3 / $15. one brief each, clean context
- router: Neon on Low. the guide's pick for classification and routing. it decides which path a task takes. it doesn't solve the task
- critic: a different model, read-only. Claude Opus 5.5 is in Antigravity's picker on paid plans. different weights, different blind spots
- scribe: the cheapest model you have. it only writes the team's memory
in Antigravity you get the lead and workers in one click: pick Orchestrator in the model picker. Neon plans in a read-only phase, Hydrogen does the edits, builds and tests, and control goes back to Neon when a verification step fails twice or the plan left a design choice open. you change the pair in Settings → Models → Orchestrator Settings.
one setting people miss: inside Antigravity, Neon's default thinking level is Medium. on the API the default is high. pick High on purpose for the lead.
and keep xhigh out of the loops. at launch, Artificial Analysis measured Neon at 60 on their index on high, for $3.74 a task, and 61 on xhigh for $6.44. their live page now shows 65 seconds to the first answer token on xhigh, against 35 on high. on GDP.pdf, high beat xhigh outright: 33.4% vs 28.0%. a loop runs hundreds of times. pay for xhigh only where the loop proves you need it (loop 3 does exactly that).
4. layer 1: the harnessthe harness is everything that isn't the prompt. if you doubt it matters, read this one. same model, three surfaces, three very different verdicts:
https://x.com/AI_Screening/status/2125102571761336626
Antigravity reads the harness from fixed places before any agent starts, so this is where your team actually lives.

1your-repo/2├── AGENTS.md # the team contract, always loaded3├── .agents/4│ ├── agents/5│ │ ├── critic.md # read-only reviewer6│ │ ├── scribe.md # writes team memory, nothing else7│ │ └── grader.md # scores the exam, never edits8│ ├── skills/<name>/SKILL.md # procedures, filled by /learn9│ ├── rules/<name>.md # guardrails, filled by /learn10│ └── hooks.json # 3 hooks, below11├── team/12│ ├── lessons.md # one line per lesson, newest last13│ ├── failures.jsonl # every failed command, logged by a hook14│ ├── scoreboard.md # one row per week15│ ├── proposals/ # weekly change proposals16│ └── changelog.md # what changed, why, kept or reverted17└── evals/golden/*.md # 10-20 real tasks with a checklist
AGENTS.md and .agents/ are Antigravity conventions. team/ and evals/ are mine. they're plain files on purpose: any model, any tool and you can read them.
AGENTS.md: write a contract
1# AGENTS.md23## Team4lead: plans, writes briefs, edits at most 1 file itself5workers: one brief each. a brief = owns / must not touch / done means6critic: reviews every "done". ACCEPT, or REJECT with numbered fixes7scribe: writes team/lessons.md and team/changelog.md only89## Proof commands (anyone may run these)10- test: npm test11- types: npx tsc --noEmit12- lint: npm run lint1314## Done means15- proof commands pass, last 15 lines of output pasted16- every claim has a file path and a line number17- anything not checked is written as "not verified"1819## Memory20- read team/lessons.md before planning. a lesson beats your habit21- never edit evals/ or team/scoreboard.md2223## Never24- push, deploy, touch .env*, or delete tests25- loosen an assertion to make a test pass
the Memory block is the self-improving part. the team doesn't remember conversations. it remembers files.
3 custom agentsAntigravity picks up custom agents from .agents/agents/<name>.md: YAML on top, system prompt below. the model field takes a tier (inherit, flash or pro), and commandExecutionPolicy defaults to sandbox. keep it there for anything that judges. use exact tool names: the docs list a known issue where a misspelled tool can hang the agent.
critic.md:
1---2name: critic3description: Read-only reviewer. Use whenever a worker reports done. Re-runs the proof commands and rejects with numbered fixes.4tools: [view_file, grep_search, find_by_name, run_command]5subagent: true6mainAgent: false7model: pro8commandExecutionPolicy: sandbox9---10# System Prompt11You never edit files.121. Read the brief and the diff. Any change outside the owned paths is a REJECT.132. Re-run the proof commands from AGENTS.md. Paste the last 15 lines.143. Check each "done means" item: pass or fail, with the evidence.15Reply ACCEPT, or REJECT with numbered fixes: file, line, why, smallest fix.16End every REJECT with one line: LESSON: <the mistake in one sentence, no blame>
scribe.md:
1---2name: scribe3description: Team memory keeper. Use at the end of a run to turn LESSON lines, logged failures and human corrections into team/lessons.md entries.4tools: [view_file, grep_search, write_to_file, replace_file_content]5model: flash6commandExecutionPolicy: off7---8# System Prompt9You write to team/lessons.md and team/changelog.md. Nothing else.10Sources: LESSON lines from this run, new rows in team/failures.jsonl, corrections the human made.11Add a lesson only if the same mistake happened 2+ times or the human corrected it.12Format: - [YYYY-MM-DD] when <situation>, do <action>, because <evidence>13Merge duplicates. If a new lesson contradicts an old one, move the old one under "## Retired".14Max 5 new lines per run. Keep it under 40 active lines.
grader.md:
1---2name: grader3description: Scores team output against the checklist of one evals/golden task. Never edits code or the eval set.4tools: [view_file, grep_search, find_by_name, run_command]5subagent: true6mainAgent: false7model: pro8commandExecutionPolicy: sandbox9---10# System Prompt11You score. You never fix.12Open the task's checklist and check every item against real files and command output.13Reply exactly: score: N/10 | rounds: N | failed: <item numbers or none> | note: <one line>14If you can't check an item, it fails. Effort is not evidence.
3 hooks: enforce what a prompt can only ask fora line in a prompt is a request. a hook runs every single time.
Antigravity reads hooks from .agents/hooks.json. the script gets the event as JSON on stdin and answers in JSON on stdout. three events do all the work here: SessionStart, PostToolUse and Stop.

1{2 "inject-lessons": {3 "SessionStart": [{ "command": "python3 .agents/hooks/inject_lessons.py", "timeout": 10 }]4 },5 "log-failures": {6 "PostToolUse": [{ "matcher": "run_command",7 "hooks": [{ "command": "python3 .agents/hooks/log_failures.py" }] }]8 },9 "no-done-while-red": {10 "Stop": [{ "command": "python3 .agents/hooks/no_done_while_red.py", "timeout": 300 }]11 }12}
hook 1 · SessionStart. every new conversation starts with the newest lessons already in front of the agent
1# .agents/hooks/inject_lessons.py2import json, pathlib, sys3event = json.load(sys.stdin)4root = pathlib.Path(event["workspacePaths"][0])5f = root / "team" / "lessons.md"6active = f.read_text().split("## Retired")[0] if f.exists() else ""7lines = [l for l in active.splitlines() if l.startswith("- ")][-12:]8msg = "Team lessons, newest last. They override your defaults:\n" + ("\n".join(lines) or "none yet")9print(json.dumps({"injectSteps": [{"systemMessage": {"systemMessage": msg}}]}))
hook 2 · PostToolUse on run_command. every failed command lands in a ledger, the raw material for lessons:
1# .agents/hooks/log_failures.py2import json, pathlib, sys, datetime3event = json.load(sys.stdin)4if event.get("error"):5 root = pathlib.Path(event["workspacePaths"][0])6 row = {"at": datetime.datetime.now().isoformat(timespec="seconds"),7 "cmd": event["toolCall"]["args"].get("CommandLine", ""),8 "error": event["error"][:300]}9 with open(root / "team" / "failures.jsonl", "a") as out:10 out.write(json.dumps(row) + "\n")11print("{}")
hook 3 · Stop. the agent can't call it done while the tests are red. it skips clean trees and gives up after 3 attempts, so it can't loop forever:
1# .agents/hooks/no_done_while_red.py2import json, subprocess, sys3event = json.load(sys.stdin)4root = event["workspacePaths"][0]5dirty = subprocess.run(["git", "status", "--porcelain"], cwd=root,6 capture_output=True, text=True).stdout.strip()7if not dirty or event.get("executionNum", 0) >= 3:8 print(json.dumps({"decision": "stop"})); sys.exit()9tests = subprocess.run(["npm", "test", "--silent"], cwd=root, # Windows: "npm.cmd"10 capture_output=True, text=True)11if tests.returncode == 0:12 print(json.dumps({"decision": "stop"}))13else:14 tail = (tests.stdout + tests.stderr)[-1500:]15 print(json.dumps({"decision": "continue",16 "reason": "Tests are red after your edits. Fix the cause. Never loosen or delete assertions.\n" + tail}))
swap npm test for your own proof command. when the hook answers continue, Antigravity puts your reason back into the conversation and the agent goes back to work. that's the inner loop, enforced by a script instead of a hope.
5. layer 2: the grapha team is a graph whether you draw it or not. draw it first.
- nodes: agents, tools, and you
- edges: every handoff, labeled with what it carries
- fan-out: independent work runs in parallel
- join: nothing moves on until every branch reports back
- back-edge: the critic can send work back. this one edge is your whole quality system
here's the team:

a task comes in. the router (Neon on Low) picks a path: question, small fix or feature.
feature path: the lead (Neon on High) writes briefs → workers (Hydrogen) run in parallel → join → critic (different model) → ACCEPT → scribe → done. on REJECT, the work goes back to the worker that owns the problem, max 2 rounds. after that it comes to you with what's still open.
the small fix path skips the lead. the question path skips everything except the lead. the router is why the team stays cheap: most tasks don't need the whole graph.
Google gives you three ways to run the same graph, from loose to strict:

- /swarm: the graph emerges. a coordinator splits the task, workers talk on one shared board with @mentions, it usually adds a @verifier for every 2 to 4 workers, and idle members sleep without spending tokens. the Swarm pane even has a Graph tab that shows who mentioned whom. all plans, in preview, and hungry for quota
- /run-workflow: the graph is a Python script the agent writes for you. parallel() for fan-out, pipeline() for one at a time, phase() for stages, and every agent returns JSON that matches a schema. you approve the script before it runs, and you can save it and rerun it next week. all plans
- ADK 2.0: the graph is code you deploy. Workflow(edges=[...]), a JoinNode for fan-in, routes for branches, a routed back-edge for loops. for when the team runs without you: a nightly job, a bot, an API
to see what a swarm can carry, look at Google's own stunt: one photo turned into a 100,000-cell Google Sheet, zero embedded images, 500,000+ live formulas, built with /swarm:
https://x.com/Google/status/2125667315303723011
for your own team, start with /run-workflow. the script it writes is your graph on paper, and you read it before anything runs:
1/run-workflow Read team/lessons.md first.2Phase Plan: one agent splits <goal> into 2-4 briefs (owns / must not touch / done means) and returns them as JSON.3Phase Build: one agent per brief, in parallel, each in an isolated branch workspace, on the flash tier.4Phase Review: one persistent agent of type critic reviews every result: ACCEPT, or REJECT with numbered fixes.5Phase Fix: send each REJECT back to the same brief's agent, then ask the same critic again. Max 2 rounds per brief.6Log every LESSON line. Save the script as scripts/team_run.py
the persistent critic matters. Dynamic Workflows let one agent keep its conversation across phases, so the critic that found the bugs is the one that confirms they're fixed.
when the team has to run without you, the same graph in ADK 2.0 (check names against the docs for the version you install):
1from google.adk import Event, Workflow2from google.adk.agents import Agent3from google.adk.workflow import JoinNode45lead = Agent(name="lead", model="gemini-4-neon",6 instruction="Read team/lessons.md. Split the request into api, ui and docs briefs: owns, must not touch, done means.")7api = Agent(name="api", model="gemini-4-hydrogen", instruction="Do only the api brief. Report proof commands and results.")8ui = Agent(name="ui", model="gemini-4-hydrogen", instruction="Do only the ui brief. Report proof commands and results.")9docs = Agent(name="docs", model="gemini-4-hydrogen", instruction="Do only the docs brief. Report what changed.")10join = JoinNode(name="join")11critic = Agent(name="critic", model="gemini-4-neon", # or a non-Gemini model through ADK's model adapters12 instruction="Check every claim against its brief. Reply ACCEPT, or REJECT with numbered fixes.")1314def gate(node_input: str):15 return Event(route="ship" if node_input.strip().startswith("ACCEPT") else "revise")1617def ship(node_input: str):18 return Event(output=node_input)1920root_agent = Workflow(21 name="neon_team",22 edges=[23 ("START", lead),24 (lead, api, join), (lead, ui, join), (lead, docs, join),25 (join, critic, gate),26 (gate, {"ship": ship, "revise": lead}), # the routed back-edge is the loop27 ],
three things ADK does for you here. a JoinNode waits for every branch and hands the next node a record keyed by node name. an agent used as a node runs single_turn by default, so every worker starts from a clean brief instead of leftover chat. and a cycle has to contain at least one routed edge, or the Workflow won't build. before it runs unattended, count rounds in session state and route to a human after 2.
the GraphWalks number from section 2 belongs here too. that test is about following edges through a graph spread across a huge context. a lead that keeps a whole team's briefs, board and lessons in its head does a version of that on every run.
6. layer 3: the loopsthis is where the team starts improving on its own. three loops, three clocks.

loop 1 · the fix loop (minutes)worker says done → critic re-runs the proof → REJECT with numbered fixes → the same worker fixes → critic again. max 2 rounds, then it comes to you with the open items.
three things make it hold:
- the Stop hook from section 4 bounces any "done" with red tests straight back
- the critic is read-only and on a different model, so it can't fix its way to an ACCEPT
- for long jobs, wrap the whole run in /goal. Antigravity blocks the agent from stopping early and makes it map every deliverable to real evidence before it ends. there's no iteration cap, so give it a scope and a finish line
Orchestrator already does a small version of this: control goes back to Neon after a verification step fails twice. loop 1 is the same idea with a second pair of eyes.
this is the size of job /goal is for. Google's flagship demo, a first-person ski simulator with about 10,200 lines of custom shaders and zero pre-made assets, built in Antigravity:
https://x.com/GoogleDeepMind/status/2123826572385833119
loop 2 · the lesson loop (end of every session)agents don't remember conversations. Antigravity's own docs say it plainly. so every session ends with two commands:
1/learn2@scribe close the run: LESSON lines from the critic, new rows in team/failures.jsonl, and my corrections from this session
/learn reads your corrections ("no", "instead", "that failed"), compares the failed attempts with the fix that worked, and decides whether the lesson is a rule (a constraint) or a skill (a procedure). it prefers updating an existing rule over creating a duplicate. and it never writes straight away: it drafts a learning_proposal.md and waits for your yes.
the scribe catches what /learn can't see: the critic's LESSON lines and the failure ledger the hook keeps. next session, the SessionStart hook puts the newest 12 lessons in front of the lead before it opens a single file.
that's the whole trick. a mistake happens once, gets written down once, and gets read every time after.
loop 3 · the tuning loop (weekly)loop 2 makes the team remember. loop 3 makes it measurably better, and proves it.

- 1. the exam. 10 to 20 real tasks from your own history in evals/golden/, each with a checklist a grader can verify. the team never edits it
- 2. monday, an automation drafts one proposal. it reads the scoreboard, the failure ledger and last week's REJECTs, finds the weakest seat and proposes ONE change: a prompt line, a thinking level, a model swap, a new lesson
- 3. you approve it in two minutes, or you don't
- 4. A/B on the exam. the current team and the proposed team run every golden task in isolated branches, and the grader scores both
- 5. keep it only if the score goes up and cost per task doesn't rise more than 10%. otherwise revert. the scribe logs it either way
the monday automation (Antigravity App):
1/automation every Monday at 9am Europe/Berlin:2Read team/scoreboard.md, team/failures.jsonl since last Monday, team/lessons.md and the REJECT notes in team/changelog.md.3Find the seat with the most failed checklist items or REJECTs.4Write team/proposals/<date>.md with exactly ONE change to that seat: the diff, the failure it should fix, and which golden tasks should improve.5Apply nothing. Never edit evals/ or the scoreboard.
three details from the docs that decide whether this works. every automation run starts a fresh conversation with no memory of the last one, which is why everything it needs lives in team/. automations run on Flash by default: switch this one to Pro in the Automations tab, because it's a judgment job. and do the test run when it offers one. unattended runs auto-deny anything that would need your approval, and the test run records the exact permissions the job needs. new automations start paused, so turn it on in the same tab.
the A/B run is a saved workflow. /run-workflow writes it for you; this is roughly what it should look like:
1# evals/run_golden.py · run with: /run-workflow Run evals/run_golden.py with args variant=baseline (then variant=proposal)2import pathlib3variant = args.get("variant", "baseline")4tasks = sorted(pathlib.Path("evals/golden").glob("*.md"))5first = "Apply the change in the newest file in team/proposals/, then " if variant == "proposal" else ""67phase("Run")8results = await parallel(tasks, lambda t: agent(9 f"{first}do the task in {t} exactly. Return the files you changed and every proof command with its exit code.",10 schema={"type": "string"}, role=f"{variant}: {t.stem}", workspace="branch"))1112phase("Grade")13grader = agent(role="Grader", type_name="grader")14for t, r in zip(tasks, results):15 score = await grader(f"Score this against the checklist in {t}:\n{r}", schema={"type": "string"})16 log(f"{variant} | {t.stem} | {score}")
run it twice, baseline and proposal, and have the main agent add both rows to team/scoreboard.md.
if you run the evals through the Gemini API instead of the app, send them through Batch or Flex. it's offline work, and Google prices both at half of standard: $1.50 in and $7.50 out per 1M tokens for Neon.
the 4 rules that keep it improving the right thinga loop optimizes whatever you measure, including the wrong thing.
Neon's numbers here are good: 99.2% on the honesty eval, 0.0% cheating on Terminal-Bench 4.0, 0.09% misaligned actions on Google's agentic safety suite. but on Google's internal coding cheating eval it still takes shortcuts 2.45% of the time. lowest of any Gemini 4 model. still not zero. so:
- the team never touches the exam. evals/ and the scoreboard sit in the Never list, the grader is read-only, and the critic is a different model
- one change per week. change two things at once and you can't tell which one helped
- every change has a revert. team/changelog.md says what changed, which score moved, and how to undo it
- you hold the merge. the proposal waits for you, /learn waits for you, nothing ships itself
7. the scoreboard

five numbers, one row a week:
- exam score: the average grader score across the golden tasks
- rounds to ACCEPT: how often the critic bounced work. falling = the lessons are working
- cost per task: from your usage page or the API bill
- human corrections: how many times you had to step in
- lessons: added and retired this week. more than 5 new in a week means the briefs are broken, not the workers
score up, rounds down, cost flat: the team is improving. score up and cost doubled: you just bought a bigger model.
8. the cost math

the price card, straight from Google AI Studio:
https://x.com/GoogleAIStudio/status/2123168408678359294
- lead on High, not xhigh. Artificial Analysis: 60 vs 61 on their index, $3.74 vs $6.44 per task, and 123M vs 283M output tokens across the full index, where the median model used 65.4M
- volume on Hydrogen. $1.50 / $7.50 vs Neon's $3 / $15
- keep the top of every prompt identical. implicit caching kicks in on shared prefixes of 4,096+ tokens at $0.15 per 1M instead of $3. AGENTS.md first, lessons second, the task last
- evals through Batch or Flex at half price
- watch the calendar. Carbon is on a $2 / $10 promo through November 30, then $4 / $20 from December 1. during the promo Neon actually costs more per token than Carbon. after it, Neon is 25% cheaper
- plans. Neon in Antigravity needs paid Google AI Pro, Ultra or Enterprise, and on the API it's paid tier only. a swarm burns quota much faster than one conversation, because every worker is its own agent
9. the prompt packall 8 in one place. change the parts in <brackets>.
P1 · bootstrap the harness (Orchestrator · Neon on High)
1Set up a self-improving agent team in this repo. Don't change any app code.21. Read the repo and propose AGENTS.md with: Team (lead, workers, critic, scribe), Proof commands (the real ones in this repo, run each once to confirm), Done means, Memory, Never. Show it to me before writing.32. Create .agents/agents/critic.md, scribe.md and grader.md from the specs below. Use only exact Antigravity tool names.43. Create team/lessons.md (with a "## Retired" section), team/failures.jsonl, team/scoreboard.md (header row only), team/changelog.md, team/proposals/ and evals/golden/.54. Create .agents/hooks.json and the three hook scripts below. Adjust the test command to this repo.65. Run one small task end to end and show me which hook fired, what the critic said and what the scribe wrote.7<paste the agent specs and hook scripts from this article>
P2 · draw the graph before you build
1Before any code, draw the team graph for <goal>.2Nodes: router, lead, one worker per independent piece, join, critic, scribe, me.3Edges: label each one with what it carries (brief, diff, verdict, lesson).4Mark which workers run in parallel and which must wait. Mark the critic's back-edge and its round cap.5Give it as a Mermaid flowchart, then as a plain arrow list, then estimate how many agent runs one pass costs.6Stop and wait for my OK
P3 · write a golden task
1Turn <a task I did last week> into evals/golden/<name>.md:2## Task: the exact request, as I would send it3## Context: the files and inputs it needs4## Checklist: 5-8 items a read-only grader can verify from files or command output, each pass or fail5## Out of scope: what a good answer must not touch6No item may depend on taste. If a check needs judgment, rewrite it until it doesn't.
P4 · /swarm with the critic on another model
1/swarm <goal>.2Read team/lessons.md before writing briefs. One worker per independent module, each brief says owns / must not touch / done means.3Run the workers on Gemini 4 Hydrogen and the verifier on Claude Opus 5.5, so a different model checks the work.4The verifier re-runs the proof commands from AGENTS.md and posts ACCEPT, or REJECT with numbered fixes and one LESSON line.5Max 2 fix rounds per worker, then report to me what's still open.
P5 · close the session
1/learn2@scribe close the run. Sources: LESSON lines on the board, new rows in team/failures.jsonl, my corrections in this conversation. Max 5 new lessons. Show me the diff of team/lessons.md.
P6 · the 2-minute weekly read
1Read team/scoreboard.md and team/changelog.md.2In 6 lines: is the team improving (score up, rounds down, cost flat)? Which seat is weakest and what evidence says so? Which kept change helped most? Which lesson hasn't been triggered in 30 days? What should next week's ONE change be?3Numbers only from the files. No adjectives.
P7 · is xhigh worth it for this team?
1A/B the lead's thinking level on the 5 hardest golden tasks.2Run each task twice in separate git worktrees with the Antigravity CLI in headless mode: once with --model gemini-4-neon --effort high, once with --effort xhigh.3Grade every result with @grader. Log score, rounds and token usage per task.4Recommend xhigh only for the tasks where the score gain is worth the extra cost, and write it to team/proposals/<date>-thinking.md.
P8 · retire stale lessons
1@scribe audit team/lessons.md. For each active lesson, find when it was last relevant in team/failures.jsonl and the last 4 changelog entries.2Retire anything not triggered in 30 days or contradicted by a newer lesson. Merge lessons that say the same thing.3Target: under 25 active lines. Show me the diff.
10. the 7-day rolloutday 1 · harness. AGENTS.md, critic.md, hooks.json. run one real task on Orchestrator · Neon High
- day 2 · memory. the team/ folder and scribe.md. end every session with P5
- day 3 · graph. draw it with P2, run it once with /run-workflow, save the script
- day 4 · exam. write 10 golden tasks from work you already shipped (P3)
- day 5 · baseline. run evals/run_golden.py, write your first scoreboard row
- day 6 · automation. set up the monday proposal, do the test run, switch it to Pro
- day 7 · the first tuning loop. read the proposal, A/B it, keep or revert
stuck on day 4 because you can't think of good exam tasks? Logan asked people what they were building with Neon, and the replies are a long list of real jobs:
https://x.com/OfficialLoganK/status/2124212276010102918
11. what it won't doit won't rescue a vague goal. no "done means", no loop
- it won't replace you on the merge. every loop here ends at your approval on purpose
- it isn't free. swarms are in preview and burn quota fast, and xhigh takes about 65 seconds to its first answer token
- Antigravity gives Neon up to 512K tokens of context, the API gives it 1M. plan your memory files for the smaller number
- it won't fix a model's weak spots. Opus 5.5 still leads Neon on Terminal-Bench 4.1 and FrontierCode 2.0. that's what the second-model critic is for
the takeawaya model gets smarter when Google ships a new one. a team gets smarter every monday.
the harness stops it from cheating. the graph lets it split the work. the loops make week 4 beat week 1.
build the team once. let the files remember.
sources
official:
- Introducing Gemini 4 Neon (Google blog): https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-neon/
- Gemini 4 Neon model card: https://deepmind.google/models/model-cards/gemini-4-neon/
- Gemini 4 Neon model page: https://aistudio.google.com/docs/models/gemini-4-neon
- Gemini API pricing: https://aistudio.google.com/docs/pricing
- Choosing a model: https://aistudio.google.com/docs/choosing-a-model
- Neon developer guide (thinking levels): https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/guides/gemini-4-neon
- Antigravity models and Orchestrator: https://antigravity.google/docs/models/
- /swarm: https://antigravity.google/docs/swarm/
- /run-workflow: https://antigravity.google/docs/dynamic-workflows/
- Custom subagents: https://antigravity.google/docs/subagents/
- Hooks: https://antigravity.google/docs/hooks/
- /learn: https://antigravity.google/docs/commands/learn/
- /goal: https://antigravity.google/docs/commands/goal/
- /automation: https://antigravity.google/docs/commands/automation/
- ADK graph workflows: https://adk.dev/graphs/routes/
independent:
- Artificial Analysis launch analysis: https://artificialanalysis.ai/articles/gemini-4-neon-intelligence-gain
- Artificial Analysis model page: https://artificialanalysis.ai/models/gemini-4-neon
- Arena.ai Agent Arena: https://x.com/arena/status/2123169189397709174
- DHH on Omarchy: https://x.com/dhh/status/2124860839572488538





