Examples

Each example is a complete, runnable config you can clone and modify. They're ordered from simple to complex — start at the top if you're new.

Content publishing

examples/content-publish/

View source

A governed content pipeline: draft → brand review → human approval → publish. The LLM walks the workflow through links. When it reaches the approval gate, governance stops it cold — only a human can approve.

governance human approval HATEOAS actor enforcement

Expense approval

examples/expense-approval/

View source

Multi-tenant expense workflow with two-tier approval. Small expenses need one manager. Large expenses need quorum evidence from multiple approvers. Payment is idempotent — the executor won't double-pay.

multi-tenant quorum evidence guards expr guards

Deploy pipeline

examples/deploy-pipeline/

View source

Deterministic chaining in action. Lint → test → build auto-execute without LLM involvement. The model calls workflow.start once and gets the result at the deploy decision — three executor calls, zero LLM round trips.

deterministic chaining phase guidance CLI executor

TDD enforcement

examples/tdd/

View source

Enforced red → green → refactor cycle. The LLM can't skip from red to refactor — the workflow won't let it. Includes cheat detection: if the model tries to write production code before a failing test, the guard catches it. Dogfooded in CI with a mechanical driver script.

workflow enforcement cheat detection CI dogfood

Starter configs

examples/

View source

Small, focused configs for specific patterns: simple-proxy.yaml (basic MCP passthrough), governed-change.yaml (approval gate), import-and-discovery.yaml (importing tools from MCP servers). Good starting points when you know the pattern you want.

proxy import discovery