Files
nixos-config/docs/reference/antigravity.md
T
kiskaadee 8046f88d98 docs(antigravity): update second brain staging inbox path to 00-inbox
- Update staging inbox directory path in `docs/reference/antigravity.md` from `inbox/` to `00-inbox/`.
2026-10-01 00:43:56 -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/00-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).