Feature request: discuss optional ClawMem memory backend / integration
Summary
I'd like to discuss whether Haystack would be open to an optional ClawMem integration for durable memory in agent and pipeline workflows.
This is not a request to replace Haystack's architecture. The narrower question is whether ClawMem could fit as an optional component/integration for teams that want auditable long-term memory.
Why this seems worth discussing
Haystack's README explicitly describes the framework as giving developers control over retrieval, routing, memory, and generation, and says users can use built-in components for memory or create their own.
That makes this look like a potentially good fit for:
- an external integration component
- a docs/example integration pattern
- a first-party optional connector if maintainers think it belongs in the ecosystem
What ClawMem would add
ClawMem is oriented around:
- durable memory across sessions
- auditability of memory updates
- repository/workspace-scoped memory boundaries
- optional shared memory across collaborators and agents
Clarification I am looking for
Would maintainers be open to one of these directions?
- external integration component
- docs/example integration
- first-party optional connector
- not a good fit for Haystack
Minimal scope
The smallest useful scope seems to be:
- optional integration only
- preserve existing Haystack defaults
- fit into Haystack's component model instead of introducing a competing orchestration layer
If this sounds reasonable, I can turn it into a concrete implementation brief.
Hey @EricZequan thanks for the suggestion! We are currently ironing out the API spec we'd like to establish for MemoryStores. We have the start of one in our experimental package here but its not yet ready for larger adoption yet.
We will have a better idea that its ready after the in progress Cognee integration is finished https://github.com/deepset-ai/haystack-core-integrations/pull/2979 So if you could wait until then that would be appreciated!