The average run is lying to you
Blog post from Pydantic
In a scenario involving support agents using automated tools, a discrepancy in monthly billing reveals instances where a request enters a retry loop, significantly increasing tool usage and costs. To address such anomalies, two new views have been introduced: the Agents view and the LLMs view. The Agents view offers detailed insights into each agent's operations, including metrics like run count, cost, and tool usage patterns, highlighting discrepancies between average and p90 statistics, which can expose costly outliers. The LLMs view provides a model-centric perspective, offering visibility into latency, throughput, and dependency issues that could affect performance and cost. These views allow users to quickly identify and address inefficiencies or unexpected behaviors, such as a runaway process that excessively consumes resources. The integration of an open-source dataset for cost tracking ensures transparency and auditability, while the system's compatibility with various AI frameworks and open telemetry standards supports diverse operational environments. This tool is available for all Logfire projects, facilitating swift identification and mitigation of issues without needing additional instrumentation.
No tracked trend matches for this post yet.
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.