I got frustrated that most AI memory systems treat every piece of information equally. Your blood type has the same priority as what you had for lunch. Contradictions pile up silently. Old but critical facts just decay away.

So I built widemem, an open-source Python library that gives AI real memory:

- Importance scoring: facts are rated 1-10, retrieval is weighted accordingly

- Time decay: old trivia fades, critical facts stick around

- Conflict resolution: “I moved to Paris” after “I live in Berlin” gets resolved automatically instead of storing both

- YMYL safety: health, legal, and financial data gets higher priority and won’t decay

- Hierarchical: facts roll up into summaries and themes

Works locally with SQLite + FAISS (zero setup) or with OpenAI/Anthropic/Ollama. 140 tests, Apache 2.0.

GitHub: https://github.com/remete618/widemem-ai

PyPI: pip install widemem-ai

Site: https://widemem.ai

Would love feedback from anyone building AI assistants or agent systems.