Agent context

Capture an agent session

Corigin can capture your agent sessions and trace them back to specific commits.

  • Trace a code change back to its originating reasoning and context.
  • Understand the reasoning behind an existing code change
  • Continue an agent task from a prior session
  • Distinguish AI authorship from human authorship

Session capture is supported for OpenAI Codex and Claude Code.

  1. 1

    Install session capture

    corigin sessions install
  2. 2

    Start an agent session

    Start Codex or Claude Code in a repository connected to Corigin. Capture begins automatically.

  3. 3

    Push your work

    The next push to Corigin uploads pending session history and transcripts.

Session Storage

Sessions are stored inside of Git. Your sessions stay completely private and are versioned alongside your code. They stay on your machine until you push your code to the Corigin remote, which pushes your session history to the same repository.