Skip to content

Docs

Install in Antigravity

This page installs BuildKeel in Antigravity, checks that it works, and shows how to update or remove it. You need Node.js 20 or later, and git (see Before you start). Commands are shown here in Antigravity’s form, such as /bk-init.

This installs BuildKeel for every project you open in Antigravity.

  1. In a terminal, run:

    Terminal window
    npx buildkeel install --antigravity

    This puts BuildKeel in ~/.gemini/config/plugins/buildkeel/.

  2. Quit Antigravity if it is running.

  3. Open Antigravity again with your project.

  4. Start a new conversation.

Antigravity starts BuildKeel’s server once and keeps it running until you quit, for all its windows. Reloading a window is not enough.

Then set up your repository with /bk-init: see Your first change.

You install into the project’s folder.

  1. In a terminal, run:

    Terminal window
    npx buildkeel install --antigravity --workspace /path/to/your/project

    This puts BuildKeel in .agents/plugins/buildkeel/ inside that project. It also adds that folder to the repository’s local ignore file (.git/info/exclude), so the folder is never committed and never shows as a change.

  2. Quit Antigravity if it is running, open it again with your project, and start a new conversation.

Each release on BuildKeel’s releases page carries the Antigravity package as an archive, buildkeel-antigravity-<version>.zip.

  1. Download the archive.

  2. Unzip it.

  3. In the folder it makes, run this to install for every project:

    Terminal window
    node install.mjs

    Or run node install.mjs --workspace /path/to/your/project to install for one project.

  4. Quit and reopen Antigravity, then start a new conversation.

To update, do the same with a newer release’s archive. To remove it, run node install.mjs --remove, with --workspace /path/to/your/project for a project install.

  1. Open a new conversation in the agent panel.
  2. Run /bk-status. In a project that is not set up yet, it tells you how to set one up. In a project that is, it shows your spec tree.
  3. Ask “Which BuildKeel tools do you have?”. The agent lists thirteen, from get_context to review.

BuildKeel’s server comes with the plugin, so it is not shown under Additional options (…) > MCP Servers, which lists the servers you added yourself.

BuildKeel’s commands are all named /bk-<command>, such as /bk-init and /bk-build. Type /bk in the agent panel to see them all. A command that takes input, such as /bk-approve, asks what you want when you run it on its own. You can also type the input after it, such as /bk-approve US-001.

  1. To update BuildKeel to the newest version, run this, then quit and reopen Antigravity:

    Terminal window
    npx buildkeel@latest update --antigravity

    @latest makes npx fetch the newest version rather than run one it has kept from before. For a project install, add --workspace /path/to/your/project.

  2. To remove BuildKeel, run npx buildkeel remove --antigravity, with --workspace /path/to/your/project for a project install. For a project install, it also takes its line out of .git/info/exclude, leaving the rest of the file as it was.

What it adds to an Antigravity conversation

Section titled “What it adds to an Antigravity conversation”
  • Commands starting with /bk-.
  • A rule that is always on. It tells the agent how to work in a project set up with BuildKeel: change the spec tree only through BuildKeel, add a BuildKeel-Unit line to every commit, and put test case IDs in test names.
  • A local server, started by Antigravity and stopped with it. The agent reads and changes your spec tree through it. Nothing about you or your work is sent anywhere; once a day it asks the npm registry for BuildKeel’s latest version number.
  • Hooks that run before each step of the agent and when it edits a file. They read small files in .buildkeel/ in your project and never use the network. Antigravity has every hook that checks an edit approve or refuse it. So BuildKeel refuses edits to approved records, approves other edits inside the folders open in Antigravity and the agent’s own working files, and leaves edits anywhere else for Antigravity to ask you about.
  • “BuildKeel needs Node.js 20 or later”: install Node.js as in Before you start, run the install command again, and quit and reopen Antigravity.
  • The first conversation after opening Antigravity says BuildKeel’s tools are not available: Antigravity starts BuildKeel’s server when that conversation starts, and the conversation can begin before the server is ready. Start a new conversation. BuildKeel’s tools are there from then on.
  • /bk-status is not listed, or the agent has no BuildKeel tools in a new conversation either: check that node --version works in a terminal, run the install command again, and quit and reopen Antigravity.
  • BuildKeel works in the wrong project: the agent passes the project’s folder to every BuildKeel tool. If it did not, ask it to call the tool again with workspace set to your project’s folder.
  • “… exists and is not a BuildKeel plugin; nothing was installed”: another plugin already uses the folder buildkeel there. BuildKeel leaves it alone.