v2.0.17
a16z-infra/llm-app-stackv2.0.17Aug 5, 2026by whysosaket
AI Summary
Added `agent_custom_instructions` to the Python SDK to support agent-scoped memories with distinct extraction rules.
Key Highlights
- New field for agent-scoped memory extraction instructions
New Features
- Added `agent_custom_instructions` to `project.update()`, `update_project()`, `ProjectUpdateOptions`, 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))