langfuse-agent-cli 0.4:用自然语言向编程智能体查询 Langfuse 数据
社区项目 langfuse-agent-cli 0.4 提供 lf CLI 与 agent skill,让编程智能体用自然语言查询失败追踪、成本与延迟等 Langfuse 数据。
langfuse-agent-cli 发布 0.4 版本:目标是让编程智能体用英语自然语言询问你的 LLM 应用表现,并从 Langfuse 数据作答,例如「过去一小时为什么失败」「本周各模型花了多少」「哪一步最慢」。
形态是小型 CLI(lf)加上 agent skill,可用一行安装脚本同时装好并完成 setup。能力覆盖失败追踪与错误汇总、追踪树、按模型或步骤的成本与延迟、提示词与评分等。作者称在合成数据上用十个全新 Claude Code 会话、仅安装该 skill 的情况下,分别答对了不同问题。
项目基于 Langfuse 公开 API,MIT 许可,属社区项目,相关想法已作为 RFC 提向上游。对已在用 Langfuse 的团队,这把可观测数据接到日常编码 Agent 对话里,减少来回翻控制台的成本;接入时仍需限制只读范围,避免把生产密钥写进可被 Agent 随意读取的环境。
综合来看,读者可先核验官方渠道与发布时间,再结合自身业务边界与合规要求决定是否跟进试点;本文仅整理公开信息,不构成采购、投资或法律建议,关键数字与能力边界请以一手文档为准。
langfuse-agent-cli 0.4 Lets Coding Agents Query Langfuse in Plain English
I released langfuse-agent-cli 0.4: ask your coding agent about your LLM app in plain English, and it answers from your Langfuse data."Why did my app fail in the last hour?" "What did we spend per model this week?" "Which step is slowest?"https://t.co/mY8Y0YBBJ0
How it works: a small CLI (lf) plus an agent skill. One line installs both and runs setup:curl -fsSL https://t.co/XeLvjUcDWV | shFailing traces with their errors in one call, a trace as a tree, cost and latency by model or step, prompts, scores.
Tested on synthetic data: ten fresh Claude Code sessions, each with only the skill installed, answered a different question https://t.co/8WTOeFcaNa source, MIT, a community project on Langfuse's public API. The ideas are proposed upstream as an RFC.https://t.co/YCoZ2SZf4S