//
Busque em todas as páginas da documentação
8 pages in this section.
Explains why unvalidated free-text output becomes risky once an agent acts on its own output.
A first agent call that returns a validated Pydantic model instead of raw text.
A recipe for constraining an agent's response to a typed, validated schema.
A recipe for retry-until-valid structured extraction with the Instructor library.
A recipe for defining agent tools with fully typed inputs and outputs.
Ten practices for schema design that keeps validated agent output both strict and useful.