Examples
All example commands are run from the repository root.
Live-provider examples
Section titled “Live-provider examples”npm run example:hellonpm run example:policynpm run example:approval-requirednpm run example:approval-evidencenpm run example:tool-policynpm run example:run-recordnpm run example:non-regression
Set AIOC_EXAMPLE_PROVIDER to openai or mistral and provide the matching API key. Optionally set AIOC_EXAMPLE_MODEL to override the default live model.
Deterministic run-record utility examples
Section titled “Deterministic run-record utility examples”npm run example:rru:01-extractnpm run example:rru:02-comparenpm run example:rru:03-replay-strictnpm run example:rru:04-replay-hybrid
These examples are intended to remain didactic and runnable without a live provider.
Canonical Guide
Section titled “Canonical Guide”For the curated learning path, see the repository document:
/docs/CANONICAL-EXAMPLES.md
For the approval model and policy-reevaluation flow, see:
/approval-flows/