- Add google-antigravity-ide to graphical applications in home/desktop.nix - Update docs/reference/antigravity.md to reflect active declaration
1.9 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:
- May read repository files.
- May modify declarations in
system/andhome/. - Must validate via dry builds (
nix flake checkandnix 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:
agyCLI binary (google-antigravity-cli) declared inhome/dev.nix.- Antigravity 2.0 Desktop GUI (
google-antigravity) declared inhome/desktop.nix. - Antigravity IDE (
google-antigravity-ide) declared inhome/desktop.nix.
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).