St

Story Keeper – AI agents with narrative continuity instead of memory

Hacker News

Story Keeper – AI agents with narrative continuity instead of memory

Hi HN! Creator here. I built Story Keeper to solve a problem I kept hitting with AI agents: they remember everything but lose coherence over long conversations. The Core Idea Instead of storing chat history and retrieving chunks (RAG approach), Story Keeper maintains a living narrative: Characters: Who you are (evolving), who the agent is Arc: Where you started → where you're going Themes: What matters to you Context: The thread connecting everything Think of it as the difference between reading meeting notes vs. being in the relationship. Technical Approach ~200 lines of Python. Three primitives: Story State (not message list) Story Evolution (not appending) Story-Grounded Response (not retrieval) Works with any LLM - tested with GPT-4, Claude, Llama 3.1, Mistral. Why This Works Traditional memory is about facts. Story Keeper is about continuity. Example: Health coaching agent Normal: Generic advice each time Story Keeper: "This is the pattern we identified last month. You do better with 'good enough' than perfect." The agent carries forward understanding, not just data. Implementation Part of PACT-AX (open source agent collaboration framework). MIT licensed. Simple integration: pythonfrom pact_ax.primitives.story_keeper import StoryKeeper keeper = StoryKeeper(agent_id="my-agent") response = keeper.process_turn(user_message) Use Cases I'm Exploring Long-term coaching/mentorship Multi-session research assistants Customer support with relationship continuity Educational tutors that understand learning journeys What I'd Love Feedback On Is this solving a real problem or am I overthinking it? Performance concerns at scale? Other approaches people have tried for this? Use cases I'm missing? The full technical writeup is in the repo blog folder. Happy to answer questions!

Share card

Actual performance

16points
4comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, claude · Missing: mac, macos, cursor
96%96% 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 · Strong signals: started · Missing: supports, reddit linkedin, podcasting
91%91% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: open source, llama, ide · Missing: https docs, excited, just released
45%45% 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, education · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
29%29% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Wh
What story are you telling? (narrative archetypes tool)45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

What story are you telling? (narrative archetypes tool)

Hacker News1
African Tech Story
African Tech Story27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Amplifying the narrative around African entrepreneurship

Indie Hackers2news-magazines
Echoes of the Returning
Echoes of the Returning36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An atmospheric narrative journey through memory

Product Hunt+1
CaseThread
CaseThread35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Own the Narrative

Indie Hackers1ai
NoFlattery
NoFlattery31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AI council that argues, instead of agreeing with you.

Indie Hackerscommitment-side-project
NoFlattery
NoFlattery39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An AI council that argues, instead of agreeing with you.

Product Hunt+2
Su
Sudo for AI agents – cryptographic delegation instead of API keys36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sudo for AI agents – cryptographic delegation instead of API keys

Hacker News3
Me
Memory Management System for AI Agents27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Memory Management System for AI Agents

Hacker News1
Me
Memory Management for AI Agents27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Memory Management for AI Agents

Hacker News1
SarthiAI
SarthiAI77%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The memory management system for AI agents

Product Hunt+12