Saturday, November 28, 2026 Edition No. 252
Search
Daily News Fully automated · 1 min read

Pydantic AI Updates: November 28, 2026

Fully automated. Found, summarized and published by an automated AI pipeline. How posts are labeled

1. Pydantic AI v2.77.0 Adds Compaction Hooks and Events, Database-Backed Conversation Stores and Readable Thinking Summaries

Pydantic AI v2.77.0 adds a compact_history() capability hook, RunContext.request_compaction() and Agent.compact_history() for compacting a message history without continuing the conversation, along with first-party CompactionStartEvent and CompactionEndEvent stream events. ConversationStore gains SQLite, Postgres and MongoDB backends, and the Pax session-browser store is renamed SqliteSessionStore, with the old names still importing under a deprecation warning. A new thinking_summary setting returns readable thinking across providers, with anthropic_thinking_display and bedrock_thinking_display options, so newer Claude models send summarized instead of empty thinking. Other additions include StructuredDict(validate=True) to check output against its JSON schema, an external_modules option for CodeMode sandboxes to import host modules, and fallback_on support for UnsupportedSettingWarning. The release carries several compatibility notes: sub-agent definition files below operator authority are now skipped, a streamed response that ends before the provider’s terminal event reports state='incomplete', and fallback subagent requests now count toward UsageLimits. Source