Pydantic · Pydantic AI 2.77.0
Pydantic AI adds conversation persistence backends and mid-run history compaction
Stable version 2.77.0 of the Python framework adds SQLite, PostgreSQL and MongoDB backends for storing conversations. An agent can request history compaction without waiting for a session to resume.
What changes
Sub-agent definitions loaded from files below operator authority are now ignored. Requests made by fallback sub-agents for X search and image generation count toward usage limits, including the default limit of 50 requests per run. Check existing workflows for compatibility before upgrading. The code is MIT-licensed; external model and service costs are separate.