haystack-core-integrations icon indicating copy to clipboard operation
haystack-core-integrations copied to clipboard

Feature request: discuss optional ClawMem memory backend / integration

Open EricZequan opened this issue 8 months ago • 1 comments

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:

  1. an external integration component
  2. a docs/example integration pattern
  3. 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?

  1. external integration component
  2. docs/example integration
  3. first-party optional connector
  4. 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.

EricZequan avatar Apr 02 '26 04:04 EricZequan

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!

sjrl avatar Apr 02 '26 06:04 sjrl