<?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 xun's Blog</title><link>https://xungirl.github.io/tags/agent/</link><description>Recent content in Agent on xun's Blog</description><generator>Hugo -- 0.168.0</generator><language>en</language><lastBuildDate>Fri, 26 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://xungirl.github.io/tags/agent/index.xml" rel="self" type="application/rss+xml"/><item><title>2026-06-26 手搓 Agent：权限护栏与 Hook 系统学习笔记</title><link>https://xungirl.github.io/posts/2026-06-26-agent-permission-hooks/</link><pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-26-agent-permission-hooks/</guid><description>手搓 coding agent 课程的第三、四节：怎么在工具执行前加三道权限闸门，怎么把这些检查抽象成 Hook 事件系统；附一个亲手绕过黑名单的实验，理解为什么字符串匹配是假安全。</description></item><item><title>2026-06-26 给 Agent 加工具：Tool Dispatch 学习笔记</title><link>https://xungirl.github.io/posts/2026-06-26-agent-tool-use-dispatch/</link><pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-26-agent-tool-use-dispatch/</guid><description>s02 Tool Use 学习笔记：从只有一个 bash，到给 agent 5 个专用工具。核心是 dispatch map（工具名→函数的派发表）和 safe_path 路径护栏，并用实验看清模型何时只调一个工具、何时一次调多个。</description></item><item><title>2026-06-25 手搓最小 Agent Loop 学习笔记</title><link>https://xungirl.github.io/posts/2026-06-25-agent-loop-from-scratch/</link><pubDate>Thu, 25 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-25-agent-loop-from-scratch/</guid><description>从零手搓一个最小 agent loop：搞懂 agent 的本质（模型动嘴 + 代码动手 + loop 传话），并用两个亲手做的实验验证『append 就是 agent 的记忆』——鬼打墙实验和记忆对照实验。</description></item><item><title>2026-06-15 FastAPI 进阶：搭一个能跑 Agent 的后端</title><link>https://xungirl.github.io/posts/2026-06-15-fastapi-backend-for-agents/</link><pubDate>Mon, 15 Jun 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/2026-06-15-fastapi-backend-for-agents/</guid><description>vibe coding 时代学 FastAPI 的进阶笔记：错误处理 HTTPException、文件上传、依赖注入 Depends、async/await 异步原理、数据库 SQLModel 与事务 ACID。每个知识点都标了「为什么 agent 要用」和「大厂面试怎么答」。</description></item><item><title>LLM Agents: How ReAct, Tool Use, and Planning Actually Work</title><link>https://xungirl.github.io/posts/llm-agents-react/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://xungirl.github.io/posts/llm-agents-react/</guid><description>A technical breakdown of LLM-based agents — the ReAct loop, tool calling, planning strategies, and the math behind why chain-of-thought helps.</description></item></channel></rss>