A zero-dependency Python CLI tool designed to provide AI coding agents with persistent session memory. It solves the problem of context window degradation and the "lost in the middle" phenomenon by allowing agents to perform efficient, read-only recalls from local SQLite session stores. Instead of burning thousands of tokens on project exploration or re-orientation, auto-memory enables targeted retrieval of recent files and task history using minimal token overhead.
Key features and technical details:
- Zero dependencies using only Python standard libraries.
- Read-only access to Copilot CLI's local SQLite database to ensure safety.
- Progressive disclosure mechanism ranging from cheap scans (~50 tokens) to full session details.
- Schema-aware design with built-in validation for tool updates.
- Compatible with GitHub Copilot CLI, Claude Code, Cursor, and other instruction-file supporting agents.