From a90e481064e0bda2f470bcad6a86c96bde77be99 Mon Sep 17 00:00:00 2001 From: uzaxirr Date: Mon, 17 Nov 2025 12:24:26 +0530 Subject: [PATCH 1/2] Memory docs re-vamp --- concepts/memory/overview.mdx | 1 + concepts/memory/production-best-practices.mdx | 6 ++++++ concepts/memory/working-with-memories.mdx | 8 +++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/concepts/memory/overview.mdx b/concepts/memory/overview.mdx index 3793de35..de54f77c 100644 --- a/concepts/memory/overview.mdx +++ b/concepts/memory/overview.mdx @@ -2,6 +2,7 @@ title: What is Memory? description: Give your agents the ability to remember user preferences, context, and past interactions for truly personalized experiences. sidebarTitle: Overview +keywords: [memory, agent memory, user memories, persistent memory, session history, automatic memory, agentic memory, user preferences, context retention] --- Imagine a customer support agent that remembers your product preferences from last week, or a personal assistant that knows you prefer morning meetings, but only after you've had coffee. This is the power of Memory in Agno. diff --git a/concepts/memory/production-best-practices.mdx b/concepts/memory/production-best-practices.mdx index a319955f..cb15278c 100644 --- a/concepts/memory/production-best-practices.mdx +++ b/concepts/memory/production-best-practices.mdx @@ -2,6 +2,7 @@ title: Production Best Practices description: Avoid common pitfalls, optimize costs, and ensure reliable memory behavior in production. sidebarTitle: Best Practices +keywords: [production, best practices, cost optimization, memory pruning, token management, performance, scaling, memory limits] --- Memory is powerful, but without careful configuration, it can lead to unexpected token consumption, behavioral issues, and high costs. This guide shows you what to watch out for and how to optimize your memory usage for production. @@ -193,3 +194,8 @@ print(f"User has {len(memories)} memories") if len(memories) > 500: print("⚠️ Warning: User has excessive memories. Consider pruning.") ``` + +## Developer Resources + +- View [Examples](/examples/concepts/memory) +- View [Cookbook](https://github.com/agno-agi/agno/tree/main/cookbook/memory/) diff --git a/concepts/memory/working-with-memories.mdx b/concepts/memory/working-with-memories.mdx index e003b937..4a29d6ca 100644 --- a/concepts/memory/working-with-memories.mdx +++ b/concepts/memory/working-with-memories.mdx @@ -1,7 +1,8 @@ --- title: Working with Memories description: Customize how memories are created, control context inclusion, share memories across agents, and use memory tools for advanced workflows. -sidebarTitle: Working with Memories +sidebarTitle: Advanced Usage +keywords: [memory manager, custom memory, memory tools, shared memory, memory context, memory operations, memory retrieval, advanced memory] --- The basic memory setup covers most use cases, but sometimes you need more control. This guide covers advanced patterns for customizing memory behavior, controlling what gets stored, and building complex multi-agent systems with shared memory. @@ -133,4 +134,9 @@ agent_2.print_response("What is my name?") All agents connected to the same database automatically share memories for each user. This works across agent types, teams, and workflows, as long as they use the same `user_id`. +## Developer Resources + +- View [Examples](/examples/concepts/memory) +- View [Cookbook](https://github.com/agno-agi/agno/tree/main/cookbook/memory/) + From dd6dd5d527bbc4e19d76054dc0dad86013bd7b4f Mon Sep 17 00:00:00 2001 From: Dirk Brand <51947788+dirkbrnd@users.noreply.github.com> Date: Tue, 18 Nov 2025 10:09:43 +0200 Subject: [PATCH 2/2] Apply suggestion from @dirkbrnd --- concepts/memory/working-with-memories.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/memory/working-with-memories.mdx b/concepts/memory/working-with-memories.mdx index 4a29d6ca..b8dacd04 100644 --- a/concepts/memory/working-with-memories.mdx +++ b/concepts/memory/working-with-memories.mdx @@ -1,7 +1,7 @@ --- title: Working with Memories description: Customize how memories are created, control context inclusion, share memories across agents, and use memory tools for advanced workflows. -sidebarTitle: Advanced Usage +sidebarTitle: Overview keywords: [memory manager, custom memory, memory tools, shared memory, memory context, memory operations, memory retrieval, advanced memory] ---