v2.0.17
lejianwen/rustdesk-serverv2.0.17Aug 5, 2026by whysosaket
AI Summary
Added `agent_custom_instructions` parameter to the Mem0 Python SDK to enable agent-scoped memory extraction, mirroring the Node.js SDK functionality.
Key Highlights
- Added `agent_custom_instructions` to `project.update()`
- Added `agent_custom_instructions` to `ProjectUpdateOptions`
- Added `agent_custom_instructions` to `AddMemoryOptions`
New Features
- Support for agent-scoped memory extraction instructions (Python)
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))