v2.0.17
mem0ai/mem0v2.0.17Aug 5, 2026by whysosaket
AI Summary
Introduces agent-specific instruction sets in project management and adds new search options to the Python SDK.
Key Highlights
- Added 'agent_custom_instructions' to project update and memory options to support distinct instruction sets for agents.
- New 'reference_date', 'latest_only', and 'keyword_search' options added to SearchMemoryOptions.
New Features
- agent_custom_instructions support in project update and memory options
- New search options (reference_date, latest_only, keyword_search)
Full Release Notes
**New Features:** - **Client:** Add `agent_custom_instructions` to `project.update()`/`update_project()` (sync and async) and to the `ProjectUpdateOptions` and `AddMemoryOptions` typed models. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing `agent_id` without `user_id` uses it, one passing both splits by attribution, and while it is unset `custom_instructions` continues to apply to every memory ([#6809](https://github.com/mem0ai/mem0/pull/6809))