A working example

Two AI agents, one shared folder

Claude and Antigravity build software side by side. Each one leads what it does best, checks the other's work, and leaves the big decisions to a human.

  • Claude · Terminal & logic
  • Antigravity · UI & browser
  • The human · Goals & approvals
Abstract architectural illustration of a code-and-checklist panel on the left and a browser design canvas on the right, linked to one shared central folder beneath a warm compass beacon.
Separate strengths, one shared workspace — coordinated through plain notes and clear ownership.

Meet the team

Claude

The engineer in the terminal

Made by: Anthropic. Works as Claude Code inside VS Code.

Best at

  • Back-end and core logic
  • Refactoring and debugging across many files
  • Writing and running tests
  • Code and security reviews
  • Terminal, build, git and deploy scripts
  • Plans, specs and documentation

Antigravity

The designer with a browser

Made by: Google. An agentic assistant powered by Gemini.

Best at

  • UI design and front-end prototypes
  • Testing live pages in a real browser
  • Generating images, mockups, icons and diagrams
  • Understanding images, audio and video
  • Web research and long documents
  • Exploring architecture options

The human

The one who decides

Sets the goal, approves plans, settles disagreements, and gives the go-ahead for anything that can't be undone, like a deploy.

  • Set goals
  • Approve plans
  • Settle disagreements
  • Approve deploys

Who leads what

Every area has a lead and a partner. Leads are defaults, not walls: either agent can pick up any task when it's needed.

Area Lead Partner
Testing live pages in a browser Antigravity Claude fixes what it finds
UI prototypes and visual design Antigravity Claude reviews the code and wires it up
Images, mockups, icons and diagrams Antigravity —
Audio and video analysis Antigravity —
Research and long documents Antigravity Claude double-checks key facts
Architecture Antigravity explores options Claude turns the choice into a spec
Back end, logic, data and APIs Claude Antigravity tests it end to end
Refactoring, debugging and performance Claude Antigravity reviews
Unit and integration tests Claude Antigravity adds browser tests
Security reviews Claude Antigravity checks browser flows
Terminal, build, git and deploys Claude —
Docs and handoff notes Claude Antigravity adds screenshots and diagrams
Code review Whoever didn't write the change —

Known limits

Good teamwork starts with knowing what each teammate can't do.

Claude No live browser

Has no interactive browser in this setup; it can only check pages through command-line screenshots. It can't generate images either.

Antigravity Sandboxed shell

Its terminal has no internet access unless the human allows a command.

Both Files are the bridge

Neither can see the other's screen. Anything they share goes into the folder as a file.

How a feature gets built

Seven lightweight steps for new features, plus a three-step fast track for small fixes.

  1. Goal

    The human

    The human describes what they want.

  2. Explore and plan

    Antigravity + Claude

    Antigravity researches options and sketches the UI. Claude writes the plan: tasks, files, owners and tests.

  3. Approve

    The human

    The human approves the plan.

  4. Build

    Both agents

    Each agent claims its files and builds its part.

  5. Cross-review

    Swap reviewers

    Each agent reviews the other's work.

  6. Verify

    Tests + browser

    Claude runs the tests. Antigravity checks the result in a browser and takes screenshots.

  7. Hand off

    The human

    The human reviews a short summary and approves, and then the work is committed.

Fast track

Small fixes skip the planning and go straight from build to verify to hand-off.

House rules

Simple file-based habits that keep two agents working concurrently without stepping on each other.

Separate outboxes.

Each agent writes only in its own notes file and reads the other's. There's no shared file to fight over.

Claim before you edit.

Before touching a file, an agent lists it, with the time, in its outbox. If two claims collide, the later one backs off.

One writer per document.

The other agent suggests changes instead of editing.

No silent reverts.

Disagreements get written down, and the human decides.

Done means verified.

Tests pass for logic, and a screenshot shows the UI.

The human holds the keys.

Deploying, publishing, deleting and pushing all need their OK.

Claude outbox Writes notes & file claims · Reads Antigravity
One shared folder One writer per file · Verified with tests & screenshots
Antigravity outbox Writes notes & file claims · Reads Claude

How this page was made

This page follows its own rules. Here's how it went from an empty folder to a live app, in one day.

  1. Agree how to work together

    Both agents

    Claude and Antigravity wrote their working agreement: who leads what, how to claim a file before editing it, and what needs the human's OK.

  2. Plan and build the page

    Antigravity + Claude

    Claude wrote the plan and the page text. Antigravity designed and built the page and made its hero image.

  3. Review and verify

    Both agents

    Each agent reviewed the other's work, and 10 fixes went in. Automated checks and headless Chrome screenshots confirmed the result.

  4. Add a backend and a database

    Claude

    A small read-only API, written in Python, serves the page's data from a Firestore database. The nginx server that serves the page passes /api/ requests to it.

  5. Model it locally with Docker

    Claude

    Docker Compose runs the frontend, the API and a Firestore emulator on one Mac, built from the same Dockerfiles as the Cloud Run images. All 74 checks pass.

  6. Commit the first version with git

    Claude

    Before anything went live, the human asked for a commit. The first version went into a local git repository, so there's always a known-good version to return to.

  7. Deploy to Google Cloud

    Human-approved

    With the human's OK, Cloud Run runs the page and the API in Tokyo, with the data in its own Firestore database. The live app passes the page and API checks.

Claude

Wrote the plan and this text, built the API, the Docker setup and the automated checks, and ran the deploy.

Antigravity

Designed and built the page, made the hero image, and reviewed every screenshot.

The human

Set the goals, asked for a local model first, and gave the OK to commit and deploy.