Files
nixos-config/docs/reference/antigravity.md
T
kiskaadee ff6e7d5032 feat(home/desktop): add Antigravity IDE package
- Add google-antigravity-ide to graphical applications in home/desktop.nix

- Update docs/reference/antigravity.md to reflect active declaration
2026-10-28 18:48:23 -05:00

49 lines
1.9 KiB
Markdown

# 🤖 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`](file:///home/kiskaadee/Config/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:
```text
/home/kiskaadee/Brain/00-inbox/<descriptive-name>.md
```
With frontmatter:
```yaml
---
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`](file:///home/kiskaadee/Config/home/dev.nix).
- Antigravity 2.0 Desktop GUI (`google-antigravity`) declared in [`home/desktop.nix`](file:///home/kiskaadee/Config/home/desktop.nix).
- Antigravity IDE (`google-antigravity-ide`) declared in [`home/desktop.nix`](file:///home/kiskaadee/Config/home/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`).