Br

Breathe-Memory – Associative memory injection for LLMs (not RAG)

Hacker News

Breathe-Memory – Associative memory injection for LLMs (not RAG)

LLMs forget. The standard fix is RAG — retrieve chunks, stuff them in. It works until it doesn't: irrelevant chunks waste tokens, summaries lose structure, and nothing actually models how memory works. Breathe-memory takes a different approach: associative injection. Before each LLM call, it extracts anchors from the user's message (entities, temporal references, emotional signals), traverses a concept graph via BFS, runs optional vector search, and injects only what's relevant — typically in <60ms. When context fills up, instead of summarizing, it extracts a structured graph: topics, decisions, open questions, artifacts. This preserves the semantic structure that summaries destroy. The whole thing is ~1500 lines of Python, interface-based, zero mandatory deps. Plug in any database, any LLM, any vector store. Reference implementation uses PostgreSQL + pgvector. https://github.com/tkenaz/breathe-memory We've been running this in production for several months. Open-sourcing because we think the approach (injection over retrieval) is underexplored and worth more attention. We've also posted an article about memory injections in a more human-readable form, if you want to see the thinking under the hood: https://medium.com/towards-artificial-intelligence/beyond-ra...

Share card

Actual performance

6points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, models · Missing: mac, agents, macos
79%79% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
70%70% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
63%63% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: month · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
26%26% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Se
Search HN with RAG and LLMs55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Search HN with RAG and LLMs

Hacker News2
Tr
Transactional memory in Lispy Forth48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Transactional memory in Lispy Forth

Hacker News4
Tr
Transactional memory in Forth, in Lisp60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Transactional memory in Forth, in Lisp

Hacker News5
RD
RDBTools – Why's Redis Eating Up Memory54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RDBTools – Why's Redis Eating Up Memory

Hacker News4
Go
Go Memory Allocators43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Go Memory Allocators

Hacker News1
Go
Go's In-Memory BTree for C#43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Go's In-Memory BTree for C#

Hacker News1
In
In-Memory Filesystem for Hadoop74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

In-Memory Filesystem for Hadoop

Hacker News4
33
33% Memory Reduction by Reordering Struct Fields34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

33% Memory Reduction by Reordering Struct Fields

Hacker News19
Me
Memory Pill51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Memory Pill

Hacker News71
Ta
Tagged memory and minion cores in the lowRISC SoC43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tagged memory and minion cores in the lowRISC SoC

Hacker News9