Home / Companies / Pydantic / Blog / July 2026

July 2026 Summaries

4 posts from Pydantic

Filter
Month: Year:
Post Summaries Back to Blog
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.
Jul 14, 2026 881 words in the original blog post.
The text explores the concept of a loop of agents in the context of Pydantic AI Harness, emphasizing its capabilities in comparison to a single harnessed run. A loop of agents is described as being able to choose its own structure and outlive a single run, allowing for more dynamic and resilient operations. The loop delegates tasks to sub-agents, allowing for independent execution and failure isolation, and coordinates these tasks through dynamic workflows using Pydantic Monty. Additionally, the loop can extend its capabilities by authoring new tools during runtime, although these new tools only become active in subsequent runs to maintain stability and efficiency. The loop's persistence over time allows it to resume from interruptions and improve through branching and evaluation, ultimately aiming for self-enhancement, with potential future developments involving loops that can refine their own processes using tools like Pydantic Logfire.
Jul 14, 2026 1,478 words in the original blog post.
Enterprise AI projects often fail because they focus on perfecting AI agents before understanding their real-world applications, leading to either non-deployment or incorrect deployment. The text emphasizes the importance of moving AI agents into production early to gather real-world data and insights, which guides the development of more effective AI solutions. Unlike traditional approaches where each AI agent is meticulously fine-tuned as an individual entity, the text suggests managing AI agents as a collective "herd." It introduces tools and strategies for overseeing large numbers of AI agents, emphasizing the use of distributed tracing, human annotations, and automated optimization to continually adapt and improve AI performance without the need for traditional deployment processes. The approach leverages OpenTelemetry for visibility across various frameworks, supporting scalability and flexibility. The narrative encourages a paradigm shift from nurturing individual AI "pets" to managing scalable, adaptable AI systems that learn and evolve from production data, thereby optimizing performance in real-time.
Jul 13, 2026 999 words in the original blog post.
The shift towards an agent economy challenges traditional observability by prioritizing tools that cater to automated agents rather than just human users. Observability platforms like Pydantic Logfire and others have adopted MCP servers, CLIs, and SDKs, allowing agents to directly inspect and query traces, logs, and other data. However, these platforms vary in how effectively they enable agents to ask direct debugging questions and return verifiable evidence. A benchmark comparing platforms such as Logfire, ClickStack, Braintrust, and others revealed that query-backed observability MCPs generally offer agents the shortest path to answers by allowing them to perform direct SQL queries over telemetry records. This approach is contrasted with object-model MCPs, which require agents to reconstruct data client-side, often resulting in more complex and resource-intensive operations. The evaluation emphasized the importance of platforms that provide agents with comprehensive visibility into production contexts and the ability to perform unanticipated aggregate queries, ultimately enabling agents to return concise and verifiable results. The conclusion draws attention to the practicality of SQL-backed MCPs in observability tasks, highlighting their ability to transform operational questions into bounded queries without overloading the agent's context window.
Jul 02, 2026 3,041 words in the original blog post.