Show HN: Story Keeper – AI agents with narrative continuity instead of memory
16 points| neurobloom | 4 months ago |github.com
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!
nvdnadj92|4 months ago
the jazz metaphors do not help provide additional context.
neurobloom|3 months ago
R_D_Olivaw|4 months ago
This strikes me as precisely how we get ai companies that will build, run, and market themselves all while maintaining a consistent "narrative brand arc" that makes us root for them.
I do see your usage cases, but would probably do better in Saleslandia packaged and narrowed down for each particular niche.
I'm curious of this might be beneficial to Writers/world builders.
neurobloom|3 months ago
AI narrative consistency: Yes, this is infrastructure for maintaining coherent identity over time — whether human ↔ AI or AI-agent organizations. Niche packaging: Agreed. While the core is general infrastructure, entry strategy should be vertical-specific (customer support, coaching, education, etc.) Writers/world-builders: Great callout. Character consistency across long narratives is exactly the kind of "emotional continuity" problem StoryKeeper addresses.
The broader vision is relational infrastructure for AI systems. The go-to-market is specific solutions for specific communities. Writers might be a great early adopter group
unknown|4 months ago
[deleted]
neurobloom|4 months ago
[deleted]