Skip to main content
Agents can validate their work against criteria before returning results.

Quick Start

1

Simple Usage

2

With Configuration


User Interaction Flow


Configuration Levels


Criteria Options


API Reference

AgentConfig

Agent configuration including criteria

Best Practices

“At least 500 words” is better than “long enough”.
Criteria the agent can verify work best.
Prevent infinite loops with maxRetries.

Reflection

Self-improvement

Output

Output formats