mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #111] [Feature]: Add Long-Term Memory Agent package #54
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Jul 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/111
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Marinara Engine does not currently offer an optional first-party package for durable, scoped memory across long-running chats. Important details can fall outside the active context window, while users lack a dedicated workflow to extract, review, organize, import, recall, back up, and maintain durable memories without adding this substantial feature to the lightweight Engine core.
Proposed package or change
Add Long-Term Memory 1.0.0 as an official downloadable Agent package.
The package should:
This is the initial public release. Earlier development artifact versions were private testing iterations and should not be published or treated as upgrade baselines.
Why should this be optional?
Long-Term Memory adds substantial server-side extraction, indexing, storage, retrieval, maintenance, and client UI functionality. Keeping it in the downloadable catalog preserves Marinara Engine's lightweight default installation and lets users opt into the additional storage, generation calls, routes, UI, and restart requirement only when they want durable memory.
Alternatives considered
Additional context
1.0.0long-term-memory>=2.3.5 <2.4.01.64e651e9c63722b40ebd5b785cbf22541e3095f39Promansis:release/long-term-memory-1.0.0Template check
@RemanenetSpy commented on GitHub (Jul 26, 2026):
Hey! I saw this issue about building an optional durable memory package for Marinara Engine to handle scoped long-term memory extraction and retrieval.
We were building something very similar and ran into the exact same issues with trying to handle extraction, indexing, and supersession (invalidating stale memories) without bloating the core engine runtime.
We ended up building an external API layer called Smriti specifically for this. It handles all the heavy lifting off-engine. You pass it raw chat text, and it uses an SVO (Subject-Verb-Object) parser to decompose it into structured temporal events (with alid_from and alid_to timestamps), stored in a dual-calendar Postgres/pgvector backend.
Crucially, it natively supports strict scope boundaries (chat, persona, global) just like you outlined in your specs, and handles automatic fact-supersession without slow LLM calls.
Instead of building all the storage, extraction, and vector retrieval infrastructure from scratch for the long-term-memory package, you could potentially just wrap the Smriti API endpoints (/ingest and /query). It keeps the Engine core incredibly lightweight while giving your users instant durable memory.
Just wanted to share in case it saves you guys a ton of backend engineering time!