用 Pydantic AI 写带类型的 Agent:文档核验版上手指南

文档核验:在 Python 3.11+ 安装 pydantic-ai,用 Agent 与 run_sync 走最小路径。...

IvesFeng
2026年11月12日

For any given task, I lock down the JSON Schema first, then focus on the finer details: this cuts the number of issues in half before deployment.

Compare free-form output with pre-defined JSON Schema/Structured Outputs; cite publicly accepted standards; attached: Tonight’s Agreement → Minimum...

IvesFeng
November 2, 2026

With these few lines of constraints added to the same set of meeting minutes, I was finally able to go directly to the Kanban board.

After last week’s sync meeting wrapped up, I casually sent the Feishu meeting minutes to the model with the instruction: “Organize these into a to-do list.” What it spat out was a string of correct but meaningless platitudes—“Continuously optimize the login experience,” “Monitor data performance...”.

IvesFeng
October 28, 2026