Antigravity IDE, with AGENTS.md in every folder
ultracite init --editors antigravity writes .vscode/settings.json, so Antigravity IDE formats on save and applies safe fixes through Oxc, Biome or ESLint, and installs the extension from Open VSX with antigravity-ide. Its agent loads AGENTS.md folder by folder, and its edit tools can aim at the lint errors your extension reports, by ID.
Antigravity IDE by GoogleChecked against Antigravity IDE 2.5.5
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,Format on save
"emmet.showExpandedAbbreviation": "never",
"js/ts.tsdk.path": "node_modules/typescript/lib",The project’s TypeScript
"js/ts.tsdk.promptToUseWorkspaceVersion": true,
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"[css]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[graphql]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[handlebars]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[html]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[json]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[less]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[scss]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[typescript]": {Oxfmt formats it
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[vue-html]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[vue]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "explicit"Oxlint’s safe fixes
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": "node_modules/typescript/lib"
}init does in Antigravity IDE- 1Writes
.vscode/settings.jsonA new file, or merged into yours setting by setting, with your comments and other settings kept. - 2Installs
oxc.oxc-vscodeWithantigravity-ide --install-extension, when it creates the settings file.
- 3If
initcouldn’t runantigravity-ide, installoxc.oxc-vscodefrom the Extensions view, orbiomejs.biomeif you picked Biome. Antigravity IDE searches Open VSX. - 4Save a TypeScript file: Oxfmt formats it and Oxlint’s safe fixes apply.
Three toolchains, one settings.json
init writes the settings for the toolchain you pick, so Antigravity IDE formats with the same tool as ultracite fix and applies its fixes when you save.
Oxlint + OxfmtDefault
- Extension
- oxc.oxc-vscode
- Formats with
- oxc.oxc-vscode
- On save
- source.fixAll.oxc
--linter oxlint
- Extension
- biomejs.biome
- Formats with
- biomejs.biome
- On save
- source.fixAll.biomesource.organizeImports.biome
--linter biome
- Extensions
- dbaeumer.vscode-eslintesbenp.prettier-vscode
- Formats with
- esbenp.prettier-vscode
- On save
- source.fixAll.eslintsource.organizeImports
--linter eslint
Open VSX extensions and the agent’s reach
Antigravity IDE takes the same settings file as VS Code but gets its extensions from Open VSX. How far its agent can reach into .vscode and the terminal depends on your security settings.
- Extensions
- From Open VSX by default (the
antigravity.marketplaceExtensionGalleryServiceURLsetting), not the Visual Studio Marketplace.oxc.oxc-vscode,biomejs.biome,dbaeumer.vscode-eslintandesbenp.prettier-vscodeare all there. - Code OSS 1.107
- Antigravity IDE 2.5.5 is built on Code OSS 1.107, which predates
js/ts.tsdk.path, so for Antigravityinitalso writestypescript.tsdk. - Moving from 1.0
- Since 2.0.3, the IDE can import settings, extensions and keybindings from Antigravity 1.0, the app before the split.
- Strict mode
- Since 2.1.1, strict mode asks before the agent touches
.vscodeor.cache. It also makes every terminal command ask, ignores the allowlist and respects.gitignore. - Terminal commands
- Request Review asks before any command that isn’t on your allowlist; Always Proceed runs everything that isn’t on your denylist.
- File access
- By default the agent reaches only your project folders and
~/.gemini/antigravity-ide/, where it keeps artifacts and configuration.
Rules folder by folder, lint errors by ID
Antigravity IDE’s agent combines every rule file it finds instead of picking one, and loads the AGENTS.md in each folder between a file it touches and the workspace root. Its edit tools take a TargetLintErrorIds argument, so an edit can target specific errors your linter reports.
- 1
~/.gemini/AGENTS.md, ~/.gemini/GEMINI.mdGlobal rules for every project: no frontmatter, always on. Modular global rules go in~/.gemini/config/rules/. - 2
AGENTS.mdUltraciteAt the workspace root, whereinitwrites Ultracite’s rules. Always on for its folder; aGEMINI.mdbeside it loads too. - 3
.agents/rules/*.mdModular rules. Each needs atriggerin its frontmatter (always_on,model_decision,globormanual), or Antigravity drops it silently. - 4
src/**/AGENTS.mdLoaded when the agent reads or edits a file below that folder. The more specific folder wins when rules conflict. - 5
.agents/skills/Workspace skills, whereinitinstalls the Ultracite skill. The agent sees each skill’s name and description and reads the rest when it’s relevant.
- 01The agent edits a file with
write_to_file,replace_file_contentormulti_replace_file_content. - 02Your Oxc, Biome or ESLint extension lints the change in the editor, as it does for your own edits.
- 03The agent can fix them in place, aiming at specific ones with
TargetLintErrorIds, or runnpx ultracite checkthroughrun_command. - 04No Ultracite hook runs.
.agents/hooks.jsonsupportsPostToolUse, but its documented output is an empty object, so a hook can’t send results back.
Worth knowing about Antigravity IDE
Antigravity 2.0 is a different app
In May 2026 the original Antigravity split in two. Antigravity 2.0 became a standalone app for running agents, replacing the Agent Manager, and Antigravity IDE kept the editor. 2.0 has an Open IDE button that opens the current project in the IDE;
--editors antigravityconfigures the IDE.Global skills live in different places
Workspace rules,
.agents/skills/and.agents/hooks.jsonwork the same in the IDE, Antigravity 2.0 and Antigravity CLI. Global skills don’t: the IDE reads~/.gemini/config/skills/, while the CLI reads~/.gemini/antigravity-cli/skills/. Keep the Ultracite skill in the workspace.Rules have a size budget
Antigravity cuts any rule file past 24,000 bytes, and global and
always_onrules,AGENTS.mdincluded, share a 20,000-token budget. Past it, the largest files become pointers the agent reads on demand. Ultracite’s rules are about 5 KB.
Antigravity IDE questions, answered
- Does Ultracite work with Antigravity IDE?
- Yes.
npx ultracite init --editors antigravitywrites.vscode/settings.jsonfor Oxlint and Oxfmt, Biome, or ESLint and Prettier. It installs the matching extension from Open VSX with the IDE’santigravity-idecommand. - Is Antigravity IDE the same as Antigravity 2.0?
- No. Since May 2026, Antigravity 2.0 is a standalone app for running agents that works independently of an IDE, and Antigravity IDE is the editor, installed separately. Ultracite’s
antigravityeditor setup is for the IDE. - Does Antigravity IDE read AGENTS.md?
- Yes, alongside
GEMINI.md, since 1.20.5. It loadsAGENTS.mdat the workspace root and in each folder between a file the agent touches and the root, plus~/.gemini/AGENTS.mdfor every project. - Why didn’t the Biome extension install in Antigravity?
initinstalls it withantigravity-ide --install-extensiononly when it creates.vscode/settings.json, and only ifantigravity-ideis on yourPATH. Otherwise, installbiomejs.biomefrom the Extensions view: Antigravity searches Open VSX, where Biome publishes it.- Does Antigravity’s agent see Oxlint errors?
- Its edit tools take a
TargetLintErrorIdsargument for fixing specific lint errors, so it can work through the ones your Oxc extension reports. For a full report, it can runnpx ultracite checkin the terminal. - Where does Antigravity IDE load skills from?
- From
.agents/skills/in the workspace, whereinitinstalls the Ultracite skill, and from~/.gemini/config/skills/for every project. The older~/.gemini/antigravity/skills/still works.
Keep going
- AgentAntigravity CLIGoogle’s terminal coding agent, which took over from Gemini CLI for consumer accounts in June 2026.
- EditorVS CodeMicrosoft’s code editor, with GitHub Copilot’s agent built in and extensions from the Visual Studio Marketplace.
- EditorKiroAWS’s spec-driven AI IDE, built on Code OSS, with steering files and agent hooks.
- DocsEditor setupEvery editor
initconfigures, and the extension each toolchain needs.
Ship less slop
One command sets up your linter, formatter, editor and agents. Works with Oxlint, Biome and ESLint.