{"repo":"jo-inc/pi-mem","free":true,"listed":false,"github":"https://github.com/jo-inc/pi-mem","clone":"git clone https://github.com/jo-inc/pi-mem.git","description":"Plain-Markdown persistent memory for AI coding agents. Long-term facts, daily logs, scratchpad, and semantic search — works with pi, Claude Code, and any LLM agent.","language":"TypeScript","stars":73,"topics":["agent-memory","ai-agent","coding-agent","context-management","llm","markdown","memory","pi-coding-agent","typescript"],"license":"MIT","category":"ai-agents","readme_excerpt":"pi-mem surprisingly useful daily memory for the pi coding agent Read the blog post --- Inspired by OpenClaw 's approach to agent memory. Layout Memory files live under /.pi/agent/memory/ (override with PI MEMORY DIR ): Path Purpose ------ --------- MEMORY.md Curated long-term memory (decisions, preferences, durable facts) SCRATCHPAD.md Checklist of things to keep in mind / fix later daily/YYYY-MM-DD.md Daily append-only log (today + yesterday loaded at session start) notes/ .md LLM-created files (lessons, self-review, reference material, etc.) Identity and behavioral files (e.g. SOUL.md , AGENTS.md , HEARTBEAT.md ) can also live in the memory directory and be injected into context via PI CONTEXT FILES . Tools Tool Description ------ ------------- memory write Write to long term (MEMORY.md), daily (today's log), or note (notes/filename). Supports append and overwrite modes. memory read Read MEMORY.md ( long term ), SCRATCHPAD.md ( scratchpad ), daily logs ( daily ), notes ( note ), any root file ( file ), or list everything ( list ). memory search Search across all files — filenames and content. Case-insensitive keyword search across root, notes/, and daily/. scratchpad Manage a checklist: add , done , undo , clear done , list . Context Injection The following are automatically injected into the system prompt before every agent turn: - Files listed in PI CONTEXT FILES (e.g. SOUL.md,AGENTS.md,HEARTBEAT.md ) - MEMORY.md - SCRATCHPAD.md (open items only) - Today's and yesterday's","default_branch":null,"files":null,"tree":[],"storefront":"/r/jo-inc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jo-inc/pi-mem/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}