最新资讯
dev.to 如何在专用 GPU 服务器上用 OpenAI 兼容 API 部署 LLM dev.to 审计 153 份 Claude Code 与 Codex 会话记录:User-Agent 与 URL 中的邮箱泄露 dev.to 你的 Agent Harness 应具备的 17 项能力 dev.to 离线 AI 记忆中 0.8 余弦阈值为何失效 dev.to Kimi K3.1 Pro 开放权重:自托管 2.8T 模型前的开发者清单 dev.to 如何通过工具调用引导模型以提升 Harness 质量 dev.to AI Agent 审计轨迹不等于对话记录 dev.to 精简 MCP server 工具数量:更少工具、更小影响面,双重收益 dev.to 为什么 git checkout 无法撤销 AI 编码 agent 的改动? wechat AI短剧门槛降降降!实测即梦短剧工作室:剧本分镜预演一条龙,伙伴计划长期护航 dev.to 让模型改写文档前,先量化事实保真度 dev.to 回放 153 个 Claude Code 与 Codex 会话,审计 Agent 的生产影响范围
多元动态
登录 注册
算力商业 developer.nvidia.com · @Tanya Lenz

使用NVIDIA NemoClaw构建记忆驱动代理

原文 我的收藏

NVIDIA技术博客介绍如何构建记忆驱动的AI代理,处理企业工作流中的消息、决策、项目和随时间变化的任务。代理需从零开始重建上下文,NemoClaw提供解决方案。

AI推荐理由 NVIDIA技术博客介绍使用NemoClaw构建记忆驱动代理,内容专业,但摘要不完整,缺乏具体细节,对代理开发有参考价值。

75

正文

代理式AI / 生成式AI 英语한국어 使用NVIDIA NemoClaw构建记忆驱动代理 2026年9月4日 作者:Xuan Wu, Alexia Huang, Yijie Lai, Joe Liu 和 Xiaowei Li 喜欢 L T F R E AI生成摘要 NVIDIA NemoClaw支持一个记忆驱动的Chief of Staff代理,该代理在日常企业工作中维护一个结构化的自我模型,涵盖人员、项目、优先级和工作模式。 自我模型将派生知识存储在Markdown页面中,而SQLite账本记录义务、排名、更正和审计事件,将证据与判断分开,以提高代理推理能力。 意图门将义务与用户声明的优先级相关联,优先于短期紧迫性,确定性代码强制执行层级大小、溢出行为和排名顺序。 用户可以通过追加式审计跟踪来纠正代理判断,重复的纠正模式会更新可读的偏好策略,该策略保持可检查和可编辑。 使用代理记忆基准的评估显示,与代理RAG基线相比,自我模型将整体准确率从82.8%提高到90.9%,并将变化事实的跟踪从60.0%提高到100%。 运行时执行使用NVIDIA OpenShell对代理进行沙箱化,并管理文件系统、进程和网络访问,将凭据保留在沙箱之外,用于托管推理和MCP连接。 后续步骤 查看记忆驱动Chief of Staff配方,为您的NemoClaw示例调整记忆设计。 阅读NVIDIA/nemoclaw-community GitHub仓库中的设计提案,了解更深入的架构细节。 了解更多关于NVIDIA NemoClaw和NVIDIA OpenShell的信息,以探索底层框架。 由NVIDIA Nemotron提供支持。AI生成的内容可能不完整地总结信息。验证重要信息。了解更多 企业工作涵盖随时间变化的消息、决策、项目和义务。一个没有此上下文的AI代理必须在贡献之前重建它。 为了为代理提供必要的上下文,我们的团队使用NVIDIA NemoClaw构建了一个记忆驱动的Chief of Staff。它维护一个人类可读的知识层,称为自我模型:一个关于相关人员、项目、优先级和工作模式的代理记忆。计划任务定期审查新活动,跟踪义务,并随时间整合用户决策。我们的经验表明,有用的代理记忆需要结构、选择性检索和治理——而不仅仅是存储。 这篇文章演示了如何使用NVIDIA NemoClaw构建的记忆驱动代理提高真实企业工作流程的生产力。它还分享了您可以应用于自己代理的五个设计经验: 在日常工作中维护上下文以提高任务质量 分离证据、知识和行动,帮助代理做出更好的判断 设计记忆驱动代理,优先考虑用户意图而非短期紧迫性 允许用户纠正代理决策以建立信任 使用NVIDIA OpenShell强制执行安全和授权边界 在日常工作中维护上下文 对话历史提供短期连续性,但它将当前优先级与过去的决策和临时请求混合在一起。检索可以找到相关的源材料,但代理仍然必须跨时间连接信息。 考虑一个项目状态问题。答案可能取决于早期决策、后续消息中的更正、未解决的义务,以及两个不同名称指的是同一项目的知识。 为了解决这些问题,您可以使用自我模型,该模型在结构化的Markdown页面中维护这些关系。它组织有关人员、项目、优先级、目标、概念和重复工作模式的信息。其模式定义了索引、交叉引用、来源和增长限制。 自我模型存储派生的解释,而不是替换源证据。将两者分开有助于您(开发人员)确定错误答案是否来自证据、记忆维护、检索或模型的最终决策。 分离证据、知识和行动 您可以使用记忆驱动Chief of Staff的三个调整层: 证据 → 知识 → 受治理的执行 证据支持对自我模型的更新。对于每个任务,代理检索一组有界的相关上下文。然后,代理在NVIDIA NemoClaw示例中使用该上下文。架构如图1所示。 图1. NVIDIA NemoClaw使用持久上下文进行受治理的代理操作 该示例存储两种信息: 知识:人员、项目、优先级和工作模式 判断:项目是否需要关注、排名如何,以及用户是否忽略它 Markdown代理记忆存储知识。SQLite账本存储义务、排名、更正和审计事件。这种设计保留了代理的判断,而不会将它们作为读取标志、标签或文件夹写入源消息。 记忆页面可能会说协作者更喜欢Slack。代理可以使用该上下文推荐Slack,但发送消息仍然取决于凭据、工具权限、运行时策略和用户批准。 上下文可以告知行动,但不能授权行动。 优先考虑用户意图而非短期紧迫性 传入的请求通常将自己描述为紧急,但紧迫性不一定反映用户的优先级。因此,意图门将最高层级保留给与用户声明的优先级相关的义务。 在提供的公共配方中,紧急的费用政策证明仍然可见,但排名低于与声明优先级相关的更安静请求。您的NVIDIA NemoClaw可以解释这种关系,而确定性代码强制执行层级大小、溢出行为和排名顺序。 允许用户纠正代理 持久记忆可以像保留正确判断一样容易地保留错误判断。使用该配方,您可以移动 对另一个层级负有义务,或者忽略它,后续的代理运行会保留该决定。每次更改都会在仅追加的审计跟踪中记录一次。 重复的纠正模式可以更新一个小型、可读的偏好策略。用户可以检查、编辑或删除该策略,而不是将偏好隐藏在模型状态中。 反馈循环保持可见: 代理判断 → 用户纠正 → 审计事件 → 偏好更新 添加记忆以改善代理任务性能 在NemoClaw中添加记忆驱动的Chief of Staff,在多个代理任务中产生了可衡量的改进,如表1所示。代理记忆基准和评估示例包含在示例仓库中。示例仓库将执行多轮检索的代理检索增强生成(RAG)基线与自模型进行了比较。 指标问题计数代理RAG基线自模型差异 总体准确率18682.8%90.9%+8.1个百分点 难题3167.7%87.1%+19.4个百分点 跟踪随时间变化的事实560.0%100.0%+40.0个百分点 时间点推理633.3%66.7%+33.3个百分点 实体消歧1566.7%86.7%+20.0个百分点 多源综合7387.7%94.5%+6.8个百分点 基于语料库的忠实回答13100.0%92.3%-7.7个百分点 单跳查找3086.7%83.3%-3.3个百分点 引用覆盖率18692.5%97.8%+5.4个百分点 表1. 示例仓库中代理RAG基线和自模型的评估指标。两种配置均使用NVIDIA Nemotron 3 Ultra 在运行时强制执行边界 这种分离通过NVIDIA NemoClaw和NVIDIA OpenShell安全运行时为自主代理强制执行。NemoClaw将示例与NVIDIA OpenShell集成并管理其生命周期,而NVIDIA OpenShell在沙箱中运行代理,并为文件系统、进程和网络访问提供治理和策略执行。对于托管推理和MCP连接,凭据保留在沙箱之外。 这很重要,因为记忆和检索到的内容是模型的输入,而不是受信任的安全策略。如果代理误解了该上下文——或者遵循恶意指令——它仍然在操作员定义的运行时边界内运行。它们限制了代理的访问权限和故障的潜在影响。 开始构建代理记忆 要将本文中展示的记忆设计改编为您自己的NemoClaw示例,请查看NVIDIA/nemoclaw-community GitHub仓库中的开源Memory-Driven Chief of Staff配方及其设计提案。 该配方将示例打包为NemoClaw的可部署Hermes配置文件: 结构化记忆模式 持久义务账本 有界排名逻辑 用户纠正和审计路径 计划记忆维护 合成消息和记忆页面 离线演练 一套单元测试 示例人物、组织、项目和消息均为虚构。在离线演练中,记录的模型决策代表推理。然后代码应用排名、纠正、持久化和验证行为。 当前配方侧重于记忆基础。它不发送消息或修改源系统。此范围允许您在不连接工作账户的情况下检查设计。实时连接器需要单独处理凭据、隐私、保留和删除。 了解更多关于NVIDIA NemoClaw和NVIDIA OpenShell的信息。 喜欢 标签 代理AI / 生成式AI | 开发者工具与技术 | 通用 | NeMo | Nemotron | 中级技术 | 教程 | AI代理 | 构建AI代理 | LLM | NemoClaw | OpenShell | 检索增强生成(RAG) 关于作者 关于Xuan Wu Xuan Wu是NVIDIA的硬件基础设施应用AI工程师,她致力于构建和维护个人工作长期记忆的代理AI系统。她之前的工作涵盖领域特定工程知识的检索增强问答,以及内部开发者工作流的可扩展工具。 查看Xuan Wu的所有帖子 关于Alexia Huang Alexia Huang是NVIDIA的硬件基础设施应用AI工程师实习生,她致力于代理AI系统,并利用长期用户偏好创建个性化工具以提高开发效率。 查看Alexia Huang的所有帖子 关于Yijie Lai Yijie Lai是NVIDIA的高级应用AI工程师,他开发帮助员工更有效工作的代理AI系统,特别关注长期记忆和个人AI助手。他之前的工作包括开发检索增强生成(RAG)系统和大规模数据开发平台。 查看Yijie Lai的所有帖子 关于Joe Liu 在NVIDIA,Joe Liu领导为硬件基础设施和工程工作流构建代理AI解决方案和框架的倡议。此前,他曾在Genesis Molecular AI(由NVIDIA支持)、Cruise、Meta、Microsoft以及一家早期智能电视初创公司担任工程领导职务。他的经验涵盖芯片设计AI、药物发现、自动驾驶、数字广告和消费产品。 查看Joe Liu的所有帖子 关于Xiaowei Li Xiaowei Li是NVIDIA硬件基础设施部门的总监,他领导团队构建代理AI系统和系统性能分析基础设施——涵盖AI助手、编码代理、内核和推理优化,以及CPU/GPU集群可观测性——以提高工程生产力。在NVIDIA的20多年中,他的工作涵盖性能建模、GPU跟踪和模拟、用于芯片设计的ChipNeMo语言模型,以及开源OneLogger可观测性框架。 查看Xiaowei Li的所有帖子
查看原文(中文正文为 AI 翻译)
Agentic AI / Generative AI English한국어 Building a Memory-Driven Agent with NVIDIA NemoClaw Sep 04, 2026 By Xuan Wu, Alexia Huang, Yijie Lai, Joe Liu and Xiaowei Li Like L T F R E AI-Generated Summary NVIDIA NemoClaw enables a memory-driven Chief of Staff agent that maintains a structured self model of people, projects, priorities, and working patterns across daily enterprise work. The self model stores derived knowledge in Markdown pages while a SQLite ledger records obligations, rankings, corrections, and audit events, separating evidence from judgment to improve agent reasoning. An intent gate prioritizes obligations tied to stated user priorities over short-term urgency, and deterministic code enforces tier size, overflow behavior, and ranking order. Users can correct agent judgments through an append-only audit trail, and repeated correction patterns update a readable preference policy that remains inspectable and editable. Evaluation using the Agent Memory Benchmark shows the self model improves overall accuracy to 90.9% from 82.8% and raises tracking of changed facts to 100% from 60.0% compared with an agentic RAG baseline. Runtime enforcement uses NVIDIA OpenShell to sandbox the agent and govern file system, process, and network access, keeping credentials outside the sandbox for managed inference and MCP connections. Next Steps Review the Memory-Driven Chief of Staff recipe to adapt the memory design for your own NemoClaw example. Read the design proposal in the NVIDIA/nemoclaw-community GitHub repo for deeper architectural details. Learn more about NVIDIA NemoClaw and NVIDIA OpenShell to explore the underlying frameworks. Powered by NVIDIA Nemotron. AI-generated content may summarize information incompletely. Verify important information. Learn more Enterprise work spans messages, decisions, projects, and obligations that change over time. An AI agent that starts without this context must reconstruct it before contributing. To provide agents with this necessary context, our team used NVIDIA NemoClaw to build a memory-driven Chief of Staff. It maintains a human-readable knowledge layer called the self model: an agent memory of relevant people, projects, priorities, and working patterns. Scheduled jobs periodically review new activity, track obligations, and incorporate user decisions over time. Our experience shows that useful agent memory requires structure, selective retrieval, and governance—not just storage. This post demonstrates how a memory-driven agent built with NVIDIA NemoClaw can improve productivity in real-world enterprise workflows. It also shares five design lessons you can apply to your own agents: Maintain context across daily work to improve task quality Separate evidence, knowledge, and actions to help agents make better judgments Design memory-driven agents can prioritize user intent over short-term urgency Allow users to correct agent decisions to build trust Enforce the boundary of security and authorization with NVIDIA OpenShell Maintain context across daily work Conversation history provides short-term continuity, but it mixes current priorities with past decisions and temporary requests. Retrieval can find relevant source material, but the agent must still connect information across time. Consider a project status question. The answer might depend on an earlier decision, a correction in a later message, an unresolved obligation, and the knowledge that two different names refer to the same project. To solve these problems, you can use the self model that maintains these relationships in structured Markdown pages. It organizes information about people, projects, priorities, goals, concepts, and recurring work patterns. Its schema defines indexing, cross-references, provenance, and growth limits. The self model stores a derived interpretation rather than replacing source evidence. Keeping the two separate helps you, the developer, determine whether an incorrect answer came from the evidence, memory maintenance, retrieval, or the model’s final decision. Separate evidence, knowledge, and action You could use the three layers of tuning capabilities from the memory-driven Chief of Staff: Evidence → Knowledge → Governed execution Evidence supports updates to the self model. For each task, the agent retrieves a bounded set of relevant context. The agent then uses that context within the NVIDIA NemoClaw example. The architecture is shown in Figure 1. Figure 1. NVIDIA NemoClaw uses persistent context for governed agent actions The example stores two kinds of information: Knowledge: People, projects, priorities, and working patterns Judgment: Whether an item needs attention, where it ranks, and whether the user ignored it A Markdown agent memory stores knowledge. A SQLite ledger stores obligations, rankings, corrections, and audit events. This design preserves the agent’s judgments without writing them into source messages as read flags, labels, or folders. A memory page might say that a collaborator prefers Slack. The agent can use that context to recommend Slack, but sending a message still depends on credentials, tool permissions, runtime policy, and user approval. Context can inform an action, but it cannot authorize one. Prioritize user intent over short-term urgency Incoming requests often describe themselves as urgent, but urgency does not necessarily reflect the user’s priorities. An intent gate therefore reserves the highest tier for obligations connected to the user’s stated priorities. In the public recipe provided, an urgent expense-policy attestation remains visible but ranks below a quieter request tied to a stated priority. Your NVIDIA NemoClaw could interpret that relationship, while deterministic code enforces tier size, overflow behavior, and ranking order. Allow users to correct the agent Persistent memory can preserve an incorrect judgment as easily as a correct one. Using the recipe, you could move an obligation to another tier or ignore it, and later agent runs preserve that decision. Each change is recorded once in an append-only audit trail. Repeated correction patterns can update a small, readable preference policy. Users can inspect, edit, or delete that policy instead of leaving the preference hidden in model state. The feedback loop remains visible: Agent judgment → User correction → Audit event → Preference update Add memory to improve agent task performance Adding the memory-driven Chief of Staff to NemoClaw produced measurable improvements across several agent tasks, as shown in Table 1. The Agent Memory Benchmark and evaluation examples are included in the example repo. The example repo compares an agentic retrieval-augmented generation (RAG) baseline that performs multi-round retrieval with the self model. MetricsQuestion countsAgentic RAG baselineSelf modelDifferenceOverall accuracy18682.8%90.9%+8.1 ppHard questions3167.7%87.1%+19.4 ppTracking facts that changed over time560.0%100.0%+40.0 ppPoint-in-time reasoning633.3%66.7%+33.3 ppEntity disambiguation1566.7%86.7%+20.0 ppMultisource synthesis7387.7%94.5%+6.8 ppAnswered faithfully based on Corpus13100.0%92.3%-7.7 ppSingle-hop lookup3086.7%83.3%-3.3 ppCitation coverage18692.5%97.8%+5.4 ppTable 1. Evaluation metrics for the agentic RAG baseline and the self model in the example repo. Both configurations use NVIDIA Nemotron 3 Ultra Enforce the boundary at runtime This separation is enforced with NVIDIA NemoClaw and the NVIDIA OpenShell secure runtime for autonomous agents. NemoClaw integrates the example with NVIDIA OpenShell and manages its lifecycle, while NVIDIA OpenShell runs the agent in a sandbox and provides governance and policy enforcement for file system, process, and network access. For managed inference and MCP connections, credentials remain outside the sandbox. This is important because memory and retrieved content are inputs to the model, not trusted security policy. If the agent misinterprets that context—or follows malicious instructions—it still operates within operator-defined runtime boundaries. They limit the agent’s access and the potential impact of a failure. Get started building agent memory To adapt the memory design featured in this post for your own NemoClaw example, review the open source Memory-Driven Chief of Staff recipe and its design proposal in the NVIDIA/nemoclaw-community GitHub repo. The recipe packages the example as a deployable Hermes profile for NemoClaw: A structured memory schema A durable obligation ledger Bounded ranking logic User correction and audit paths Scheduled memory maintenance Synthetic messages and memory pages An offline walkthrough A suite of unit tests The sample people, organizations, projects, and messages are invented. Recorded model decisions stand in for inference in the offline walkthrough. The code then applies the ranking, correction, persistence, and validation behavior. The current recipe focuses on the memory foundation. It does not send messages or modify source systems. This scope allows you to examine the design without connecting a workplace account. Live connectors require separate handling for credentials, privacy, retention, and deletion. Learn more about NVIDIA NemoClaw and NVIDIA OpenShell. Like Tags Agentic AI / Generative AI | Developer Tools & Techniques | General | NeMo | Nemotron | Intermediate Technical | Tutorial | AI Agent | Build AI Agents | LLMs | NemoClaw | OpenShell | Retrieval Augmented Generation (RAG) About the Authors About Xuan Wu Xuan Wu is a hardware infrastructure applied AI engineer at NVIDIA, where she works on agentic AI systems that build and maintain long-term memory of a person's work. Her previous work spans retrieval-augmented question answering over domain-specific engineering knowledge and extensible tooling for internal developer workflows. View all posts by Xuan Wu About Alexia Huang Alexia Huang is a hardware infrastructure applied AI engineer intern at NVIDIA, where she works on agentic AI systems and utilizes long-term user preferences to create personalized tools that improve development efficiency. View all posts by Alexia Huang About Yijie Lai Yijie Lai is a senior applied AI engineer at NVIDIA, where he develops agentic AI systems that help employees work more effectively, with a particular focus on long-term memory and personal AI assistants. His previous work includes developing retrieval-augmented generation (RAG) systems and large-scale data development platforms. View all posts by Yijie Lai About Joe Liu At NVIDIA, Joe Liu leads initiatives to build agentic AI solutions and frameworks for hardware infrastructure and engineering workflows. Previously, he held engineering leadership roles at Genesis Molecular AI (backed by NVIDIA), Cruise, Meta, Microsoft, and an early-stage smart TV startup. His experience spans AI for chip design, drug discovery, autonomous vehicles, digital advertising, and consumer products. View all posts by Joe Liu About Xiaowei Li Xiaowei Li is a director in Hardware Infrastructure at NVIDIA, where he leads teams building agentic AI systems and system profiling infrastructure—spanning AI assistants, coding agents, kernel and inference optimization, and CPU/GPU cluster observability—to improve engineering productivity. Over 20 years at NVIDIA, his work has covered performance modeling, GPU tracing and simulation, the ChipNeMo language model for chip design, and the open-source OneLogger observability framework. View all posts by Xiaowei Li

来源报道 · 2 篇 · 以下链接均前往原始媒体

Tanya Lenz 使用NVIDIA NemoClaw构建记忆驱动代理 09-05 · 原文发布
Tanya Lenz 使用NVIDIA NemoClaw构建记忆驱动代理 09-05 · 原文发布
← 返回精选动态 原文

更多内容