pydantic-ai 2.69.0 adds Gemini 4 Hydrogen support and loop detection for streamed output, and folds RequestInput into HandleDeferredToolCalls. Check the compatibility notes before upgrading AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → code.
Terms in this piece · Glossary
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.