agentsage init

Install native snapshot capture for the coding harnesses in the current repository. With no harness argument, agentsage configures every supported integration it can; pass one harness to target only that integration.

agentsage init
agentsage init codex
agentsage init antigravity
[harness]
Optional target: claude, codex, opencode, pi, antigravity, or grok. claude-code and agy are accepted aliases.

Each integration snapshots the working tree after file-changing tool calls. Snapshots use a hidden git ref and do not move HEAD or alter the staging area.