Skip to content

docs: Add docs for mem0 integration#11357

Open
sjrl wants to merge 3 commits into
mainfrom
add-mem0-docs
Open

docs: Add docs for mem0 integration#11357
sjrl wants to merge 3 commits into
mainfrom
add-mem0-docs

Conversation

@sjrl
Copy link
Copy Markdown
Contributor

@sjrl sjrl commented May 21, 2026

Related Issues

Proposed Changes:

Add docs for the new mem0 integration. Adds two new tools, a retriever and writer component, and a memory store.

How did you test it?

Ran the code blocks locally.

Notes for the reviewer

  • I will copy over the docs to 2.29 once all change requests are finished.
  • I was thinking of adding a docs page just for the Mem0MemoryStore in a separate PR.

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@sjrl sjrl self-assigned this May 21, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview, Comment May 21, 2026 7:36am

Request Review

@sjrl sjrl marked this pull request as ready for review May 21, 2026 07:37
@sjrl sjrl requested a review from a team as a code owner May 21, 2026 07:37
@sjrl sjrl requested review from bogdankostic and removed request for a team May 21, 2026 07:37
@claude
Copy link
Copy Markdown

claude Bot commented May 21, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Copy link
Copy Markdown
Contributor

@bogdankostic bogdankostic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a minor comment on adding an API reference field here where we link to our own API reference section.

Comment on lines +16 to +22
| **Most common position in a pipeline** | Before an [`Agent`](../agents-1/agent.mdx) or Chat Generator in memory-augmented pipelines |
| **Mandatory init variables** | `memory_store`: A `Mem0MemoryStore` instance |
| **Mandatory run variables** | `query`: A text query or `None`; at least one Mem0 scope through `user_id`, `run_id`, `agent_id`, `app_id`, or `filters` |
| **Output variables** | `memories`: A list of `ChatMessage` objects |
| **Mem0 API docs** | [Search Memories](https://docs.mem0.ai/api-reference/memory/search-memories), [Memory Filters](https://docs.mem0.ai/platform/features/v2-memory-filters) |
| **GitHub link** | https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/mem0 |
| **Package name** | `mem0-haystack` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually have an API reference field here where we link to our own API reference section (see for example here).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll add it for the other tools as well.

@bogdankostic bogdankostic changed the title feat: Add docs for mem0 integration docs: Add docs for mem0 integration May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants