{"exhaustive":{"nbHits":false,"typo":false},"exhaustiveNbHits":false,"exhaustiveTypo":false,"hits":[{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"jongalloway2"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Disposable <em>agents</em>, durable <em>memory</em>: The <em>architecture</em> behind Squad"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"https://commandline.microsoft.com/squad-github-copilot-<em>agent</em>-teams-<em>architecture</em>-durable-<em>memory</em>/"}},"_tags":["story","author_jongalloway2","story_48373689"],"author":"jongalloway2","created_at":"2026-06-02T17:54:05Z","created_at_i":1780422845,"num_comments":0,"objectID":"48373689","points":3,"story_id":48373689,"title":"Disposable agents, durable memory: The architecture behind Squad","updated_at":"2026-06-02T19:21:42Z","url":"https://commandline.microsoft.com/squad-github-copilot-agent-teams-architecture-durable-memory/"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"avasdream"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Clawdbot Remembers: A Deep Dive into AI <em>Agent</em> <em>Memory</em> <em>Architecture</em>"},"url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"https://avasdream.com/blog/clawdbot-<em>memory</em>-system-deep-dive"}},"_tags":["story","author_avasdream","story_46781781"],"author":"avasdream","children":[46781782],"created_at":"2026-01-27T16:04:08Z","created_at_i":1769529848,"num_comments":0,"objectID":"46781781","points":1,"story_id":46781781,"title":"Clawdbot Remembers: A Deep Dive into AI Agent Memory Architecture","updated_at":"2026-03-05T23:26:50Z","url":"https://avasdream.com/blog/clawdbot-memory-system-deep-dive"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"boburumurzokov"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Hi Everyone,<p>I\u2019ve been working on an open-source project called Memori \u2014 it\u2019s a <em>memory</em> layer for AI <em>agents</em>.<p>Memori is designed to give <em>agents</em> a persistent <em>memory</em> layer that supports both:<p>Short-term \u201cconscious\u201d <em>memory</em> (like working <em>memory</em> in humans)<p>Long-term retrieval using SQL full-text search (not vector stores)<p>It\u2019s built around a multi-<em>agent</em> <em>architecture</em> (<em>memory</em> <em>agent</em>, conscious <em>agent</em>, retrieval <em>agent</em>), with structured storage and zero config to get started. It supports SQLite, Postgres, and MySQL.<p>Would love to hear what you think \u2014 all critique welcome.\nHappy to answer questions or hear if you\u2019ve solved this differently."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","memory"],"value":"Show HN: Memori \u2013 Dual-Mode <em>Memory</em> Layer for AI <em>Agents</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/GibsonAI/memori"}},"_tags":["story","author_boburumurzokov","story_44821941","show_hn"],"author":"boburumurzokov","children":[44823527],"created_at":"2025-08-07T08:15:02Z","created_at_i":1754554502,"num_comments":2,"objectID":"44821941","points":4,"story_id":44821941,"story_text":"Hi Everyone,<p>I\u2019ve been working on an open-source project called Memori \u2014 it\u2019s a memory layer for AI agents.<p>Memori is designed to give agents a persistent memory layer that supports both:<p>Short-term \u201cconscious\u201d memory (like working memory in humans)<p>Long-term retrieval using SQL full-text search (not vector stores)<p>It\u2019s built around a multi-agent architecture (memory agent, conscious agent, retrieval agent), with structured storage and zero config to get started. It supports SQLite, Postgres, and MySQL.<p>Would love to hear what you think \u2014 all critique welcome.\nHappy to answer questions or hear if you\u2019ve solved this differently.","title":"Show HN: Memori \u2013 Dual-Mode Memory Layer for AI Agents","updated_at":"2026-03-05T22:29:36Z","url":"https://github.com/GibsonAI/memori"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"pauliusztin"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I spent weeks reading about how Cognee, Graphiti, and Neo4j's `<em>agent</em>-<em>memory</em>` build their <em>agent</em> <em>memory</em> <em>architectures</em>. They converged on the same heavy knowledge-graph design: an ontology, LLM extraction pipelines, deduplication, the works.<p>I really wanted to use them for my personal use case, but that looks like such a heavy setup that adds a lot of friction and silos. Plus, it feels like I just get my data trapped in their service, for not a ton of value.<p>That's why my &quot;long-term <em>memory</em>&quot; still lives in Obsidian, Readwise, and Google Drive, with per-project LLM wikis as the <em>agent</em>'s <em>memory</em>. No infrastructure. And I'm fine with it.<p>They ship <em>memory</em> as a product, which, in my opinion, at a personal or small scale, is overkill. You can build the same &quot;knowledge graph&quot; experience via plain old `.md` files within an LLM wiki <em>memory</em>.<p>But still, graphs are strong, so I adapted the same <em>architecture</em> from the Cognee, Graphiti, and Neo4j `<em>agent</em>-<em>memory</em>` stacks to build a data-mining tool with just MongoDB, VoyageAI, and Gemini Flash. But I scoped it to a very particular problem and ontology domain to avoid the KG noise.<p>On the other end of the spectrum, if you want to ship a product at medium-to-large scale, it makes sense to start using monsters such as Neo4j, Zep, or HydraDB.<p>But I am curious: what is your long-term <em>memory</em> setup? Obsidian + LLM wikis vs. Cognee/Graphiti/Zep? Do you actually use tools such as Cognee or Zep?<p>In case you are curious about how Cognee, Graphiti, and Neo4j's `<em>agent</em>-<em>memory</em>` work under the hood, I wrote a full breakdown here: https://www.decodingai.com/p/unified-<em>memory</em>-from-scratch-knowledge-graphs"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","memory"],"value":"I reverse-engineered the three biggest <em>agent</em>-<em>memory</em> tools"}},"_tags":["story","author_pauliusztin","story_48919162","ask_hn"],"author":"pauliusztin","children":[48920027,48925406],"created_at":"2026-07-15T11:23:02Z","created_at_i":1784114582,"num_comments":4,"objectID":"48919162","points":2,"story_id":48919162,"story_text":"I spent weeks reading about how Cognee, Graphiti, and Neo4j&#x27;s `agent-memory` build their agent memory architectures. They converged on the same heavy knowledge-graph design: an ontology, LLM extraction pipelines, deduplication, the works.<p>I really wanted to use them for my personal use case, but that looks like such a heavy setup that adds a lot of friction and silos. Plus, it feels like I just get my data trapped in their service, for not a ton of value.<p>That&#x27;s why my &quot;long-term memory&quot; still lives in Obsidian, Readwise, and Google Drive, with per-project LLM wikis as the agent&#x27;s memory. No infrastructure. And I&#x27;m fine with it.<p>They ship memory as a product, which, in my opinion, at a personal or small scale, is overkill. You can build the same &quot;knowledge graph&quot; experience via plain old `.md` files within an LLM wiki memory.<p>But still, graphs are strong, so I adapted the same architecture from the Cognee, Graphiti, and Neo4j `agent-memory` stacks to build a data-mining tool with just MongoDB, VoyageAI, and Gemini Flash. But I scoped it to a very particular problem and ontology domain to avoid the KG noise.<p>On the other end of the spectrum, if you want to ship a product at medium-to-large scale, it makes sense to start using monsters such as Neo4j, Zep, or HydraDB.<p>But I am curious: what is your long-term memory setup? Obsidian + LLM wikis vs. Cognee&#x2F;Graphiti&#x2F;Zep? Do you actually use tools such as Cognee or Zep?<p>In case you are curious about how Cognee, Graphiti, and Neo4j&#x27;s `agent-memory` work under the hood, I wrote a full breakdown here: https:&#x2F;&#x2F;www.decodingai.com&#x2F;p&#x2F;unified-memory-from-scratch-knowledge-graphs","title":"I reverse-engineered the three biggest agent-memory tools","updated_at":"2026-07-15T18:52:07Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"Arulnidhi_k"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Aegis <em>Memory</em> is an open-source, self-hostable <em>memory</em> layer for multi-<em>agent</em> AI systems.<p>v1.2 adds Smart <em>Memory</em> - a two-stage pipeline that automatically decides what's worth storing:\n1. Fast rule-based filter catches obvious noise (greetings, &quot;thanks&quot;, etc.)\n2. LLM extracts atomic facts only when the filter passes<p>This saves ~70% of extraction costs while keeping <em>memory</em> high-quality.<p>Try it in 15 seconds:\n  pip install aegis-<em>memory</em>\n  aegis demo<p>GitHub: <a href=\"https://github.com/quantifylabs/aegis-memory\" rel=\"nofollow\">https://github.com/quantifylabs/aegis-<em>memory</em></a><p>Happy to answer questions about multi-<em>agent</em> <em>memory</em> <em>architecture</em>."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","memory"],"value":"Show HN: Aegis <em>Memory</em> v1.2 \u2013 We solved \"what's worth remembering\" for AI <em>agents</em>"},"url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"https://github.com/quantifylabs/aegis-<em>memory</em>"}},"_tags":["story","author_Arulnidhi_k","story_46412348","show_hn"],"author":"Arulnidhi_k","children":[46414311,46426854],"created_at":"2025-12-28T16:45:10Z","created_at_i":1766940310,"num_comments":4,"objectID":"46412348","points":1,"story_id":46412348,"story_text":"Aegis Memory is an open-source, self-hostable memory layer for multi-agent AI systems.<p>v1.2 adds Smart Memory - a two-stage pipeline that automatically decides what&#x27;s worth storing:\n1. Fast rule-based filter catches obvious noise (greetings, &quot;thanks&quot;, etc.)\n2. LLM extracts atomic facts only when the filter passes<p>This saves ~70% of extraction costs while keeping memory high-quality.<p>Try it in 15 seconds:\n  pip install aegis-memory\n  aegis demo<p>GitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;quantifylabs&#x2F;aegis-memory\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;quantifylabs&#x2F;aegis-memory</a><p>Happy to answer questions about multi-agent memory architecture.","title":"Show HN: Aegis Memory v1.2 \u2013 We solved \"what's worth remembering\" for AI agents","updated_at":"2026-03-05T23:14:40Z","url":"https://github.com/quantifylabs/aegis-memory"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"sivanhavkin"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I\u2019m sharing Entelgia, a research-oriented multi-<em>agent</em> AI <em>architecture</em> I\u2019ve been working on.<p>Entelgia is not a chatbot, but an experiment in how persistent identity, internal conflict, emotional regulation, and moral reasoning can emerge from structure rather than hard-coded rules.<p>Two primary agents engage in continuous dialogue across sessions, backed by a shared persistent <em>memory</em> (SQLite + STM), with mechanisms for:<p>internal conflict (id / ego / superego dynamics)<p>emotion tracking and importance scoring<p><em>memory</em> promotion through error, repetition, and affect<p>bounded short-term <em>memory</em> (LRU)<p>observer-based correction loops (meta-cognitive layer)<p>The system runs fully locally using a local LLM (via Ollama) for privacy and reproducibility.<p>I recently completed a production-ready rewrite, focusing on:<p>deterministic system behavior<p>bounded <em>memory</em> growth<p>structured logging<p>privacy / PII redaction<p>testability and long-running stability<p>This is not a claim about artificial consciousness \u2014 the terminology is used strictly as architectural metaphor to explore internal regulation and continuity over time.<p>Repo (README explains both how and why):\n<a href=\"https://github.com/sivanhavkin/Entelgia\" rel=\"nofollow\">https://github.com/sivanhavkin/Entelgia</a><p>I\u2019d especially appreciate feedback from people interested in:<p>multi-<em>agent</em> systems<p><em>memory</em> architectures<p>alignment via internal structure rather than external constraints<p>long-running LLM systems<p>Happy to answer questions or hear criticism."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","memory"],"value":"Show HN: Entelgia\u2013a consciousness-inspired,multi-<em>agent</em> AI with persistent <em>memory</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/sivanhavkin/Entelgia"}},"_tags":["story","author_sivanhavkin","story_46941234","show_hn"],"author":"sivanhavkin","created_at":"2026-02-09T03:25:51Z","created_at_i":1770607551,"num_comments":0,"objectID":"46941234","points":1,"story_id":46941234,"story_text":"I\u2019m sharing Entelgia, a research-oriented multi-agent AI architecture I\u2019ve been working on.<p>Entelgia is not a chatbot, but an experiment in how persistent identity, internal conflict, emotional regulation, and moral reasoning can emerge from structure rather than hard-coded rules.<p>Two primary agents engage in continuous dialogue across sessions, backed by a shared persistent memory (SQLite + STM), with mechanisms for:<p>internal conflict (id &#x2F; ego &#x2F; superego dynamics)<p>emotion tracking and importance scoring<p>memory promotion through error, repetition, and affect<p>bounded short-term memory (LRU)<p>observer-based correction loops (meta-cognitive layer)<p>The system runs fully locally using a local LLM (via Ollama) for privacy and reproducibility.<p>I recently completed a production-ready rewrite, focusing on:<p>deterministic system behavior<p>bounded memory growth<p>structured logging<p>privacy &#x2F; PII redaction<p>testability and long-running stability<p>This is not a claim about artificial consciousness \u2014 the terminology is used strictly as architectural metaphor to explore internal regulation and continuity over time.<p>Repo (README explains both how and why):\n<a href=\"https:&#x2F;&#x2F;github.com&#x2F;sivanhavkin&#x2F;Entelgia\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;sivanhavkin&#x2F;Entelgia</a><p>I\u2019d especially appreciate feedback from people interested in:<p>multi-agent systems<p>memory architectures<p>alignment via internal structure rather than external constraints<p>long-running LLM systems<p>Happy to answer questions or hear criticism.","title":"Show HN: Entelgia\u2013a consciousness-inspired,multi-agent AI with persistent memory","updated_at":"2026-03-05T23:32:54Z","url":"https://github.com/sivanhavkin/Entelgia"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"nikhilkanaka"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Location: San Francisco, CA<p>Remote: Yes<p>Willing to relocate: Yes<p>Technologies: Python, Go, TypeScript, LLMs, AI <em>agents</em><p>R\u00e9sum\u00e9/CV: <a href=\"https://npkanaka.github.io/files/cv.pdf\" rel=\"nofollow\">https://npkanaka.github.io/files/cv.pdf</a><p>Email: nikhilpavan.kanaka [at] gmail.com<p>=============================================<p>AI Engineer focused on production agentic systems. I currently build end-to-end AI products involving multi-<em>agent</em> orchestration, <em>memory</em>/runtime <em>architecture</em>, retrieval, evaluations, and reliable deployment. Before this, I worked across backend infrastructure, data systems, NLP/ML research, and high-scale production systems. I\u2019m most interested in teams building serious AI engineering products: <em>agents</em>, harness, infrastructure, applied AI, or systems where correctness and reliability matter."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Ask HN: Who wants to be hired? (July 2026)"}},"_tags":["comment","author_nikhilkanaka","story_48747975"],"author":"nikhilkanaka","comment_text":"Location: San Francisco, CA<p>Remote: Yes<p>Willing to relocate: Yes<p>Technologies: Python, Go, TypeScript, LLMs, AI agents<p>R\u00e9sum\u00e9&#x2F;CV: <a href=\"https:&#x2F;&#x2F;npkanaka.github.io&#x2F;files&#x2F;cv.pdf\" rel=\"nofollow\">https:&#x2F;&#x2F;npkanaka.github.io&#x2F;files&#x2F;cv.pdf</a><p>Email: nikhilpavan.kanaka [at] gmail.com<p>=============================================<p>AI Engineer focused on production agentic systems. I currently build end-to-end AI products involving multi-agent orchestration, memory&#x2F;runtime architecture, retrieval, evaluations, and reliable deployment. Before this, I worked across backend infrastructure, data systems, NLP&#x2F;ML research, and high-scale production systems. I\u2019m most interested in teams building serious AI engineering products: agents, harness, infrastructure, applied AI, or systems where correctness and reliability matter.","created_at":"2026-07-07T15:55:19Z","created_at_i":1783439719,"objectID":"48819557","parent_id":48747975,"story_id":48747975,"story_title":"Ask HN: Who wants to be hired? (July 2026)","updated_at":"2026-07-07T15:58:08Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"breakingnewsai"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Hi HN,<p>I\u2019m excited to announce the launch of my book, &quot;The Complete LangGraph Blueprint: Build 50+ AI <em>Agents</em> for Business Success&quot; .<p>LangGraph is an open-source framework designed to make AI <em>agent</em> workflows more dynamic, adaptable, and powerful. Unlike traditional chain-based workflows, LangGraph leverages graphs to handle complex decision-making, branching, and concurrency with ease.<p>This book is a step-by-step guide that takes you from beginner to advanced, helping you build and deploy 50+ real-world AI <em>agents</em> for industries like finance, healthcare, customer service, and more.<p>What\u2019s Inside?\nCore principles of LangGraph: Nodes, edges, states, and graphs.\nHow to enhance AI <em>agents</em> with <em>memory</em>, multi-<em>agent</em> <em>architectures</em>, and human-in-the-loop capabilities.\nReal-world integrations with APIs and advanced use cases.\nFull code examples and diagrams for every concept.<p>Why LangGraph?\nIf you\u2019ve used LangChain, you\u2019ll love LangGraph! It goes beyond static chains by introducing dynamic routing, adaptive workflows, and tool selection for intelligent decision-making.<p>The framework is open source, and the book is designed to help developers, startups, and businesses unlock its potential.<p>Who\u2019s It For?\nDevelopers looking to upskill in AI <em>agent</em> frameworks.\nEntrepreneurs automating workflows with AI.\nAI enthusiasts curious about next-gen tools like LangGraph.<p>Get the Book: https://www.amazon.com/dp/B0DP69QV7K<p>I\u2019d love your thoughts, feedback, and questions!"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent"],"value":"The Complete LangGraph Blueprint \u2013 Build 50 AI <em>Agents</em> for Business Success"}},"_tags":["story","author_breakingnewsai","story_42303448","ask_hn"],"author":"breakingnewsai","children":[42303735],"created_at":"2024-12-03T06:21:36Z","created_at_i":1733206896,"num_comments":2,"objectID":"42303448","points":2,"story_id":42303448,"story_text":"Hi HN,<p>I\u2019m excited to announce the launch of my book, &quot;The Complete LangGraph Blueprint: Build 50+ AI Agents for Business Success&quot; .<p>LangGraph is an open-source framework designed to make AI agent workflows more dynamic, adaptable, and powerful. Unlike traditional chain-based workflows, LangGraph leverages graphs to handle complex decision-making, branching, and concurrency with ease.<p>This book is a step-by-step guide that takes you from beginner to advanced, helping you build and deploy 50+ real-world AI agents for industries like finance, healthcare, customer service, and more.<p>What\u2019s Inside?\nCore principles of LangGraph: Nodes, edges, states, and graphs.\nHow to enhance AI agents with memory, multi-agent architectures, and human-in-the-loop capabilities.\nReal-world integrations with APIs and advanced use cases.\nFull code examples and diagrams for every concept.<p>Why LangGraph?\nIf you\u2019ve used LangChain, you\u2019ll love LangGraph! It goes beyond static chains by introducing dynamic routing, adaptive workflows, and tool selection for intelligent decision-making.<p>The framework is open source, and the book is designed to help developers, startups, and businesses unlock its potential.<p>Who\u2019s It For?\nDevelopers looking to upskill in AI agent frameworks.\nEntrepreneurs automating workflows with AI.\nAI enthusiasts curious about next-gen tools like LangGraph.<p>Get the Book: https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B0DP69QV7K<p>I\u2019d love your thoughts, feedback, and questions!","title":"The Complete LangGraph Blueprint \u2013 Build 50 AI Agents for Business Success","updated_at":"2024-12-03T08:36:11Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"breakingnewsai"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Hi HN,<p>A quick update for everyone interested in &quot;The Complete LangGraph Blueprint: Build 50+ AI <em>Agents</em> for Business Success&quot;: The special free offer for the book ends on December 5th, 2024.<p>Get the Book: <a href=\"https://www.amazon.com/dp/B0DP69QV7K\" rel=\"nofollow\">https://www.amazon.com/dp/B0DP69QV7K</a><p>This book is a step-by-step guide that takes you from beginner to advanced, helping you build and deploy 50+ real-world AI <em>agents</em> for industries like finance, healthcare, customer service, and more.<p>What\u2019s Inside?\nCore principles of LangGraph: Nodes, edges, states, and graphs.\nHow to enhance AI <em>agents</em> with <em>memory</em>, multi-<em>agent</em> <em>architectures</em>, and human-in-the-loop capabilities.\nReal-world integrations with APIs and advanced use cases.\nFull code examples and diagrams for every concept.<p>Why LangGraph?\nIf you\u2019ve used LangChain, you\u2019ll love LangGraph! It goes beyond static chains by introducing dynamic routing, adaptive workflows, and tool selection for intelligent decision-making.\nThe framework is open source, and the book is designed to help developers, startups, and businesses unlock its potential.<p>Curious before committing? Check out Chapter 10: Plan-and-Execute <em>Agents</em>, which covers:\n- What Plan-and-Execute is and why it\u2019s groundbreaking:\n  Discover how this <em>architecture</em> splits reasoning tasks into Planning and Execution phases for superior performance in multi-step workflows.\n- Key differences between Plan-and-Execute and ReAct models:\n  Understand why forward-thinking and re-planning make Plan-and-Execute <em>agents</em> more effective in handling complex tasks.<p>A practical walkthrough for building your own Plan-and-Execute AI <em>agent</em>:\nLearn how to create dynamic <em>agents</em> that plan, execute, and adapt seamlessly, complete with code examples using LangGraph.<p>Chapter 10: Plan-and-Execute <em>Agents</em><p>10.1 Introduction\nThe Plan-and-Execute <em>architecture</em> enhances reasoning tasks by splitting them into two core phases: Planning and Execution. This approach is derived from the Plan-and-Solve methodology, which contrasts with traditional single-step (ReAct) <em>agents</em>. The Plan-and-Solve <em>architecture</em> is particularly useful when dealing with complex multi-step reasoning tasks that require explicit planning for long-term goals.\nIn this chapter, we explore how Plan-and-Execute <em>agents</em> work by devising a multi-step plan and executing it in phases. The <em>agent</em> adapts as necessary, allowing for re-planning in case some steps fail or require more context.\n10.2 Why Use Plan-and-Execute?\nOne of the key issues in multi-step reasoning tasks is that even sophisticated models like GPT-4 often struggle with explicit long-term planning. Plan-and-Execute solves this by:\n\u25cf Breaking down complex tasks into smaller, manageable steps.\n\u25cf Adapting dynamically based on intermediate results.\n\u25cf Revisiting the plan when necessary to adjust or correct steps.\nThis <em>architecture</em> is superior to traditional ReAct (React-then-Act) models as it emphasizes forward-thinking (planning) before acting.\n10.3 Plan-and-Execute Concepts\nFrom the paper Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning, the Plan-and-Solve approach addresses the limitations of Zero-shot-CoT (Chain-of-Thought), which typically fails due to:\n1. Calculation Errors: Mistakes in intermediate calculations.\n2. Missing-Step Errors: Skipping important intermediate steps.\n3. Semantic Misunderstandings: Misinterpretation of the problem context.\nTo solve these issues, Plan-and-Solve introduces two key steps:\n1. Planning: Devising a clear plan to divide the overall task into subtasks, ensuring no steps are skipped.\n2. Execution: Executing each subtask and refining the plan if needed.<p>In the Plan-and-Solve <em>architecture</em>, the <em>agent</em> takes a multi-step approach:\n\u25cf First, it plans out a sequence of steps.\n\u25cf Then, it executes the steps one by one.\n\u25cf If any part of the process fails or if more information is needed, it re-plans the sequence, ensuring robustness and flexibility."},"title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: Last Chance\u2013Free Offer for 'The Complete LangGraph Blueprint' Ends 12/6"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.amazon.com/dp/B0DP69QV7K"}},"_tags":["story","author_breakingnewsai","story_42315434","show_hn"],"author":"breakingnewsai","created_at":"2024-12-04T08:07:46Z","created_at_i":1733299666,"num_comments":0,"objectID":"42315434","points":1,"story_id":42315434,"story_text":"Hi HN,<p>A quick update for everyone interested in &quot;The Complete LangGraph Blueprint: Build 50+ AI Agents for Business Success&quot;: The special free offer for the book ends on December 5th, 2024.<p>Get the Book: <a href=\"https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B0DP69QV7K\" rel=\"nofollow\">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;B0DP69QV7K</a><p>This book is a step-by-step guide that takes you from beginner to advanced, helping you build and deploy 50+ real-world AI agents for industries like finance, healthcare, customer service, and more.<p>What\u2019s Inside?\nCore principles of LangGraph: Nodes, edges, states, and graphs.\nHow to enhance AI agents with memory, multi-agent architectures, and human-in-the-loop capabilities.\nReal-world integrations with APIs and advanced use cases.\nFull code examples and diagrams for every concept.<p>Why LangGraph?\nIf you\u2019ve used LangChain, you\u2019ll love LangGraph! It goes beyond static chains by introducing dynamic routing, adaptive workflows, and tool selection for intelligent decision-making.\nThe framework is open source, and the book is designed to help developers, startups, and businesses unlock its potential.<p>Curious before committing? Check out Chapter 10: Plan-and-Execute Agents, which covers:\n- What Plan-and-Execute is and why it\u2019s groundbreaking:\n  Discover how this architecture splits reasoning tasks into Planning and Execution phases for superior performance in multi-step workflows.\n- Key differences between Plan-and-Execute and ReAct models:\n  Understand why forward-thinking and re-planning make Plan-and-Execute agents more effective in handling complex tasks.<p>A practical walkthrough for building your own Plan-and-Execute AI agent:\nLearn how to create dynamic agents that plan, execute, and adapt seamlessly, complete with code examples using LangGraph.<p>Chapter 10: Plan-and-Execute Agents<p>10.1 Introduction\nThe Plan-and-Execute architecture enhances reasoning tasks by splitting them into two core phases: Planning and Execution. This approach is derived from the Plan-and-Solve methodology, which contrasts with traditional single-step (ReAct) agents. The Plan-and-Solve architecture is particularly useful when dealing with complex multi-step reasoning tasks that require explicit planning for long-term goals.\nIn this chapter, we explore how Plan-and-Execute agents work by devising a multi-step plan and executing it in phases. The agent adapts as necessary, allowing for re-planning in case some steps fail or require more context.\n10.2 Why Use Plan-and-Execute?\nOne of the key issues in multi-step reasoning tasks is that even sophisticated models like GPT-4 often struggle with explicit long-term planning. Plan-and-Execute solves this by:\n\u25cf Breaking down complex tasks into smaller, manageable steps.\n\u25cf Adapting dynamically based on intermediate results.\n\u25cf Revisiting the plan when necessary to adjust or correct steps.\nThis architecture is superior to traditional ReAct (React-then-Act) models as it emphasizes forward-thinking (planning) before acting.\n10.3 Plan-and-Execute Concepts\nFrom the paper Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning, the Plan-and-Solve approach addresses the limitations of Zero-shot-CoT (Chain-of-Thought), which typically fails due to:\n1. Calculation Errors: Mistakes in intermediate calculations.\n2. Missing-Step Errors: Skipping important intermediate steps.\n3. Semantic Misunderstandings: Misinterpretation of the problem context.\nTo solve these issues, Plan-and-Solve introduces two key steps:\n1. Planning: Devising a clear plan to divide the overall task into subtasks, ensuring no steps are skipped.\n2. Execution: Executing each subtask and refining the plan if needed.<p>In the Plan-and-Solve architecture, the agent takes a multi-step approach:\n\u25cf First, it plans out a sequence of steps.\n\u25cf Then, it executes the steps one by one.\n\u25cf If any part of the process fails or if more information is needed, it re-plans the sequence, ensuring robustness and flexibility.","title":"Show HN: Last Chance\u2013Free Offer for 'The Complete LangGraph Blueprint' Ends 12/6","updated_at":"2024-12-04T08:10:15Z","url":"https://www.amazon.com/dp/B0DP69QV7K"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"TaurenHunter"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Zep: A Temporal Knowledge Graph <em>Architecture</em> for <em>Agent</em> <em>Memory</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://arxiv.org/abs/2501.13956"}},"_tags":["story","author_TaurenHunter","story_43085671"],"author":"TaurenHunter","created_at":"2025-02-18T03:05:03Z","created_at_i":1739847903,"num_comments":0,"objectID":"43085671","points":1,"story_id":43085671,"title":"Zep: A Temporal Knowledge Graph Architecture for Agent Memory","updated_at":"2025-02-18T03:06:19Z","url":"https://arxiv.org/abs/2501.13956"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ViktorKuz"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I\u2019ve been experimenting with long-term <em>memory</em> <em>architectures</em> for <em>agent</em> systems and wanted to share some technical results that might be useful to others working on retrieval pipelines.<p>Benchmark: LoCoMo (10 runs \u00d7 10 conversation sets)\nAverage accuracy: 80.1%\nSetup: full isolation across all 10 conv groups (no cross-contamination, no shared <em>memory</em> between runs)<p><em>Architecture</em> (all open weights except answer generation)<p>1. Dense retrieval<p>BGE-large-en-v1.5 (1024d)<p>FAISS IndexFlatIP<p>Standard BGE instruction prompt:\n\u201cRepresent this sentence for searching relevant passages.\u201d<p>2. Sparse retrieval<p>BM25 via classic inverted index<p>Helps with low-embedding-recall queries and keyword-heavy prompts<p>3. MCA (Multi-Component Aggregation) ranking\nA simple gravitational-style score combining:<p>keyword coverage<p>token importance<p>local frequency signal\nMCA acts as a first-pass filter to catch exact-match questions.\nThreshold: coverage \u2265 0.1 \u2192 keep top-30<p>4. Union strategy\nInstead of aggressively reducing the union, the system feeds 112\u2013135 documents directly to a re-ranker.\nIn practice this improved stability and prevented loss of rare but crucial documents.<p>5. Cross-Encoder reranking<p>bge-reranker-v2-m3<p>Processes the full union (rare for RAG pipelines, but worked best here)<p>Produces a final top-k used for answer generation<p>6. Answer generation<p>GPT-4o-mini, used only for the final synthesis step<p>No <em>agent</em> chain, no tool calls, no <em>memory</em>-dependent LLM logic<p>Performance<p>&lt;3 seconds per query on a single RTX 4090<p>Deterministic output between runs<p>Reproducible test harness (10\u00d710 protocol)<p>Why this worked<p>Three things seemed to matter most:<p>MCA-first filter to stabilize early recall<p>Not discarding the union before re-ranking<p>Proper dense embedding instruction, which massively affects BGE performance<p>Notes<p>LoCoMo remains one of the hardest public <em>memory</em> benchmarks:\n5,880 multi-hop, temporal, negation-rich QA pairs derived from human\u2013<em>agent</em> conversations.\nWould be interested to compare with others working on long-term retrieval, especially multi-stage ranking or cross-encoder heavy pipelines.<p>Github: https://github.com/vac-architector/VAC-<em>Memory</em>-System"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"I built an open-weights <em>memory</em> system that reaches 80.1% on the LoCoMo benchmark"}},"_tags":["story","author_ViktorKuz","story_46057283","ask_hn"],"author":"ViktorKuz","children":[46057311],"created_at":"2025-11-26T13:38:09Z","created_at_i":1764164289,"num_comments":2,"objectID":"46057283","points":2,"story_id":46057283,"story_text":"I\u2019ve been experimenting with long-term memory architectures for agent systems and wanted to share some technical results that might be useful to others working on retrieval pipelines.<p>Benchmark: LoCoMo (10 runs \u00d7 10 conversation sets)\nAverage accuracy: 80.1%\nSetup: full isolation across all 10 conv groups (no cross-contamination, no shared memory between runs)<p>Architecture (all open weights except answer generation)<p>1. Dense retrieval<p>BGE-large-en-v1.5 (1024d)<p>FAISS IndexFlatIP<p>Standard BGE instruction prompt:\n\u201cRepresent this sentence for searching relevant passages.\u201d<p>2. Sparse retrieval<p>BM25 via classic inverted index<p>Helps with low-embedding-recall queries and keyword-heavy prompts<p>3. MCA (Multi-Component Aggregation) ranking\nA simple gravitational-style score combining:<p>keyword coverage<p>token importance<p>local frequency signal\nMCA acts as a first-pass filter to catch exact-match questions.\nThreshold: coverage \u2265 0.1 \u2192 keep top-30<p>4. Union strategy\nInstead of aggressively reducing the union, the system feeds 112\u2013135 documents directly to a re-ranker.\nIn practice this improved stability and prevented loss of rare but crucial documents.<p>5. Cross-Encoder reranking<p>bge-reranker-v2-m3<p>Processes the full union (rare for RAG pipelines, but worked best here)<p>Produces a final top-k used for answer generation<p>6. Answer generation<p>GPT-4o-mini, used only for the final synthesis step<p>No agent chain, no tool calls, no memory-dependent LLM logic<p>Performance<p>&lt;3 seconds per query on a single RTX 4090<p>Deterministic output between runs<p>Reproducible test harness (10\u00d710 protocol)<p>Why this worked<p>Three things seemed to matter most:<p>MCA-first filter to stabilize early recall<p>Not discarding the union before re-ranking<p>Proper dense embedding instruction, which massively affects BGE performance<p>Notes<p>LoCoMo remains one of the hardest public memory benchmarks:\n5,880 multi-hop, temporal, negation-rich QA pairs derived from human\u2013agent conversations.\nWould be interested to compare with others working on long-term retrieval, especially multi-stage ranking or cross-encoder heavy pipelines.<p>Github: https:&#x2F;&#x2F;github.com&#x2F;vac-architector&#x2F;VAC-Memory-System","title":"I built an open-weights memory system that reaches 80.1% on the LoCoMo benchmark","updated_at":"2026-03-05T23:08:07Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"bikidev"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Hi HN,\nI built Metamind because I was frustrated with how stateless modern LLM interactions are. Every conversation starts from scratch, and existing <em>memory</em> solutions felt like overkill for what should be a simple problem.<p>What is it?\nA self-contained <em>memory</em> system for AI <em>agents</em> that mimics human <em>memory</em> <em>architecture</em>:<p>- Episodic <em>memory</em> (conversations, experiences)\n- Semantic <em>memory</em> (concepts, relations, knowledge graphs)\n- Vector <em>memory</em> (HNSW-powered similarity search)\n- Automatic <em>memory</em> consolidation, reflection, and decay<p>Key technical choices:<p>- Single Rust binary with single-file database (no Postgres, no Redis, no vector DB)\n- Multi-user ready with complete data isolation\n- HNSW for O(log n) vector search instead of naive brute force\n- Cognitive processes: salience-based decay, <em>memory</em> consolidation, pattern detection<p>Why share this?\nI'm genuinely curious:<p>- Is the &quot;brain-like <em>memory</em>&quot; approach interesting or just over-engineering?\n- Are others frustrated by stateless LLM interactions?\n- What <em>memory</em>/retrieval strategies have worked for you?\n- Where would you take this <em>architecture</em> next?<p>I know there are limitations, but I wanted to share what's working today rather than wait for perfection. The core retrieval + consolidation loop feels genuinely useful.<p>Demo video (Skipped to Demo): https://www.loom.com/share/c187767b2d1e4e778bc41676c574408b?t=657"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","architecture"],"value":"Metamind \u2013 Cognitive <em>architecture</em> for LLM <em>agents</em>"}},"_tags":["story","author_bikidev","story_46356415","ask_hn"],"author":"bikidev","created_at":"2025-12-22T17:40:05Z","created_at_i":1766425205,"num_comments":0,"objectID":"46356415","points":1,"story_id":46356415,"story_text":"Hi HN,\nI built Metamind because I was frustrated with how stateless modern LLM interactions are. Every conversation starts from scratch, and existing memory solutions felt like overkill for what should be a simple problem.<p>What is it?\nA self-contained memory system for AI agents that mimics human memory architecture:<p>- Episodic memory (conversations, experiences)\n- Semantic memory (concepts, relations, knowledge graphs)\n- Vector memory (HNSW-powered similarity search)\n- Automatic memory consolidation, reflection, and decay<p>Key technical choices:<p>- Single Rust binary with single-file database (no Postgres, no Redis, no vector DB)\n- Multi-user ready with complete data isolation\n- HNSW for O(log n) vector search instead of naive brute force\n- Cognitive processes: salience-based decay, memory consolidation, pattern detection<p>Why share this?\nI&#x27;m genuinely curious:<p>- Is the &quot;brain-like memory&quot; approach interesting or just over-engineering?\n- Are others frustrated by stateless LLM interactions?\n- What memory&#x2F;retrieval strategies have worked for you?\n- Where would you take this architecture next?<p>I know there are limitations, but I wanted to share what&#x27;s working today rather than wait for perfection. The core retrieval + consolidation loop feels genuinely useful.<p>Demo video (Skipped to Demo): https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;c187767b2d1e4e778bc41676c574408b?t=657","title":"Metamind \u2013 Cognitive architecture for LLM agents","updated_at":"2026-03-05T23:16:26Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ViktorKuz"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I\u2019ve been experimenting with long-term <em>memory</em> <em>architectures</em> for <em>agent</em> systems and wanted to share some technical results that might be useful to others working on retrieval pipelines.\nBenchmark: LoCoMo (10 runs \u00d7 10 conversation sets) Average accuracy: 80.1% Setup: full isolation across all 10 conv groups (no cross-contamination, no shared <em>memory</em> between runs)<p><em>Architecture</em> (all open weights except answer generation)<p>1. Dense retrieval<p>BGE-large-en-v1.5 (1024d)<p>FAISS IndexFlatIP<p>Standard BGE instruction prompt: \u201cRepresent this sentence for searching relevant passages.\u201d<p>2. Sparse retrieval<p>BM25 via classic inverted index<p>Helps with low-embedding-recall queries and keyword-heavy prompts<p>3. MCA (Multi-Component Aggregation) ranking A simple gravitational-style score combining:<p>keyword coverage<p>token importance<p>local frequency signal MCA acts as a first-pass filter to catch exact-match questions. Threshold: coverage \u2265 0.1 \u2192 keep top-30<p>4. Union strategy Instead of aggressively reducing the union, the system feeds 112\u2013135 documents directly to a re-ranker. In practice this improved stability and prevented loss of rare but crucial documents.<p>5. Cross-Encoder reranking<p>bge-reranker-v2-m3<p>Processes the full union (rare for RAG pipelines, but worked best here)<p>Produces a final top-k used for answer generation<p>6. Answer generation<p>GPT-4o-mini, used only for the final synthesis step<p>No <em>agent</em> chain, no tool calls, no <em>memory</em>-dependent LLM logic<p>Performance<p>&lt;3 seconds per query on a single RTX 4090<p>Deterministic output between runs<p>Reproducible test harness (10\u00d710 protocol)<p>Why this worked<p>Three things seemed to matter most:<p>MCA-first filter to stabilize early recall<p>Not discarding the union before re-ranking<p>Proper dense embedding instruction, which massively affects BGE performance<p>Notes<p>LoCoMo remains one of the hardest public <em>memory</em> benchmarks: 5,880 multi-hop, temporal, negation-rich QA pairs derived from human\u2013<em>agent</em> conversations. Would be interested to compare with others working on long-term retrieval, especially multi-stage ranking or cross-encoder heavy pipelines.<p>Github: <a href=\"https://github.com/vac-architector/VAC-Memory-System\" rel=\"nofollow\">https://github.com/vac-architector/VAC-<em>Memory</em>-System</a>"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"Show HN: Change the model. Same output. The pipeline decides. VAC <em>Memory</em> System"}},"_tags":["story","author_ViktorKuz","story_46244300","show_hn"],"author":"ViktorKuz","created_at":"2025-12-12T14:11:17Z","created_at_i":1765548677,"num_comments":0,"objectID":"46244300","points":1,"story_id":46244300,"story_text":"I\u2019ve been experimenting with long-term memory architectures for agent systems and wanted to share some technical results that might be useful to others working on retrieval pipelines.\nBenchmark: LoCoMo (10 runs \u00d7 10 conversation sets) Average accuracy: 80.1% Setup: full isolation across all 10 conv groups (no cross-contamination, no shared memory between runs)<p>Architecture (all open weights except answer generation)<p>1. Dense retrieval<p>BGE-large-en-v1.5 (1024d)<p>FAISS IndexFlatIP<p>Standard BGE instruction prompt: \u201cRepresent this sentence for searching relevant passages.\u201d<p>2. Sparse retrieval<p>BM25 via classic inverted index<p>Helps with low-embedding-recall queries and keyword-heavy prompts<p>3. MCA (Multi-Component Aggregation) ranking A simple gravitational-style score combining:<p>keyword coverage<p>token importance<p>local frequency signal MCA acts as a first-pass filter to catch exact-match questions. Threshold: coverage \u2265 0.1 \u2192 keep top-30<p>4. Union strategy Instead of aggressively reducing the union, the system feeds 112\u2013135 documents directly to a re-ranker. In practice this improved stability and prevented loss of rare but crucial documents.<p>5. Cross-Encoder reranking<p>bge-reranker-v2-m3<p>Processes the full union (rare for RAG pipelines, but worked best here)<p>Produces a final top-k used for answer generation<p>6. Answer generation<p>GPT-4o-mini, used only for the final synthesis step<p>No agent chain, no tool calls, no memory-dependent LLM logic<p>Performance<p>&lt;3 seconds per query on a single RTX 4090<p>Deterministic output between runs<p>Reproducible test harness (10\u00d710 protocol)<p>Why this worked<p>Three things seemed to matter most:<p>MCA-first filter to stabilize early recall<p>Not discarding the union before re-ranking<p>Proper dense embedding instruction, which massively affects BGE performance<p>Notes<p>LoCoMo remains one of the hardest public memory benchmarks: 5,880 multi-hop, temporal, negation-rich QA pairs derived from human\u2013agent conversations. Would be interested to compare with others working on long-term retrieval, especially multi-stage ranking or cross-encoder heavy pipelines.<p>Github: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;vac-architector&#x2F;VAC-Memory-System\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;vac-architector&#x2F;VAC-Memory-System</a>","title":"Show HN: Change the model. Same output. The pipeline decides. VAC Memory System","updated_at":"2026-03-05T23:10:22Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"cpfiffer"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Cameron here @ Letta.<p>Letta now provides Anthropic's `<em>memory</em>` tool, enabling <em>agents</em> to dynamically manage their own <em>memory</em> <em>architecture</em>.<p>The <em>memory</em> tool is something I have wanted since before I started working at Letta, but never had the bandwidth to implement. Our researcher Kevin Lin ended up hacking it together in an evening, and it works swimmingly. But what does it enable?<p>Currently, Letta <em>agents</em> have a fixed <em>memory</em> <em>architecture</em>. A <em>memory</em> <em>architecture</em> is a set of <em>memory</em> blocks to track various types of information, such as communication guidelines, information about a user, company policies, how to use various tools, etc. <em>Memory</em> <em>architecture</em> can allow the <em>agent</em> to learn about nearly any type of information and persist it through its lifespan.<p>However, <em>agents</em> have not been able to modify this <em>architecture</em> themselves. They could modify what was INSIDE the blocks, such as including a note about how I like dogs when I mention it.<p>But the <em>agent</em> could not add a new block to track information that was unanticipated. For example, if the <em>agent</em> recognizes that it is struggling with understanding how to use tools, it either had to write tool use guidelines to some other block ill-suited for that purpose, or simply lose the information.<p>With the <em>memory</em> tool, the <em>agent</em> can decide to add a new block to accomodate this information. You can either ask it to add the block if you notice it struggling, or it may even choose to add the block itself.<p>The <em>memory</em> tool also allows &quot;peeking&quot; on blocks stored in something like a filesystem, such as /notes/letta to track the <em>agent</em>'s notes on Letta. The <em>agent</em> can look at what is inside this <em>memory</em> without having to load it permanently into its context, which helps <em>memory</em> blocks resemble a filesystem.<p>I am extraordinarily proud of this tool and how quickly it came together. My sense is that this tool is one of the final building blocks needed to make Letta <em>agents</em> genuinely self-improving -- their &quot;shape&quot; is now under their own control, and they can now adapt much more readily to changing environments.<p>Very, very cool stuff."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"Claude Sonnet 4.5 and the <em>memory</em> Omni-tool in Letta"},"story_url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"https://www.letta.com/blog/introducing-sonnet-4-5-and-the-<em>memory</em>-omni-tool-in-letta"}},"_tags":["comment","author_cpfiffer","story_45431326"],"author":"cpfiffer","comment_text":"Cameron here @ Letta.<p>Letta now provides Anthropic&#x27;s `memory` tool, enabling agents to dynamically manage their own memory architecture.<p>The memory tool is something I have wanted since before I started working at Letta, but never had the bandwidth to implement. Our researcher Kevin Lin ended up hacking it together in an evening, and it works swimmingly. But what does it enable?<p>Currently, Letta agents have a fixed memory architecture. A memory architecture is a set of memory blocks to track various types of information, such as communication guidelines, information about a user, company policies, how to use various tools, etc. Memory architecture can allow the agent to learn about nearly any type of information and persist it through its lifespan.<p>However, agents have not been able to modify this architecture themselves. They could modify what was INSIDE the blocks, such as including a note about how I like dogs when I mention it.<p>But the agent could not add a new block to track information that was unanticipated. For example, if the agent recognizes that it is struggling with understanding how to use tools, it either had to write tool use guidelines to some other block ill-suited for that purpose, or simply lose the information.<p>With the memory tool, the agent can decide to add a new block to accomodate this information. You can either ask it to add the block if you notice it struggling, or it may even choose to add the block itself.<p>The memory tool also allows &quot;peeking&quot; on blocks stored in something like a filesystem, such as &#x2F;notes&#x2F;letta to track the agent&#x27;s notes on Letta. The agent can look at what is inside this memory without having to load it permanently into its context, which helps memory blocks resemble a filesystem.<p>I am extraordinarily proud of this tool and how quickly it came together. My sense is that this tool is one of the final building blocks needed to make Letta agents genuinely self-improving -- their &quot;shape&quot; is now under their own control, and they can now adapt much more readily to changing environments.<p>Very, very cool stuff.","created_at":"2025-09-30T21:13:24Z","created_at_i":1759266804,"objectID":"45431327","parent_id":45431326,"story_id":45431326,"story_title":"Claude Sonnet 4.5 and the memory Omni-tool in Letta","story_url":"https://www.letta.com/blog/introducing-sonnet-4-5-and-the-memory-omni-tool-in-letta","updated_at":"2026-03-18T19:19:47Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"gotham64"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"OpenPawz Engram biologically-inspired <em>memory</em> <em>architecture</em> for AI <em>agents</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/OpenPawz/openpawz/blob/main/ENGRAM.md"}},"_tags":["story","author_gotham64","story_47228095"],"author":"gotham64","children":[47228096],"created_at":"2026-03-03T04:34:00Z","created_at_i":1772512440,"num_comments":1,"objectID":"47228095","points":5,"story_id":47228095,"title":"OpenPawz Engram biologically-inspired memory architecture for AI agents","updated_at":"2026-03-11T18:43:49Z","url":"https://github.com/OpenPawz/openpawz/blob/main/ENGRAM.md"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"doiito"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Show HN:Gliding Horse \u2013 a Rust <em>Agent</em> OS with CPU-Like <em>Memory</em> <em>Architecture</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/doiito/gliding_horse"}},"_tags":["story","author_doiito","story_48319699","show_hn"],"author":"doiito","children":[48319700,48367901],"created_at":"2026-05-29T06:20:47Z","created_at_i":1780035647,"num_comments":0,"objectID":"48319699","points":1,"story_id":48319699,"title":"Show HN:Gliding Horse \u2013 a Rust Agent OS with CPU-Like Memory Architecture","updated_at":"2026-06-02T21:50:26Z","url":"https://github.com/doiito/gliding_horse"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"vvoruganti"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"Hey HN,<p>It\u2019s Vineeth from Plastic Labs. We've been building Honcho, an open-source <em>memory</em> library for stateful AI <em>agents</em>.<p>Most <em>memory</em> systems are just vector search\u2014store facts, retrieve facts, stuff into context. We took a different approach: <em>memory</em> as reasoning. (We talk about this a lot on our blog)<p>We built Neuromancer, a model trained specifically for AI-native <em>memory</em>. Instead of naive fact extraction, Neuromancer does formal logical reasoning over conversations to build representations that evolve over time. Its both cheap ( $2/M tokens ingestion, unlimited retrieval), token efficient and SOTA: LongMem (90.4%), LoCoMo (89.9%), and BEAM. On BEAM 10M\u2014which exceeds every model's context window\u2014we hit 0.409 vs prior SOTA of 0.266, using 0.5% of context per query.<p>Github: <a href=\"https://github.com/plastic-labs/honcho\" rel=\"nofollow\">https://github.com/plastic-labs/honcho</a><p>Evals: <a href=\"https://evals.honcho.dev\" rel=\"nofollow\">https://evals.honcho.dev</a><p>Neuromancer Model Card: <a href=\"https://plasticlabs.ai/neuromancer\" rel=\"nofollow\">https://plasticlabs.ai/neuromancer</a>)<p><em>Memory</em> as Reasoning Approach: <a href=\"https://blog.plasticlabs.ai/blog/Memory-as-Reasoning\" rel=\"nofollow\">https://blog.plasticlabs.ai/blog/<em>Memory</em>-as-Reasoning</a><p>Read more about our recent updates: <a href=\"https://blog.plasticlabs.ai/blog/Honcho-3\" rel=\"nofollow\">https://blog.plasticlabs.ai/blog/Honcho-3</a><p>Happy to answer questions about the <em>architecture</em>, benchmarks, or <em>agent</em> <em>memory</em> patterns in general"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"Show HN: Honcho \u2013 Open-source <em>memory</em> infrastructure, powered by custom models"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/plastic-labs/honcho"}},"_tags":["story","author_vvoruganti","story_46781717","show_hn"],"author":"vvoruganti","created_at":"2026-01-27T15:58:43Z","created_at_i":1769529523,"num_comments":0,"objectID":"46781717","points":8,"story_id":46781717,"story_text":"Hey HN,<p>It\u2019s Vineeth from Plastic Labs. We&#x27;ve been building Honcho, an open-source memory library for stateful AI agents.<p>Most memory systems are just vector search\u2014store facts, retrieve facts, stuff into context. We took a different approach: memory as reasoning. (We talk about this a lot on our blog)<p>We built Neuromancer, a model trained specifically for AI-native memory. Instead of naive fact extraction, Neuromancer does formal logical reasoning over conversations to build representations that evolve over time. Its both cheap ( $2&#x2F;M tokens ingestion, unlimited retrieval), token efficient and SOTA: LongMem (90.4%), LoCoMo (89.9%), and BEAM. On BEAM 10M\u2014which exceeds every model&#x27;s context window\u2014we hit 0.409 vs prior SOTA of 0.266, using 0.5% of context per query.<p>Github: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;plastic-labs&#x2F;honcho\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;plastic-labs&#x2F;honcho</a><p>Evals: <a href=\"https:&#x2F;&#x2F;evals.honcho.dev\" rel=\"nofollow\">https:&#x2F;&#x2F;evals.honcho.dev</a><p>Neuromancer Model Card: <a href=\"https:&#x2F;&#x2F;plasticlabs.ai&#x2F;neuromancer\" rel=\"nofollow\">https:&#x2F;&#x2F;plasticlabs.ai&#x2F;neuromancer</a>)<p>Memory as Reasoning Approach: <a href=\"https:&#x2F;&#x2F;blog.plasticlabs.ai&#x2F;blog&#x2F;Memory-as-Reasoning\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.plasticlabs.ai&#x2F;blog&#x2F;Memory-as-Reasoning</a><p>Read more about our recent updates: <a href=\"https:&#x2F;&#x2F;blog.plasticlabs.ai&#x2F;blog&#x2F;Honcho-3\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.plasticlabs.ai&#x2F;blog&#x2F;Honcho-3</a><p>Happy to answer questions about the architecture, benchmarks, or agent memory patterns in general","title":"Show HN: Honcho \u2013 Open-source memory infrastructure, powered by custom models","updated_at":"2026-03-05T23:26:50Z","url":"https://github.com/plastic-labs/honcho"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"nicola_alessi"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I've spent months building tooling for AI coding <em>agents</em> and hit something I can't fully explain.<p>If you give an <em>agent</em> (Claude Code, Cursor, Codex) a tool to save observations \u2014 &quot;save_observation: persist this insight for future sessions&quot; \u2014 and explicitly instruct it to use the tool in system prompts, config files, everywhere you can, it calls it maybe 30% of the time.<p>The <em>agent</em> will happily use tools that help it complete the current task. But a tool that only benefits future sessions? Almost never.<p>My working theory: these models are optimized for task completion within the current context window. Saving an observation has zero value for the current task \u2014 it's a token cost with no immediate reward. The model has learned that every token spent on &quot;let me save this for later&quot; is a token not spent on the actual work. The incentive structure is wrong at the training level.<p>I ended up building a passive observation system that watches what the <em>agent</em> does and infers observations from tool calls and AST-level code diffs, without requiring <em>agent</em> cooperation. But I'm curious if others have found ways to make <em>agents</em> reliably self-document.<p>Has anyone solved this? Techniques like:\n- Prompt structures that actually get <em>agents</em> to save context\n- Fine-tuning approaches that reward knowledge retention\n- Alternative <em>architectures</em> for persistent <em>agent</em> <em>memory</em><p>Or is passive observation the only reliable path when the <em>agent</em> won't cooperate?"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent"],"value":"Ask HN: Why do AI coding <em>agents</em> refuse to save their own observations?"}},"_tags":["story","author_nicola_alessi","story_47170501","ask_hn"],"author":"nicola_alessi","children":[47170592],"created_at":"2026-02-26T19:01:37Z","created_at_i":1772132497,"num_comments":1,"objectID":"47170501","points":2,"story_id":47170501,"story_text":"I&#x27;ve spent months building tooling for AI coding agents and hit something I can&#x27;t fully explain.<p>If you give an agent (Claude Code, Cursor, Codex) a tool to save observations \u2014 &quot;save_observation: persist this insight for future sessions&quot; \u2014 and explicitly instruct it to use the tool in system prompts, config files, everywhere you can, it calls it maybe 30% of the time.<p>The agent will happily use tools that help it complete the current task. But a tool that only benefits future sessions? Almost never.<p>My working theory: these models are optimized for task completion within the current context window. Saving an observation has zero value for the current task \u2014 it&#x27;s a token cost with no immediate reward. The model has learned that every token spent on &quot;let me save this for later&quot; is a token not spent on the actual work. The incentive structure is wrong at the training level.<p>I ended up building a passive observation system that watches what the agent does and infers observations from tool calls and AST-level code diffs, without requiring agent cooperation. But I&#x27;m curious if others have found ways to make agents reliably self-document.<p>Has anyone solved this? Techniques like:\n- Prompt structures that actually get agents to save context\n- Fine-tuning approaches that reward knowledge retention\n- Alternative architectures for persistent agent memory<p>Or is passive observation the only reliable path when the agent won&#x27;t cooperate?","title":"Ask HN: Why do AI coding agents refuse to save their own observations?","updated_at":"2026-03-09T19:17:57Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"thompson0012"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I've been building multi-<em>agent</em> AI pipelines and kept running into the same structural problem: <em>agents</em> are stateless by default. Every session restart discards everything they learned. In multi-<em>agent</em> systems it compounds \u2014 <em>Agent</em>-1 learns something <em>Agent</em>-2 will never know. I started calling it &quot;<em>agent</em> amnesia.&quot;\nAFS is my attempt to fix this. The central architectural decision is unusual: your filesystem IS the <em>memory</em> layer. There's no separate database process to run, no cloud service to authenticate against. AFS stores memories as JSON files in a `.afs/` directory, with SQLite FTS5 for full-text search, HNSW indices for vector similarity, and msgpack-encoded graph edges for relationships.\n*Three-tier <em>memory</em> lifecycle (automatic)*\nMemories auto-migrate without explicit management:\n- Working <em>memory</em> (&lt; 24h): raw observations, fast access, no compression<p>- Episodic <em>memory</em>: full history with provenance, searchable\n- Semantic <em>memory</em>: auto-consolidated knowledge (scheduler synthesizes patterns from episodic into generalizations like &quot;Auth module uses JWT, 24h expiry across all services&quot;)<p>You only store observations. The scheduler extracts the patterns.<p>*Multi-<em>agent</em> knowledge sharing*\nNamed swarm pools: <em>Agent</em>-1 shares a <em>memory</em> to a swarm ID, any <em>agent</em> querying that swarm ID gets it. No broker process, no coordination protocol \u2014 just shared files with file-locking.\n*Auto-built knowledge graph*\nGraph edges (`similar_to`, `co_occurred`, `consolidated_from`, `depends_on`) are discovered automatically during consolidation. You can query neighbors, mine for new connections, or traverse paths.<p>*Why filesystem over a vector database*\nA few deliberate tradeoffs:\n1. Inspectable by default \u2014 `jq .afs/<em>agents</em>/my-<em>agent</em>/memories/working/<i>.json` is a valid debugging strategy\n2. Versionable \u2014 `git` your <em>agent</em>'s <em>memory</em> like any other project artifact\n3. Portable \u2014 rsync to another machine, it works\n4. Air-gap friendly \u2014 zero outbound calls\n5. No additional process \u2014 no Postgres, no Qdrant, nothing to manage\nTradeoff: less efficient at very large scale than a dedicated vector DB. Using HNSW (hnswlib) for approximate nearest neighbor \u2014 handles the cases I've tested (100k+ memories per <em>agent</em>, &lt; 100ms search).<p>*Audit trail*\nAll operations logged with standardized operation names, status (success/error/partial), and operation-specific payload. Fail-open \u2014 if audit logging fails, the operation continues.<p>*Status*\nUnder active development. APIs and behaviors change frequently. Open-sourcing early to get feedback from people building real agentic systems.\nRepo: <a href=\"https://github.com/thompson0012/project-afs\" rel=\"nofollow\">https://github.com/thompson0012/project-afs</a>\nSpecifically interested in feedback on:\n- The filesystem-first approach vs. embedded DB (DuckDB, SQLite with vector extension)\n- Whether the three-tier <em>memory</em> model maps to real <em>agent</em> workflows\n- Any <em>memory</em> patterns this <em>architecture</em> can't support well\n```</i>"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["agent","memory"],"value":"Show HN: AFS \u2013 filesystem-native <em>memory</em> layer for AI <em>agents</em>"}},"_tags":["story","author_thompson0012","story_47062802","show_hn"],"author":"thompson0012","created_at":"2026-02-18T16:31:57Z","created_at_i":1771432317,"num_comments":0,"objectID":"47062802","points":2,"story_id":47062802,"story_text":"I&#x27;ve been building multi-agent AI pipelines and kept running into the same structural problem: agents are stateless by default. Every session restart discards everything they learned. In multi-agent systems it compounds \u2014 Agent-1 learns something Agent-2 will never know. I started calling it &quot;agent amnesia.&quot;\nAFS is my attempt to fix this. The central architectural decision is unusual: your filesystem IS the memory layer. There&#x27;s no separate database process to run, no cloud service to authenticate against. AFS stores memories as JSON files in a `.afs&#x2F;` directory, with SQLite FTS5 for full-text search, HNSW indices for vector similarity, and msgpack-encoded graph edges for relationships.\n*Three-tier memory lifecycle (automatic)*\nMemories auto-migrate without explicit management:\n- Working memory (&lt; 24h): raw observations, fast access, no compression<p>- Episodic memory: full history with provenance, searchable\n- Semantic memory: auto-consolidated knowledge (scheduler synthesizes patterns from episodic into generalizations like &quot;Auth module uses JWT, 24h expiry across all services&quot;)<p>You only store observations. The scheduler extracts the patterns.<p>*Multi-agent knowledge sharing*\nNamed swarm pools: Agent-1 shares a memory to a swarm ID, any agent querying that swarm ID gets it. No broker process, no coordination protocol \u2014 just shared files with file-locking.\n*Auto-built knowledge graph*\nGraph edges (`similar_to`, `co_occurred`, `consolidated_from`, `depends_on`) are discovered automatically during consolidation. You can query neighbors, mine for new connections, or traverse paths.<p>*Why filesystem over a vector database*\nA few deliberate tradeoffs:\n1. Inspectable by default \u2014 `jq .afs&#x2F;agents&#x2F;my-agent&#x2F;memories&#x2F;working&#x2F;<i>.json` is a valid debugging strategy\n2. Versionable \u2014 `git` your agent&#x27;s memory like any other project artifact\n3. Portable \u2014 rsync to another machine, it works\n4. Air-gap friendly \u2014 zero outbound calls\n5. No additional process \u2014 no Postgres, no Qdrant, nothing to manage\nTradeoff: less efficient at very large scale than a dedicated vector DB. Using HNSW (hnswlib) for approximate nearest neighbor \u2014 handles the cases I&#x27;ve tested (100k+ memories per agent, &lt; 100ms search).<p>*Audit trail*\nAll operations logged with standardized operation names, status (success&#x2F;error&#x2F;partial), and operation-specific payload. Fail-open \u2014 if audit logging fails, the operation continues.<p>*Status*\nUnder active development. APIs and behaviors change frequently. Open-sourcing early to get feedback from people building real agentic systems.\nRepo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;thompson0012&#x2F;project-afs\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;thompson0012&#x2F;project-afs</a>\nSpecifically interested in feedback on:\n- The filesystem-first approach vs. embedded DB (DuckDB, SQLite with vector extension)\n- Whether the three-tier memory model maps to real agent workflows\n- Any memory patterns this architecture can&#x27;t support well\n```</i>","title":"Show HN: AFS \u2013 filesystem-native memory layer for AI agents","updated_at":"2026-03-05T23:35:10Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ViktorKuz"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["agent","memory","architecture"],"value":"I\u2019ve been working on an independent <em>memory</em>-retrieval <em>architecture</em> for <em>agent</em> systems. I don\u2019t have a CS background \u2014 previously worked climbing cell towers and doing handyman jobs \u2014 but I spent the last 4.5 months building a hybrid <em>memory</em> system from scratch.<p>The system combines FAISS, BM25, and a symbolic ranking layer (MCA). Answers are generated with GPT-4o-mini at temperature 0. The focus is determinism, transparency, and reproducibility rather than model size.<p>On the official LoCoMo benchmark (1,540 questions), the system reaches 80.1% average accuracy. To my knowledge, that\u2019s above the publicly reported results for existing <em>agent</em>-<em>memory</em> stacks using small models.<p>Latency is ~2.5 seconds, and cost is ~$0.10 per 1M tokens. <em>Memory</em> is fully isolated and local, which makes it usable for offline or enterprise applications.<p>Repository (code + full reproducible benchmarking):\n<a href=\"https://github.com/vac-architector/VAC-Memory-System\" rel=\"nofollow\">https://github.com/vac-architector/VAC-<em>Memory</em>-System</a><p>Happy to answer technical questions, discuss the <em>architecture</em>, or hear critiques."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"Show HN: <em>Memory</em> System Hitting 80.1% Accuracy on LoCoMo (Built in 4.5 Months)"},"url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["memory"],"value":"https://github.com/vac-architector/VAC-<em>Memory</em>-System"}},"_tags":["story","author_ViktorKuz","story_46048170","show_hn"],"author":"ViktorKuz","created_at":"2025-11-25T17:25:59Z","created_at_i":1764091559,"num_comments":0,"objectID":"46048170","points":2,"story_id":46048170,"story_text":"I\u2019ve been working on an independent memory-retrieval architecture for agent systems. I don\u2019t have a CS background \u2014 previously worked climbing cell towers and doing handyman jobs \u2014 but I spent the last 4.5 months building a hybrid memory system from scratch.<p>The system combines FAISS, BM25, and a symbolic ranking layer (MCA). Answers are generated with GPT-4o-mini at temperature 0. The focus is determinism, transparency, and reproducibility rather than model size.<p>On the official LoCoMo benchmark (1,540 questions), the system reaches 80.1% average accuracy. To my knowledge, that\u2019s above the publicly reported results for existing agent-memory stacks using small models.<p>Latency is ~2.5 seconds, and cost is ~$0.10 per 1M tokens. Memory is fully isolated and local, which makes it usable for offline or enterprise applications.<p>Repository (code + full reproducible benchmarking):\n<a href=\"https:&#x2F;&#x2F;github.com&#x2F;vac-architector&#x2F;VAC-Memory-System\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;vac-architector&#x2F;VAC-Memory-System</a><p>Happy to answer technical questions, discuss the architecture, or hear critiques.","title":"Show HN: Memory System Hitting 80.1% Accuracy on LoCoMo (Built in 4.5 Months)","updated_at":"2026-03-05T23:07:29Z","url":"https://github.com/vac-architector/VAC-Memory-System"}],"hitsPerPage":20,"nbHits":1425,"nbPages":50,"page":0,"params":"query=agent+memory+architecture&advancedSyntax=true&analyticsTags=backend","processingTimeMS":25,"processingTimingsMS":{"_request":{"roundTrip":21},"afterFetch":{"format":{"highlighting":1,"total":1},"merge":{"mergeLoop":{"prepareNextHit":5,"total":5},"total":5},"total":5},"fetch":{"query":6,"scanning":12,"total":19},"total":26},"query":"agent memory architecture","serverTimeMS":28}
