Meet the three surfaces of Antigravity and map each back to the agent loop: Perceive → Reason → Act → Remember. You won't build the real app yet — you'll learn where things live and what an agent looks like when it actually works.
agy command)The old Gemini CLI is being retired — make sure you installed the Antigravity CLI, not gemini. We verify in Step A1.
Confirm each of these before we begin:
node -v)$ mkdir agentic-warmup && cd agentic-warmup
We start here because the CLI is the most transparent surface — you see the raw agent loop with nothing hiding it.
Action: check the CLI is the Antigravity one.
$ agy --version
agy. If your muscle memory types gemini, stop — that's the retired tool.Action: ask for something small and observable.
$ agy "create a file called hello.txt containing
a haiku about autonomous agents"
agy --help and find the "start a task / prompt" form.hello.txt now exists — cat hello.txt to confirm.| What you saw | Agent component |
|---|---|
| It read your goal + folder state | Perception |
| "I'll create a file…" | Reasoning |
| The file actually appearing | Action |
| It knew the file now exists | Memory |
Action: give it a goal that fails first, so you can watch it recover.
$ agy "run the script start.js"
(There is no start.js yet — that's intentional.)
The CLI showed the loop bare. The IDE wraps it in a workspace so the agent can see your whole project and act across many files.
Action: open Antigravity IDE → open your agentic-warmup folder.
hello.txt from Part A in the file tree — same folder, new surface.Action: in the agent panel, paste this goal:
Create a minimal Node script app.js that reads
hello.txt and prints its contents in uppercase,
plus a package.json so it can run.
app.js and package.json exist, created by the agent.Action: run it in the IDE's integrated terminal.
$ node app.js
node app.js prints the uppercase haiku. (Bonus if the agent fixed an error to get there.)The IDE is for you + one agent + code. The App is mission control — many agents, many tasks, you supervising.
Action: open the standalone Antigravity App (Manager).
Action: point a new task at your agentic-warmup workspace:
Add a README.md to this project explaining
what app.js does.
README.md exists, and you watched it appear as a tracked task with reviewable output.| Surface | You mostly watched… | Best for |
|---|---|---|
| CLI | the raw loop, step by step | transparency, automation, scripting |
| IDE | the agent acting on code | hands-on building with the agent |
| App / Manager | the agent's tasks & artifacts | supervising, orchestrating, async |