ScottRBK/forgetful
Opensource Memory for Agents
What it solves
AI agents often struggle to maintain context across different sessions or tools. Forgetful provides a shared, persistent knowledge base that allows various AI agents to store, retrieve, and link information, ensuring they have access to your past work, decisions, and preferences.
How it works
Forgetful acts as a server for the Model Context Protocol (MCP). It uses the Zettelkasten principle, requiring memories to be atomic (one concept per note). When you save a memory, the system generates semantic embeddings locally using FastEmbed, stores them in a database (SQLite or PostgreSQL), and automatically links them to similar existing memories to build a knowledge graph. It also manages token budgets to ensure retrieved information fits within an AI's context window.
Who it’s for
It is designed for developers and power users who rely on multiple AI agents (like Claude Code, Cursor, or custom bots) and want a unified, searchable memory system that persists across different tools and environments.
Highlights
- Uses the Zettelkasten method to keep knowledge atomic and linkable.
- Automatically builds a knowledge graph by linking semantically similar memories.
- Supports both local (SQLite) and production-ready (PostgreSQL) storage.
- Runs entirely locally with FastEmbed for vector generation, avoiding external cloud costs.
- Includes specialized support for entities (people, projects, organizations) and procedural skills.
- Manages token budgets automatically to prevent context window overflow during retrieval.
Related
- Project
- Project
- Project
- Project
- Project