v2.0.17

zed-industries/zedv2.0.17Aug 5, 2026by whysosaket

AI Summary

Added agent_custom_instructions support to the Python SDK, enabling separate instruction sets for agent-scoped memories similar to the Node SDK.

Key Highlights

  • New agent_custom_instructions parameter for project updates
  • Supports agent-scoped memory extraction with conditional application based on userId/agentId

New Features

  • agent_custom_instructions in project.update() and AddMemoryOptions

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))