<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
    <title>bigfish的网络博客 - langfuse</title>
    <subtitle>记录技术和生活</subtitle>
    <link rel="self" type="application/atom+xml" href="https://blog.laofu.online/tags/langfuse/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://blog.laofu.online"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-10-05T13:28:00+08:00</updated>
    <id>https://blog.laofu.online/tags/langfuse/atom.xml</id>
    <entry xml:lang="zh">
        <title>如果要给 Agent 搭一套可观测平台，应该从哪里开始？</title>
        <published>2026-10-05T13:28:00+08:00</published>
        <updated>2026-10-05T13:28:00+08:00</updated>
        
        <author>
          <name>bigfish</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://blog.laofu.online/blog/20261005-1328-langfusebao-wen-jie-xi/"/>
        <id>https://blog.laofu.online/blog/20261005-1328-langfusebao-wen-jie-xi/</id>
        
        <summary type="html">&lt;p&gt;假设你让一个编码 Agent“读一下配置文件，再把超时时间改成 30 秒”。它最后回复“已经改好了”，但你打开文件，发现内容没变。&lt;/p&gt;
&lt;p&gt;问题出在哪一步？模型理解错了要求，工具读错了文件，还是写入失败了？如果只保存用户输入和最终回答，这几个原因很难分辨。&lt;/p&gt;
&lt;p&gt;给 Agent 做可观测，就是把中间过程也记录下来：每次模型收到了什么、返回了什么，每次工具用了什么参数、执行结果如何，以及每一步花了多长时间。这样出了问题，就能沿着同一次任务往回查，而不是从一堆日志里猜。&lt;/p&gt;</summary>
        
    </entry>
</feed>
