Concept

Knowledge: Teaching Antigravity Your Codebase

The knowledge base turns corrections into durable rules — agents that brief like teammates, not strangers.

Antigravity maintains a knowledge base for your workspaces: durable facts distilled from past tasks — conventions, quirks, decisions — retrieved automatically when a new task touches the same ground. When you correct an agent ('never edit the generated client; re-run codegen instead'), that correction can become a knowledge item every future agent loads.

Curate it the way you curated CLAUDE.md in Course 1: short, specific, non-obvious, and pruned occasionally for rot. Add explicit items for the rules you'd otherwise repeat — deploy quirks, do-not-touch zones, house test patterns, the flaky suite that needs --runInBand.

The compounding effect is the whole game. A fresh workspace needs a paragraph of briefing per task; a workspace with three weeks of curated knowledge needs a sentence. That delta is most of the difference between agents that feel magical and agents that feel like work.

Check your understanding
Q1. What belongs in the knowledge base?
Q2. Why does a correction beat a one-off instruction?
· Score 100% on the quiz.