<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Agent on moyutianzun 的博客</title><link>https://moyutianzun.com/tags/agent/</link><description>Recent content in Agent on moyutianzun 的博客</description><generator>Hugo</generator><language>zh-cn</language><copyright>moyutianzun</copyright><lastBuildDate>Fri, 05 Jun 2026 09:47:40 +0800</lastBuildDate><atom:link href="https://moyutianzun.com/tags/agent/index.xml" rel="self" type="application/rss+xml"/><item><title>每日github项目解析：（二）20260605 github robot和agent soul</title><link>https://moyutianzun.com/blog/mei-ri-githubxiang-mu-jie-xi-er-20260605/</link><pubDate>Fri, 05 Jun 2026 09:47:40 +0800</pubDate><guid>https://moyutianzun.com/blog/mei-ri-githubxiang-mu-jie-xi-er-20260605/</guid><description>&lt;h1 style="" id="github-robot"&gt;github robot&lt;/h1&gt;&lt;p style=""&gt;https://github.com/pbakaus/agent-reviews&lt;/p&gt;&lt;p style=""&gt;&lt;strong&gt;&lt;mark data-color="#fed7aa" style="background-color: #fed7aa; color: inherit"&gt;&lt;u&gt;这个项目让我想到一个有意思的场景：一个让人血压升高的下午&lt;/u&gt;&lt;/mark&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=""&gt;你提了一个 PR，信心满满。几秒钟后，Copilot 来了，CodeRabbit 来了，Cursor Bugbot 也来了。它们在你的代码行上密密麻麻留下几十条评论：这里可能空指针，那里命名不规范，这个函数复杂度超标。你认认真真改了一轮，git push。&lt;/p&gt;</description></item><item><title>agent系列（五）：agent架构的落地思考</title><link>https://moyutianzun.com/blog/agentxi-lie-wu-ru-he-gou-jian-hao-yi-ge-qaxi-tong/</link><pubDate>Wed, 22 Apr 2026 07:43:23 +0800</pubDate><guid>https://moyutianzun.com/blog/agentxi-lie-wu-ru-he-gou-jian-hao-yi-ge-qaxi-tong/</guid><description>&lt;p style=""&gt;最近在楼下停车场散步，反思了一下最近遇到的bug，觉得蛮有意思的，写篇blog分享一下。&lt;/p&gt;&lt;h1 style="" id="prompt-engineering%E7%9A%84useful%E5%92%8Cuseless"&gt;prompt engineering的useful和useless&lt;/h1&gt;&lt;p style=""&gt;上文我们已经从架构的方面去讨论过多种的agent架构，主要还是分为隐式plan、半显式plan和显式plan的三种不同的agent风格，&lt;/p&gt;&lt;p style=""&gt;那么在前年的prompt engineering的时代，RAG是那时候的热门话题，为什么要RAG呢，是因为LLM落地的第一大问题：大模型训练的语料是公开语料和通用规律，它是不知道公司内部文档、你自己的笔记和古早之前的上下文的，那时候连web search的清洗都是非常困难的，所以大模型的幻觉非常强。&lt;/p&gt;</description></item><item><title>agent系列：（四）session管理和agent架构</title><link>https://moyutianzun.com/blog/agentxi-lie-si-agentjia-gou/</link><pubDate>Sat, 14 Mar 2026 16:24:52 +0800</pubDate><guid>https://moyutianzun.com/blog/agentxi-lie-si-agentjia-gou/</guid><description>&lt;p style=""&gt;如果要去design一个agent架构，避免不了的就是涉及到对session的管理和agent的架构，一个是表面的，一个是深层的&lt;/p&gt;&lt;p style=""&gt;&lt;/p&gt;&lt;h1 style="" id="session%E7%AE%A1%E7%90%86"&gt;session管理&lt;/h1&gt;&lt;p style=""&gt;常见可以分成以下几类：&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p style=""&gt;一类是 &lt;strong&gt;thread/checkpoint 型&lt;/strong&gt;（LangGraph、Dify、Flowise）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=""&gt;一类是 &lt;strong&gt;runtime snapshot/controller 型&lt;/strong&gt;（AutoGen、OpenHands）&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p style=""&gt;一类是 &lt;strong&gt;workspace/project 型&lt;/strong&gt;（Open WebUI、AnythingLLM、FastGPT、LobeHub）&lt;/p&gt;</description></item><item><title>agent系列：（三）context and memory</title><link>https://moyutianzun.com/blog/agentxi-lie-san-context/</link><pubDate>Thu, 05 Mar 2026 17:06:39 +0800</pubDate><guid>https://moyutianzun.com/blog/agentxi-lie-san-context/</guid><description>&lt;p style=""&gt;context其实跟infra息息相关，好的infra能支持非常多的idea并发的去实现，而pipeline的高度耦合使得infra变得屎山中的屎山，所以模块化的context infra势在必行。我们想构建一个context playload，一个&lt;strong&gt;有序、分层、可度量&lt;/strong&gt;的 typed blocks 集合，是模型单次推理的&lt;strong&gt;输入态。&lt;/strong&gt;&lt;/p&gt;&lt;p style=""&gt;&lt;strong&gt;Context Engineering&lt;/strong&gt;：围绕 payload 的三类能力：&lt;/p&gt;</description></item><item><title>agent系列：（二）agent plan</title><link>https://moyutianzun.com/blog/agentxi-lie-er-agent-planhe-duo-agent/</link><pubDate>Wed, 04 Feb 2026 07:12:09 +0800</pubDate><guid>https://moyutianzun.com/blog/agentxi-lie-er-agent-planhe-duo-agent/</guid><description>&lt;p style=""&gt;agent最基本的就是ReAct范式，其中最关键的就是agent plan，我们主要探讨的是单agent的plan和多agent不同范式如何plan的更好。&lt;/p&gt;&lt;p style=""&gt;&lt;/p&gt;&lt;h1 style="" id="%E5%8D%95agent"&gt;单agent&lt;/h1&gt;&lt;p style=""&gt;单agent plan指的是&lt;strong&gt;同一个agent&lt;/strong&gt;在一个 loop 里：规划 → 执行（工具调用）→ 观察 → 反思/重规划 → … → 完成。&lt;/p&gt;</description></item><item><title>agent系列（一）：实用的agent架构、应用、评估和未来</title><link>https://moyutianzun.com/blog/agentzong-shu-jia-gou-ying-yong-ping-gu-he-wei-lai/</link><pubDate>Sun, 18 Jan 2026 16:41:53 +0800</pubDate><guid>https://moyutianzun.com/blog/agentzong-shu-jia-gou-ying-yong-ping-gu-he-wei-lai/</guid><description>&lt;h1 style="" id="0.-%E6%95%B0%E6%A8%A1"&gt;0. 数模&lt;/h1&gt;&lt;p style=""&gt;最基础的抽象是：环境有状态&lt;span content="s_{t}" math-inline=""&gt;s_{t}&lt;/span&gt;​，你能看到的是观测&lt;span content="o_{t}" math-inline=""&gt;o_{t}&lt;/span&gt;，你做动作&lt;span content="a_{t}" math-inline=""&gt;a_{t}&lt;/span&gt;​，环境给反馈（比如奖励/成功信号）并转移到新状态。用 &lt;strong&gt;(PO)MDP&lt;/strong&gt; 写就是：&lt;/p&gt;</description></item><item><title>github源码阅读：（二）OpenCode Code agent</title><link>https://moyutianzun.com/blog/githubyuan-ma-yue-du------opencode-xiang-mu-jia-gou-wen-dang/</link><pubDate>Fri, 02 Jan 2026 14:59:30 +0800</pubDate><guid>https://moyutianzun.com/blog/githubyuan-ma-yue-du------opencode-xiang-mu-jia-gou-wen-dang/</guid><description>&lt;h1 style="" id="%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D"&gt;&lt;strong&gt;项目介绍&lt;/strong&gt;&lt;/h1&gt;&lt;h2 style="" id="%E4%BB%80%E4%B9%88%E6%98%AF-opencode"&gt;&lt;strong&gt;什么是 OpenCode&lt;/strong&gt;&lt;/h2&gt;&lt;p style=""&gt;&lt;a href="https://github.com/sst/opencode" target="_self" rel=""&gt;&lt;strong&gt;OpenCode&lt;/strong&gt;&lt;/a&gt; 是一个 100% 开源的code agent，专注于为开发者提供强大、灵活且可扩展的 AI 编程体验。与 Cursor、Copilot 等商业工具不同，OpenCode 不绑定任何特定的 LLM 提供商，支持 Claude、OpenAI、Google、本地模型等多种提供商。&lt;/p&gt;</description></item><item><title>github源码阅读：（一）LlamaIndex 上下文数据规范</title><link>https://moyutianzun.com/blog/githubyuan-ma------llamaindex-shang-xia-wen-shu-ju-gui-fan/</link><pubDate>Wed, 31 Dec 2025 06:09:51 +0800</pubDate><guid>https://moyutianzun.com/blog/githubyuan-ma------llamaindex-shang-xia-wen-shu-ju-gui-fan/</guid><description>&lt;h1 style="" id="%E6%A6%82%E8%BF%B0"&gt;概述&lt;/h1&gt;&lt;p style=""&gt;&lt;a href="https://github.com/run-llama/llama_index" target="_self" rel=""&gt;LlamaIndex&lt;/a&gt;（原名 GPT Index）是一个开源的数据框架，专门用于构建大语言模型（LLM）应用。它解决了 LLM 的一个核心局限性：&lt;strong&gt;LLM 在训练后就无法访问私有数据&lt;/strong&gt;。LlamaIndex 通过&lt;strong&gt;检索增强生成（RAG）&lt;/strong&gt;技术，将用户的私有数据与 LLM 的生成能力无缝连接。与langchain相比，langchian是编排工具流工作流等，&lt;strong&gt;而llamaindex专注于数据格式和数据索引&lt;/strong&gt;。&lt;/p&gt;</description></item></channel></rss>