October 2026 Summaries
3 posts from Pydantic
Filter
Month:
Year:
Post Summaries
Back to Blog
No summary generated yet.
Oct 08, 2026
1,575 words in the original blog post.
Claude Agent SDK packages a Python client with a bundled Claude Code runtime, making it well suited to products that intentionally need a coding agent with built-in shell, filesystem, project-instruction, plugin, permission, and agent-loop behavior, but potentially less suitable for unrelated applications because those embedded choices can affect behavior beyond the public API. The discussion argues that agent prompts, tools, permissions, retries, and control loops should be treated as meaningful dependencies, since SDK upgrades can alter bundled system prompts or tool definitions even when an application’s own code, model, and prompts remain unchanged. It contrasts this approach with Pydantic AI, which lets developers assemble an agent incrementally by selecting models, instructions, typed tools, outputs, dependencies, execution environments, and optional capabilities such as coding tools, memory, planning, or subagents. Pydantic AI can run tools locally or in interchangeable sandboxes including Modal, E2B, and Sprites, while observability through Logfire and regression testing through Pydantic Evals can expose prompts, tool calls, retries, and behavior changes during upgrades. The central recommendation is to choose Claude Agent SDK when Claude Code’s prebuilt coding-agent behavior is the intended product, and to use a more composable framework when the application requires direct control over its agent runtime and capabilities.
Oct 05, 2026
1,471 words in the original blog post.
AI agents can produce plausible but incorrect results without errors because their non-deterministic, multi-step workflows may involve faulty tool arguments, poor tool selection, abandoned context, looping, or degraded reasoning that traditional application monitoring does not reveal. Effective agent observability therefore requires correlated session-level traces that capture planning, model calls, tool executions, backend activity, latency, token usage, costs, errors, and multi-agent handoffs on a shared timeline, ideally using portable OpenTelemetry standards. The piece argues that conventional APM, manual logs, and LLM-focused tracing tools offer only partial visibility, particularly when database and application work must be connected to agent behavior. It presents Pydantic Logfire as an OpenTelemetry-based platform that can instrument Pydantic AI agents with minimal setup, providing conversation replay, tool inspection, cost tracking, full-stack traces, SQL-accessible telemetry, MCP support, and integration with evaluation datasets. It concludes that observability should be established early in production agent development so incidents can become reproducible tests, costs can be monitored per step, and agent quality can improve through measurable feedback.
Oct 01, 2026
1,119 words in the original blog post.