Setup guide / Google Antigravity
Set up curio for Google Antigravity.
Antigravity reads workspace skills from .agents/skills, in the app, the IDE and the agy CLI. Install curio's skill in the project and its agents can work on your workspace through curio.
Google Antigravity · the session the steps below set up, played on this page
Setup / 01
Four steps, once per project.
The agent gets a curio session and nothing more. Its edits wait in Sudo's sandbox, built against the workspace, until a person approves the commit.
-
01
Install curio
On the machine the agent works on. Skip this if curio is installed already.
Install script
The self-contained build for your system, checked against the release and put on your PATH. No .NET needed. Run it again to update.
$ curl -fsSL https://curiosity.sh/install.sh | bash $ curio tuiPS> irm https://curiosity.sh/install.ps1 | iex PS> curio tuiInstalls to
~/.curiosity/bin· read the script.NET tool
With the .NET SDK installed, curio is a global tool.
dotnet tool updatekeeps it current.$ dotnet tool install --global Curiosity.Shell $ curio tuiOr take the single file for your system from the releases
-
02
Sign in to your Studio
The browser signs you in with any login the workspace supports, SSO included. It needs a system administrator account. Leave the approve checkbox on the sign in page unticked, and every commit the agent stages waits for a person.
$ curio login --server https://my-workspace.curiosity.ai $ curio whoami -
03
Install Google Antigravity
Download Antigravity for your system from Google and sign in with your Google account. Open your project folder in it.
-
04
Give it curio's skill
curio skills install ./.agents/skillswrites.agents/skills/curio/SKILL.mdin the project, where Antigravity looks for workspace skills.$ curio skills install ./.agents/skillsRun it again to refresh the index of Sudo's skills. A copy you edited is kept unless you pass
--force.
Use it / 02
Ask in your words. Approve in your browser.
Ask the agent for the change in the agent panel, or in agy in the terminal.
You ask
Add a code endpoint to the workspace that lists the open supplier notices for a part. Build it and stage the commit.
The agent reads the skill, then works through curio, one command at a time. You see each command; the last one waits for you.
$ curio skills search "code endpoint"
$ curio skills show add-code-endpoint
$ curio cat /workspace/config/schemas/nodes/Part.cs
$ curio put open-notices.cs /workspace/code/endpoints/open-notices.cs
$ curio run -- build
$ curio run -- commit -m "Open supplier notices for a part"
$ curio commit approve --no-wait # a person reviews it
$ curio commit wait --timeout 120 # until they answer
01
Let the sandbox reach the workspace
With the terminal sandbox on, allow the workspace's domain, so curio can reach it.
02
Choose what runs without asking
Antigravity reviews terminal commands as its settings say. Allowing curio lets the agent read and build on its own; approval still waits for a person.
03
Exit codes mean something
curio run passes the sandbox command's exit code through. 77, 78, 75 and 64 mean not signed in, not allowed, conflict and usage, so the agent can tell a failed build from a missing sign in. 79 is a commit waiting for a person, and 124 is curio giving up waiting.
04
JSON, and no waiting forever
The skill has the agent pass --json for one line of JSON, --yes where a command asks, and --timeout on every call. A long build runs with curio run --detach and is picked up with curio run wait.
05
Never the interface
The skill tells the agent to never run curio tui. It is the full screen interface for people, and it would hang the agent's terminal. Plain curio only prints the help.
06
Re-read before overwriting
Sudo or an admin may edit the same session. curio get prints the file's hash, and curio put --expected-hash <hash> refuses the write if the file changed since.
07
Approval stays with a person
Signed in without the approve right, the default, curio commit approve --no-wait opens Sudo's review screen in the browser and exits 79 at once. curio commit wait then hears the answer, whatever the agent does.
Other coding agents / 03
The same curio, from another harness.
Claude Code
Skill in .claude/skills
Reads the skill where it looks for skills. --global puts it in ~/.claude/skills for every project.
OpenAI Codex
Skill in .agents/skills
Codex reads skills from .agents/skills in the repository, in the CLI, the IDE and its cloud tasks.
GitHub Copilot
Skill in .github/skills
Copilot reads .github/skills. For the cloud agent, add the workspace token as an Agents secret and the workspace to its firewall allowlist.
Mistral Vibe
Skill in .agents/skills
Vibe reads .agents/skills in a trusted folder, and can run offline on a local Devstral model.
Devin
Skill in .agents/skills
Devin reads .agents/skills in every repository it works on. Its VM signs curio in from two secrets, CURIOSITY_SERVER and CURIOSITY_TOKEN.
Any other harness
Skill in any folder
If it can run a shell command, it can run curio: JSON output, exit codes that mean something, and one skill that says how.
Setup guide