Files
nixos-config/docs/reference/antigravity.md
T
kiskaadee 4c4e64cbe7 feat(desktop): add Antigravity desktop GUI and VS Code, update documentation, and bump flake inputs
- Add Antigravity Desktop GUI (`google-antigravity`) and `vscode` to graphical packages in `home/desktop.nix`.
- Update Antigravity reference documentation in `docs/reference/antigravity.md` to detail the full suite (`agy`, GUI, and IDE).
- Update comment description for the `antigravity` flake input in `flake.nix`.
- Update input revisions and lockfile (`flake.lock`) for `antigravity-nix`, `dank-greeter`, `dank-qml-common`, `DankMaterialShell`, and `nixpkgs`.
2026-09-27 18:09:45 -05:00

1.8 KiB

🤖 Antigravity AI Agent Reference

This document outlines the Antigravity AI pair programming agent integration, operating boundaries, and tool conventions for this workstation.


1. Operating Rules & Boundaries

AI agents operating in this repository are governed by the constitution defined in AGENTS.md.

The Golden Rule: Build, Never Switch

Autonomous agents must never execute nixos-rebuild switch, boot, test, or mutate the running host state. Agents:

  1. May read repository files.
  2. May modify declarations in system/ and home/.
  3. Must validate via dry builds (nix flake check and nix build ... --no-link).

2. Second Brain Inbox Capture Rule

Whenever an agent produces an artifact (UserFacing: true) or substantial analysis, a copy must be preserved in the Second Brain staging inbox:

/home/kiskaadee/Brain/inbox/<descriptive-name>.md

With frontmatter:

---
type: inbox
created: YYYY-MM-DD
---

3. Toolchains & Local Binaries

The workstation uses the community-maintained github:jacopone/antigravity-nix flake input, which tracks and bundles the three Antigravity surfaces with regular upstream updates:

  • agy CLI binary (google-antigravity-cli) declared in home/dev.nix.
  • Antigravity 2.0 Desktop GUI (google-antigravity) declared in home/desktop.nix.
  • Antigravity IDE (google-antigravity-ide) available from the same flake package set.

Antigravity operates in an interactive development environment with access to:

  • Installed Antigravity tools and editors.
  • Python runtime, Ruff, and Pyright.
  • Git, ripgrep (rg), and fd (find_by_name).
  • Nix CLI (nix flake check, nix build, nix eval).