| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Persistent Agentic Memory embedded directly in your Git history.
agentnotes is a library and MCP server that allows AI agents (like Claude Code, Windsurf, or OpenClaw) to store their implementation decisions, intent, and execution traces directly in Git commits using Git Notes.
Unlike standard Markdown files or external databases, Git Notes allow for atomic coupling of reasoning to code without cluttering your history or causing merge collisions.
Read the full justification here →
By using custom namespaces (refs), agents can share a "collective memory" that survives across sessions and is synced with the repository without polluting the main commit messages.
pip install agent-notes
# OR using uv
uv tool install agent-notesIf you are using Claude Desktop or Claude Code, you can set everything up in one command:
# Register the MCP server globally and initialize the current project
uv run --project path/to/agent-notes agentnotes-dx onboardYou can also use the CLI directly:
# Add a decision note to the current commit
agentnotes add "Refactored auth to use Pydantic" --type decision
# Show all agent notes for a commit
agentnotes show HEAD --rich
# View a beautiful log of the last 20 commits with notes
agentnotes log --limit 20
# Review all notes between a feature branch and main
agentnotes diff mainBy default, the log and diff commands aggregate notes from all namespaces for every commit. This gives you a complete "Technical Handover" of everything that happened.
The log command builds a structured dashboard of your project's technical history:
Agentic Memory: Last 5 commits
╭──────────┬──────────┬───────────┬────────────────────────────────────────────╮
│ Commit │ Type │ Agent │ Message │
├──────────┼──────────┼───────────┼────────────────────────────────────────────┤
│ 792d19c7 │ decision │ claw │ Bumped version to 0.2.3. Improved DX... │
├──────────┼──────────┼───────────┼────────────────────────────────────────────┤
│ f46c599b │ decision │ claw │ Updated get_mcp_config for global installs │
├──────────┼──────────┼───────────┼────────────────────────────────────────────┤
│ 3638b0e6 │ decision │ claw │ Renamed CLI entrypoints to agentnotes │
╰──────────┴──────────┴───────────┴────────────────────────────────────────────╯
Individual notes are wrapped in Rich Panels, making them easy to read:
╭─────────────────────────── Agent Note: decision ────────────────────────────╮
│ Message: Added comprehensive test suite for the CLI and DX tools. │
│ Agent: claw │
│ Time: 2026-02-27T17:45:00Z │
╰─────────────────────────────────────────────────────────────────────────────╯
When the MCP server is enabled, agents gain access to:
The agentnotes-dx tool simplifies the setup process:
Why not just put this in the commit message?
This project uses uv for publishing. To publish a new version:
Alternatively, to publish manually:
make bump-patch # or minor/major
git commit -am "chore: bump version"
make tag # tags and pushes to trigger GitHub ActionOr fully manual:
make build
make publishCreated by Dallas Pool (@codeninja)
| Back | FazBrowse Home | New Git URL |