<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>上下文窗口</title><link>https://hex4c59.cc/tags/%E4%B8%8A%E4%B8%8B%E6%96%87%E7%AA%97%E5%8F%A3/</link><description>Hex4C59 的中文技术博客，记录 AI Agent 工程、Rust、音视频开发与软件设计实践，包含源码分析、教程和可运行示例。</description><language>zh-cn</language><atom:link href="https://hex4c59.cc/tags/%E4%B8%8A%E4%B8%8B%E6%96%87%E7%AA%97%E5%8F%A3/index.xml" rel="self" type="application/rss+xml"/><item><title>上下文与记忆：Agent 为什么会在长任务中失去方向，以及如何设计状态管理</title><link>https://hex4c59.cc/agent/context-memory-state-management/</link><guid>https://hex4c59.cc/agent/context-memory-state-management/</guid><pubDate>Sat, 17 Oct 2026 08:00:00 +0800</pubDate><description>解释模型本轮输入与长期记录的区别，用可运行的字符预算包装器保护当前任务、完整工具交换和结构化计划状态。</description></item></channel></rss>