September 2026 Summaries
9 posts from Pydantic
Filter
Month:
Year:
Post Summaries
Back to Blog
Pydantic Logfire’s hosted MCP server connects coding agents such as Cursor, Claude Code, and Codex to OpenTelemetry traces, logs, and metrics, allowing them to investigate production behavior alongside source code through SQL-based queries. Available through plugins or a remote MCP URL with OAuth or API-key authentication, it offers 51 tools for querying observability data and managing dashboards, alerts, notification channels, feature flags, and issue states, though its query tool handles most use cases. The system grounds agents with schema references, detects overly expensive queries, and can use a separate Python execution environment for complex multi-step investigations while reducing context usage. Demonstrations show agents locating exceptions, editing affected code, analyzing application behavior, and turning findings into dashboards and alerts, while production users Dosu and AutonomyAI report faster debugging and detection of post-deployment problems. The service is most useful for bugs evidenced in traces rather than broad codebase patterns, and users are advised to validate agent conclusions, restrict write permissions, and treat read access carefully because telemetry may contain sensitive or untrusted content.
Sep 30, 2026
2,708 words in the original blog post.
Pydantic AI 2.50.0 adds support for TypeSafe’s Jev decision model, which is designed for classification tasks such as ticket routing, safety checks, and scoring rather than free-form text generation. Developers can define typed Pydantic output fields including booleans, literals, enums, bounded floats, rubrics, and unions, allowing Jev to return structured decisions with probabilities in a single request, while unsupported free-form fields can trigger errors or fall back to a language model. New DecisionModel infrastructure and decision-specific tracing record questions, selected answers, alternative probabilities, thresholds, and union-routing steps, improving visibility beyond standard chat spans. Logfire’s Live view now presents classifier outputs, confidence levels, rubric distributions, union decisions, and underlying decision spans, while respecting content-visibility settings. The integration can also be used for evaluations, through Pydantic AI Gateway, and as a foundation for additional decision-model backends, enabling teams to compare Jev with language models on their own workloads.
Sep 29, 2026
841 words in the original blog post.
Pydantic AI Gateway now supports Jev, TypeSafe’s classification model, allowing applications to use a single gateway key while tracking Jev alongside language models for spending, limits, and guardrails. Rather than generating chat responses, Jev evaluates supplied text against typed questions and returns answers with probabilities, making it suitable for classification and evaluation tasks at a stated cost of $0.042 per million input tokens. Users configure TypeSafe as a bring-your-own-key provider in Pydantic Logfire, then call Jev through its native System One API using either HTTP requests or the TypeSafe Python SDK with the Gateway URL. Gateway processing adds centralized metering, usage controls, and input guardrails covering the evaluated text, instructions, and criteria without changing Jev’s pricing or response speed. Pydantic AI also supports Jev through TypeSafeModel, where fields in a Pydantic output schema become classification questions, enabling structured tasks such as routing support tickets by urgency and category.
Sep 25, 2026
578 words in the original blog post.
Pydantic AI and Pydantic Evals 2.46.0 integrate with TypeSafe’s Jev model to perform inexpensive structured evaluations such as policy classification, rubric scoring, and secret-request detection, with results and telemetry logged through Logfire. A support-reply example combines three independent measurements in one Jev request: a categorical policy verdict, a normalized completeness score, and the probability that a response asks for a password or login code, emphasizing that helpfulness and policy compliance can differ. The approach uses typed Python enums and Pydantic models to define evaluation questions and rubric descriptions, retains fractional score distributions and confidence data, and supports both custom multi-question evaluators and simpler built-in LLMJudge and GEval checks. Tests on eight synthetic replies identified unsafe password requests, refund promises, vague answers, and invented policy as violations while showing that concrete next steps can still be unsafe. Based on published pricing assumptions, evaluating one million replies with three recorded results each would cost about $42 for Jev inference and $20 for Logfire telemetry, compared with an estimated $4,500 marginal score-recording fee on Braintrust Pro before inference, though actual costs depend on token volume, telemetry records, retries, and retention.
Sep 23, 2026
2,482 words in the original blog post.
Pydantic Logfire has refreshed its dashboards with usability, performance, accessibility, and visual-design improvements intended to make dynamic observability data clearer and more polished. Updates include a simplified toolbar, automatic draft saving, dashboard cloning, improved keyboard navigation, and loading optimizations, alongside smoother charts, unified panel layouts, and enhanced alignment of large numerical values across dashboard rows. The new retrofuturistic design draws on early personal-computing aesthetics, using an accessibility-tested color palette inspired by CGA and EGA graphics, subtle dithered gradients that also reduce display banding, and WCAG-oriented contrast considerations. While Logfire’s standard and integration dashboards have received the new design, the team plans to improve panel creation and editing interfaces and explore agent-assisted, natural-language dashboard creation alongside conventional drag-and-drop tools.
Sep 22, 2026
1,462 words in the original blog post.
Pydantic AI 2.41.0 introduces dedicated image-generation support through the new ImageGenerator API, allowing applications to generate or edit images directly without an agent run using OpenAI GPT Image, Google Gemini through either the Developer API or Vertex AI, and xAI Grok Imagine. The API standardizes provider setup, output handling through BinaryImage objects, common settings such as dimensions and aspect ratios, provider-specific controls, and optional OpenTelemetry tracing, while allowing developers to switch providers with minimal application changes. Image generation can also be made available to agents through the ImageGeneration capability, either through native conversational-model generation, a configured local generator fallback, or custom tools that return both text and image data so agents can continue working with generated images, such as creating alt text. The feature was added after user demand revealed that a shared integration reduces adapter code and maintenance complexity, and its development was shaped by discussions with contributors, including the original implementation work by Egon Ferri.
Sep 14, 2026
1,433 words in the original blog post.
AWS Lambda durable functions can prevent long-running AI agents from repeating completed model requests and external tool calls after timeouts or retries by checkpointing each operation and replaying stored results when execution resumes. Pydantic AI Harness adds this capability through AWSLambdaDurability and durable handler decorators, allowing agents to retain their existing APIs while durable executions can run for up to a year, pause for external events, and avoid compute charges while waiting. Deployment requires durable Lambda configuration, published function versions, and IAM permissions for checkpoint access, while Logfire can connect checkpointed steps to traces across separate invocations. Developers can configure retry behavior, checkpoint semantics, and serialization per tool, but must design side-effecting operations to be idempotent because interruptions before checkpointing may still cause re-execution. Durable handlers run tool calls sequentially to preserve checkpoint order, cannot stream output directly to callers, and require careful versioning because changes to agent, model, toolset, or execution order can invalidate in-flight runs. Lambda durability is one of five durable-execution options supported by Pydantic AI and is intended for teams seeking workflow resilience without adding a separate orchestration service.
Sep 09, 2026
1,794 words in the original blog post.
The author argues that frontier language models may be driving linguistic drift by repeatedly introducing or amplifying uncommon terminology, using the increasing use of “seam” to describe software component boundaries as a central example. They report GitHub searches suggesting that usage of the term surged in 2026 and was disproportionately associated with AI coding tools, particularly Claude Code, while an analysis of README corpora from before 2025 and from 2026 visually and statistically identified broader differences in writing style. The piece warns that such shifts could create confusion when AI-generated language enters operational workflows, illustrating the concern through a hypothetical airline-ticket triage system in which an unfamiliar model-generated synonym disrupts human interpretation. As a practical response, it demonstrates a Pydantic AI Capability called VocabularyGuard, which can detect vocabulary associated with a selected linguistic profile and either rewrite outputs with another model or request a retry, applying this control to structured-output fields, tool arguments, and prose responses. The author presents the project as an early experiment rather than a proven solution, calls for more rigorous research and real-time tracking of AI-related language change, and includes an appendix describing a corpus-comparison classifier based on weighted n-gram log-odds scoring.
Sep 08, 2026
2,441 words in the original blog post.
Pydantic AI Harness has added You.com’s YouSearch and YouResearch capabilities, giving agents access to real-time web search, page-content retrieval, synthesized answers, multi-step research, and finance-focused research through five APIs. The integration lets developers control result counts, content extraction, text limits, freshness, domains, research effort, structured Pydantic outputs, citations, retries, and observability through Logfire. A comparison using the current silver price showed that a lean search agent using excerpts from three results could return a price and date for roughly $0.01 in about 5.5 seconds, while a thorough agent using full-page content, trusted domains, and deep research produced the same fields with citations at roughly $0.13, 26.3 seconds, and a median of 8.2 times more input tokens. The post emphasizes that YouSearch is suited to quick surveys and retrieval, while YouResearch is intended for questions requiring synthesis across multiple sources, with typed schemas helping validate outputs and source metadata allowing applications to render reliable citations. It also notes that domain filters are not security boundaries, deep research can require multi-minute timeouts, and the still-evolving 0.x Harness API may change, while recommending Logfire tracing and evaluations to monitor costs, tool calls, sources, and agent behavior.
Sep 01, 2026
2,544 words in the original blog post.