Skip to main content
Use PydanticAI when you want Python agents with typed outputs, validation, and a compact OpenAI-compatible model setup.

Install

Configure the model

Notes

  • PydanticAI’s OpenAI-compatible path uses OpenAI-style chat behavior.
  • Use direct Phaseo Responses calls for Responses-only features such as phaseo:apply_patch.
  • Keep structured output schemas small enough for the selected model’s context window.
Last modified on July 26, 2026