Skip to content

Examples

Runnable example scripts. Each one assumes you have a Kneo Agent Platform instance running and a profile configured at ~/.config/kneo/client.toml (or env vars KNEO_URL / KNEO_API_KEY).

Example What it shows Phase
01_basic_run.py Create a run, wait for completion, fetch the trace. 4
02_idempotent_retry.py Re-submitting a POST with the same Idempotency-Key. 4
03_paginate_audit.py Iterating all audit events with iterate_all(). 4
04_validate_spec.py Validating, compiling, and explaining a spec file. 5
05_human_task_resume.py Listing human tasks, locking, and resuming. 4

Phase 1 ships only this README — examples arrive alongside the adapter layers.

Files