The TestSprite CLI is now live — open source.Star it on GitHub

The Testing Tool Antigravity Can Drive Itself

Antigravity puts an agent at the centre of the editor, which makes verification the constraint rather than authoring. TestSprite closes the loop: one command installs a verification skill into your repo, and from then on Antigravity can create tests, run them against a real browser and live APIs in the cloud, and pull back a single self-consistent failure bundle when something breaks — without you relaying instructions from a docs page.
Type
Solution
Language
English

Seamlessly Integrates With Your Favorite AI-Powered Editors

Claude CodeCodexVisual Studio CodeCursorTrae
We don't write your code — Antigravity does that. We verify what it wrote, against a real browser and real APIs, and hand back a root-cause hypothesis it can act on.

One Command to Onboard

testsprite setup --agent antigravity configures your API key, verifies it, and drops a verification skill into your repository. Antigravity learns the loop once instead of re-deriving it from documentation every session. Installation is purely local.

Tests Without Browser Code

A test is a plain-language plan file with action and assertion steps — no selectors to maintain, nothing that breaks on the next redesign. testsprite test create --plan-template prints a schema-correct skeleton pinned to your installed version.

One Failure Bundle, Not Five Artifacts

test failure get returns the failing step, its neighbours, screenshots, DOM snapshots, the test source, a root-cause hypothesis, and a recommended fix target — all sharing one snapshot id. The CLI refuses to stitch data from two different runs.

A Suite That Outlives the Context Window

Every passing test is banked. The requirement keeps being checked next session, next refactor, and after Antigravity has long forgotten why it mattered — which no context window, however large, can do.

Priority
Test
Status
HIGH
TC001_Signup_Creates_Account
Pass
HIGH
TC002_Payment_Declines_Show_Retry
Failed
MEDIUM
TC003_Profile_Update_Persists
Pass
MEDIUM
TC004_Rate_Limit_Returns_429
Pass
LOW
TC005_Theme_Toggle_Persists_On_Reload
Warning

Let Antigravity Verify Its Own Work

Generation is fast; review is the bottleneck. Give Antigravity a way to prove a change works before it opens a pull request, and the diff stops being something a human has to read line by line.

Built for Teams Shipping Antigravity Code

Free to Install, Open Source

The CLI is Apache-2.0 on GitHub and free to install from npm. Requires Node 20.19+, 22.13+, or 24+. Test execution runs in the cloud and consumes workspace credits.

Works Non-Interactively

TESTSPRITE_API_KEY=sk-... testsprite setup --from-env --yes --agent antigravity never prompts, which is what an agent loop and a CI job both need.

Safe to Explore

--dry-run exercises the full code path offline with canned data. test scaffold and test lint never touch the network or your credentials at all.

Scriptable by Contract

A stable --output json shape and documented exit codes: 0 passed, 1 failed, 3 auth, 12 out of credits. A broken feature and a broken pipeline are distinguishable.

Trusted By Businesses Worldwide

"Good job! Pretty cool MCP from TestSprite team! AI coding + AI testing helps you build better software easily!"

"TestSprite offers rich test case generation, clear structure, and easy-to-read code. It also supports simple online debugging with the ability to quickly expand by generating new test cases."

"TestSprite's automation helps us reduce tons of manual work. The developers can easily catch and resolve bugs earlier in the development process."

FAQ

How does TestSprite work with Antigravity?

Run testsprite setup --agent antigravity once. It installs a verification skill file into your repository describing the commands, the JSON shapes, and the exit codes, so Antigravity can create, run, and triage tests on its own. Antigravity is in the CLI's supported harness list, so the same setup --agent flow applies without any extra configuration.

Does Antigravity have to write browser automation code?

No. Tests are plain-language plan files with action and assertion steps. Run testsprite test create --plan-template for a schema-correct skeleton, or ask TestSprite to propose the first set with testsprite test plan generate — proposals are staged for review and nothing is written to disk until you accept them.

What exactly does TestSprite test?

Web application UI in a real cloud browser, and backend APIs. It does not drive native iOS or Android UI, desktop applications, or emulators. If your product has a web frontend or an HTTP API, that is what we cover.

Is it free, and is it open source?

The open-source CLI is free to install from npm and Apache-2.0 licensed. Running tests executes in TestSprite's cloud and consumes workspace credits — 0.5 per frontend run, 0.2 per backend run. There is a free community tier to start on.

Why not just let Antigravity run unit tests?

Unit tests are the cheapest check and worth running constantly. They are also blind to the thing that breaks most often in an agent-written change: the integration between a component, the route that renders it, and the API behind it.

What happens when a test is flaky rather than genuinely failing?

The failure bundle carries a root-cause hypothesis rather than a bare red mark, and testsprite test flaky replays a test several times with auto-healing off and reports a stability score when you want to settle the question directly.

Give Antigravity a Way to Check Its Own Work