
Why I built LORE: AI keeps forgetting why your code exists
Every time I start a new AI coding session, I have to explain everything from scratch. "We use PostgreSQL because..." "Our auth uses JWT with 24h expiry..." "The API follows REST with /api/v1/..." The AI forgets. Every. Single. Time. After the 50th time explaining the same decisions, I built LORE. What is LORE? LORE is an MCP server that reads your existing codebase and automatically extracts architectural decisions — no manual work needed. cd your-project lore init That's it. LORE generates a LORE.md with everything your AI needs to know: ## Database ### 🟢 PostgreSQL as primary database **Why** : Found pg/postgres in dependencies **Rules** : Use connection pooling always ## Authentication ### 🟢 JWT-based authentication **Rules** : Never store secrets in code The Problem It Solves AI coding tools like Claude Code and Cursor are powerful. But they have zero memory between sessions. Every new session = complete amnesia. Your team spent months deciding: Why PostgreSQL over MongoDB Why JWT
Continue reading on Dev.to
Opens in a new tab


