[01]
Prompt, model tier, escalation — all in one file.
An agent is a YAML file that declares a system prompt, a model tier (Haiku / Sonnet / Opus), and an escalation fallback. No orchestration boilerplate. No surrounding Python.
- Haiku for cheap, latency-sensitive runs
- Sonnet for structured reasoning
- Opus for high-stakes decisions
- Escalation tier retries automatically on parse failures
behavior.yamlyaml
tier: sonnet escalation_tier: opus max_tokens: 8000 temperature: 0.2 retries: 2 prompt: | You are a compliance auditor. Given a generated migration + requirement spec, flag any PII handling that violates the tenant's data-residency policy. Return JSON matching the compliance-report schema.