Quick Start
User Interaction Flow
Configuration Levels
Output Formats
| Format | Use Case |
|---|---|
json | Structured data extraction |
markdown | Formatted documents |
text | Plain text response |
| Schema | Custom typed output |
API Reference
OutputConfig
Output configuration options
Best Practices
Use schemas for consistency
Use schemas for consistency
Schemas ensure agents return predictable structures every time.
Keep schemas simple
Keep schemas simple
Start with basic types. Complex nested schemas may confuse some models.
Validate with Zod
Validate with Zod
Zod schemas provide runtime type checking for extra safety.

