LOKI is an autonomous AI agent that swarms your web app with chaos personas, races your APIs, kills your infra — and patches what breaks.
$ uv tool install loki-chaos-agent
~/shop — loki
Rage-clicker, novice-chaotic, network-tormentor and adversary agents assault your app in coordinated waves.
Chromium, Firefox and WebKit with deterministic seeds.
Review and apply patches with loki fix --apply.
Write invariants in .loki/rules.md — evaluated at session end (PASSED / VIOLATED) against DOM, console, and network evidence.
Kill or pause local processes and Docker containers, or stress CPU and RAM with loki infra.
Secrets and PII redacted from network.har.