jayzeng/pi-memory
Persistent memory extension for pi with daily logs, scratchpad, and optional qmd‑powered semantic search.
Stores memory as plain markdown files organized by long-term facts, dated daily logs, and a scratchpad checklist, with automatic context injection before each turn prioritizing open tasks and today's work. Integrates with qmd for optional keyword, semantic, and hybrid search across all memory files, plus automatic selective injection of relevant past memories based on the user's current prompt (with 3-second timeout and graceful fallback). Designed as a single-file TypeScript extension for the pi agent framework, with debounced background re-indexing after writes and automatic session handoff capture during context window compaction.
Available on npm.
Stars
3
Forks
1
Language
TypeScript
License
MIT
Category
Last pushed
Feb 18, 2026
Monthly downloads
380
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/jayzeng/pi-memory"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
aiming-lab/SimpleMem
SimpleMem: Efficient Lifelong Memory for LLM Agents
zilliztech/GPTCache
Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
zilliztech/memsearch
A Markdown-first memory system, a standalone library for any AI agent. Inspired by OpenClaw.
ascottbell/maasv
Memory Architecture as a Service — cognition layer for AI assistants. 3-signal retrieval,...
TeleAI-UAGI/telemem
TeleMem is a high-performance drop-in replacement for Mem0, featuring semantic deduplication,...