ANTIGRAVITY LABJP
Articles/Antigravity Basics
Antigravity Basics/2026-06-24Intermediate

Combining All Four Antigravity Surfaces in One Project — Up to Running Your Own SDK Agent

How to split a single project across Antigravity 2.0, CLI, IDE, and SDK, and how to bridge between them — from diverging on design to converging on production, all the way to running a small custom agent with the Python SDK, with implementation included.

Antigravity266SDK4workflow45Python14agents102automation60premium15

Premium Article

In the previous article I sorted Antigravity's four surfaces by the question of when to reach for which. In a real project, though, switching the entry point per phase flows much better than committing to a single surface. Here I will show you the exact combination I run as an indie developer, implementation and all.

The subject is a mundane indie scene: semi-automating the research behind Dolice Labs blog posts and the code checks that come with them. It is not a flashy setup, but it makes it easy to see how the four surfaces mesh, each in its own lane.

Split one project into four phases and assign a door to each

The first move is to cut the work into phases of different character. My baseline is this four-way split.

  1. Diverge — widen what to build and research. Throw several research tasks in parallel with Antigravity 2.0.
  2. Converge — actually write and tidy the code. Lock it down in the IDE, approving line by line.
  3. Operate — verify behavior on the server. Run it headless with the CLI.
  4. Automate — hand the repeating routine to your own agent. Build it with the SDK.

This split works because each surface's strength lines up cleanly with the phase's demand. Diverging wants parallelism, converging wants visual review, operating wants headless, automating wants code. Because they share a harness, crossing phases costs almost no re-setup.

Mind the bridge between diverging and converging

When I carry research from 2.0 into IDE implementation, slipping one step in between cuts down on accidents. My rule is to write the conclusions from 2.0 into a short NOTES.md in the repo before opening the IDE.

The reason: if the conclusions of several parallel tasks live only in my head, the IDE phase drops "which option did I settle on a moment ago." I skipped this a few times and paid with rework. The humble act of dumping the diverge output into text is what most reduces churn in the converge phase.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
A blueprint that splits one project into four phases and assigns 2.0 for diverging, IDE for converging, CLI for ops, SDK for automation
Minimal Python code to launch a local agent with the Antigravity SDK and run a repository-inspection task
Exception handling to stop an async agent safely, plus three production-deploy pitfalls and how to avoid them
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Antigravity2026-06-24
Antigravity 2.0, CLI, IDE, or SDK — How to Pick the Right Surface
Antigravity ships as a desktop app, a CLI, an IDE, and a Python SDK. This guide cuts through the four surfaces and gives you a simple decision path for picking the right entry point for the work in front of you.
Antigravity2026-04-17
google-genai SDK with Antigravity: Python Quickstart Practical Guide
Use the google-genai SDK to call Antigravity from Python. Install, authenticate, generate text, use multimodal inputs, stream responses, and handle errors—all with code.
Antigravity2026-06-19
Migrating to Antigravity 2.0 Without Stopping Your Automation: Parallel-Run and Rollback Design
How to move to Antigravity 2.0 without breaking running automation: how to set up a parallel-run window, verify output parity, pin versions, and keep a one-command rollback path, based on migrating four sites one at a time.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →