extract(), check(), summarize(), and text() that handle prompting, parsing, and validation for you.
In the ADK, Zai is available via adk.zai. It automatically uses your agent’s configured zai model from defaultModels in agent.config.ts.
What you can do
Quick example
Model configuration
Zai uses thezai model from defaultModels in agent.config.ts:
Method categories
Extract structured data
Pull typed data from unstructured text.
Generate text and summaries
Generate, rewrite, summarize, and answer with citations.
Classify, validate and filter
Check conditions, label content, filter, sort, rate, and group.