ts-v3.1.5
a16z-infra/llm-app-stackts-v3.1.5Aug 5, 2026by whysosaket
AI Summary
Introduced `agentCustomInstructions` to the Node SDK to support specific extraction instructions for agent-scoped memories.
Key Highlights
- New field to set extraction instructions for agent-scoped memories
New Features
- Added `agentCustomInstructions` to `PromptUpdatePayload`, `AddMemoryOptions`, and `ProjectResponse`
Full Release Notes
**New Features:** - **Client:** Add `agentCustomInstructions` to `PromptUpdatePayload`, `AddMemoryOptions`, and `ProjectResponse`. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing `agentId` without `userId` uses it, one passing both splits by attribution, and while it is unset `customInstructions` continues to apply to every memory ([#6809](https://github.com/mem0ai/mem0/pull/6809))