{"repo":"Jannhsu/agent-memory","free":true,"listed":false,"github":"https://github.com/Jannhsu/agent-memory","clone":"git clone https://github.com/Jannhsu/agent-memory.git","description":"Long-term memory for AI agents using plain markdown. No vector DB, no embeddings — just skill files the agent already knows how to read.","language":"JavaScript","stars":11,"topics":["agent-memory","ai-agent","claude-code","long-term-memory","markdown","memory-system","opencode","personal-assistant","skill"],"license":null,"category":"ai-agents","readme_excerpt":"agent-memory Agent reads, plugin writes. Fully automatic long-term memory for AI agents. No database. No embeddings. No agent participation required. A plugin extracts, classifies, and stores memories from conversations — the agent just talks. The Problem Most agent memory systems require the agent to decide what to remember. That's unreliable — agents forget to write, write to the wrong place, break formats, or introduce duplicates. The agent is busy solving the user's problem; memory management is a distraction. Meanwhile, agents like OpenCode and Claude Code already have a built-in skill system : markdown files with YAML frontmatter that agents load on demand based on relevance. That's a retrieval mechanism — it just isn't called one. This project uses that mechanism for retrieval, and moves all write operations to a background plugin. The agent becomes a pure consumer of memory: it reads skill files when relevant, but never writes them. How It Works A plugin hook fires on every conversation turn. It calls a lightweight LLM (Gemini Flash) to extract facts from the exchange, stages them, and — at session boundaries — classifies and merges them into four category-specific skill files. The agent loads these skills on demand via frontmatter descriptions. No embedding search. No re-ranking. The agent is the retrieval engine. Architecture Two layers, one pipeline. Every turn is recorded; session boundaries trigger classification and distribution. Layer 1 (every turn): The plugin","default_branch":null,"files":null,"tree":[],"storefront":"/r/Jannhsu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Jannhsu/agent-memory/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."}