Skip to content

evanca/gde-sprint-26-loop-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codelab: Run a Self-Correcting Agent Loop to Done with /goal

A hands-on agent loop tutorial: hand Antigravity 2.0's /goal one high-level goal and watch a self-correcting agent loop run on its own — plan, act, verify, repair, finish — until the build passes its tests, with no step-by-step prompting. A great starting point if you're new to autonomous, closed-loop agents.

▶️ Start the codelab: https://happycode.studio/gde-sprint-26-loop-public/

What you'll build

The agent builds and verifies a small static storefront (the Lumière boutique) from a single goal, closing the loop against an objective oracle (node --test + verify.mjs):

The finished Lumière boutique the agent built from one goal: a product grid, a category filter, and a cart subtotal

Get the starter files

This repo also hosts the published codelab. Pull down just the workspace/ folder with a sparse checkout — that folder is your working directory:

git clone --no-checkout --depth 1 https://github.com/evanca/gde-sprint-26-loop-public.git
cd gde-sprint-26-loop-public
git sparse-checkout init --cone
git sparse-checkout set workspace
git checkout
cd workspace
  • workspace/ — the boutique starter (your working directory): a skeleton index.html, stub helpers in js/shop.js, and the closed-loop oracle (tests/shop.test.js + verify.mjs) that defines "done". The goal lives in the /goal prompt; the agent reads the tests for the exact contract.
  • reference/ — the completed end state, for comparison.

The oracle is pure JavaScript and verified offline with node --test (Node.js 20+) — no agent run needed. Running the loop uses Antigravity 2.0's /goal (also available in the Antigravity CLI, agy).

Follow the codelab from here.


Google Cloud credits were provided for this project as part of the Agentic Architect Sprint 2026.

#AgenticArchitect #GoogleAntigravity

About

Agent loop tutorial: hand Antigravity 2.0's /goal one goal and a self-correcting agent loop plans, acts, verifies, and repairs until the build passes its tests.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors