Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Hermes-style persistent memory and learning loop for Pi coding agent
| Date | Stars |
|---|---|
| 2026-07-31 | 258 |
| 2026-08-05 | 279 |
| 2026-08-06 | 279 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
35.0
growth rate 0.00%/day
<div align="center">  # 🧠 Pi Hermes Memory **Persistent memory + session search + secret scanning for Pi** --- </div> Your Pi agent normally forgets everything when you close a session. **This extension fixes that.** - 🔍 **Search every conversation** — "what did we discuss about auth?" finds it instantly - 🧠 **Persistent memory** — facts, preferences, corrections survive across sessions - ⚠️ **Learns from failures** — remembers what didn't work so you don't repeat mistakes - 🏷️ **Categorized memories** — failures, corrections, insights, conventions, and tool quirks organized for fast retrieval - 🛡️ **Secret scanning** — API keys and tokens are blocked from being saved - 📚 **Procedural skills** — the agent saves *how* it solved problems, not just what - ⚡ **Background learning** — reviews every 10 turns, saves what matters - 🔄 **Auto-consolidation** — merges entries when full, never loses data ## Quick Start ```bash # Install pi install npm:pi-hermes-memory # Index your past sessions (one-time) /memory-index-sessions # Backfill older Markdown memories into SQLite search (optional) /memory-sync-markdown # Learn how to use it /learn-memory-tool ``` ## Upgrade Notes (v0.7.10) If you’re upgrading from older versions, startup now auto-migrates extension data safely: - legacy extension root: `~/.pi/agent/memory` → `~/.pi/agent/pi-hermes-memory` - legacy flat skills: `~/.pi/agent/pi-hermes-memory/skills/*.md` → `~/.pi/agent/pi-hermes-memory/skills/<slug>/SKILL.md` This resolves Pi skill index conflicts like: - `name "..." does not match parent directory "skills"` No manual action is needed. Launch Pi once after upgrade to let migration/normalization run. ## Features | Feature | What happens | |---|---| | 🔍 **Session Search** | Search across all past conversations via SQLite FTS5 | | 🧠 **Persistent Memory** | Facts, preferences, lessons saved to markdown files | | 🔄 **Memory Search Sync** | Successful Markdown memory writes are mirrored into SQLite for `memory_search` | | ⚠️ **Failure Memory** | Learn from failures — stores what didn't work and why | | 📚 **Procedural Skills** | The agent saves *how* it solved problems as reusable docs | | ⚡ **Background Learning** | Every 10 turns (or 15 tool calls) the agent reviews and saves | | 🔧 **Correction Detection** | When you correct the agent, it saves immediately | | 🔄 **Auto-Consolidation** | When memory hits capacity, auto-merges instead of erroring | | 🛡️ **Secret Scanning** | API keys, tokens, SSH keys blocked from persistence | | 📊 **Memory Aging** | Entries carry timestamps — consolidation knows what's stale | | 🏗️ **Two-Tier Memory** | Global + per-project memory, both searchable | | 💾 **Extended Store** | Unlimited searchable memories beyond core 5,000-char limit | | 🎓 **Onboarding** | `/memory-interview` pre-fills your profile on first session | ## How It Works ### Session Lifecycle  ### Memory + Skills Architecture The extension manages three types of knowledge: | Type | What | Storage | Token cost | |---|---|---|---| | **Memory** (MEMORY.md) | Facts — env details, project conventions, tool quirks | 5,000 chars max | Searchable by default | | **User Profile** (USER.md) | Who you are — name, preferences, communication style | 5,000 chars max | Searchable by default | | **Skills** (Pi-native `SKILL.md`) | Procedures — *how* to do something, reusable across sessions | Unlimited | Discoverable by Pi + manageable via the `skill_manage` tool |  ### Security: Content Scanning Every write — memory and skills — passes through a scanner before being accepted. This prevents the LLM from being tricked into storing malicious content that could later be surfaced through search or legacy prompt injection.  ## Development `
Excerpt of 31,862 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d26bc4f78fbe4cf6, llm:Repository description: 'Hermes-style persistent memory and learning loop for Pi coding agent' (TypeScript).
matched fp:d26bc4f78fbe4cf6, llm:Repository description: 'Hermes-style persistent memory and learning loop for Pi coding agent' (TypeScript).
matched fp:d26bc4f78fbe4cf6, llm:Repository description: 'Hermes-style persistent memory and learning loop for Pi coding agent' (TypeScript).