Record your own sessions

The open-source CLI records every file change locally as you work. Nothing is uploaded until you review and approve the redaction preview.

  1. Install the capture client

    npm install -g agentsage

    One npm package. Node 20 or newer; no account needed yet.

  2. Add capture to your repository

    cd your-project
    agentsage init

    Installs native hooks for the supported harnesses. Run your agent normally; file-changing tool calls snapshot to a hidden Git ref.

  3. Publish when you want to

    agentsage login <token>
    agentsage share

    Create a token in CLI token settings. Share finds the newest Claude Code, Pi, Grok, or OpenCode session; pass a transcript path for Codex or Antigravity.