AgentReceipt

Attaching AI session receipts to commits with git notes

By the AgentReceipt team · Updated 13 November 2026

You want the record of an AI session to travel with the commit it produced. Git notes are a built-in way to do that.

What a git note is

A note is extra text attached to a commit. It does not change the commit or its hash, so history stays intact, and you can read it back with git.

How AgentReceipt uses them

When a session ends, agentreceipt finalize builds the receipt as a file in .agentreceipt/receipts/ and attaches it to the current commit as a git note.

Reading it back

Print the receipts stored for a commit with:

agentreceipt show
agentreceipt show <commit> --json