Hands-on Labs
Each domain has a lab with one task per training section. The labs use Acme Support, a small multi-tenant support assistant with retrieval, tools, an emergency brake, budgets, and a hash-chained audit log. Its defaults are deliberately naive. You turn on and build the controls, then measure attack success and false refusals with the lab's scoring tool. All data is fake and nothing leaves your machine.
It is pure Python 3.11+ with no dependencies. It runs offline with a deterministic stand-in model, or against any OpenAI-compatible endpoint for real measurements. Get it from the lab directory of the cAIge repository.
git clone https://github.com/mrcloudchase/caige.git
cd caige/lab
python3 -m unittest
python3 -m caige_lab eval --suite suites/benign.jsonl Lab 1 · 3-4 hours Lab 1: Set Up and Map the Lab System Set up the Acme Support reference app (or your own practice system), then map every component, input, and authority it has. Lab 2 · 3-4 hours Lab 2: Threat-Model Your Practice System Classify every risk as safety, security, or containment, map authority and trust boundaries, and run a blast-radius analysis. Lab 3 · 6-8 hours Lab 3: Security Hardening Enforce authority outside the model: architectural injection defenses, input and output handling, retrieval authorization, delegation, and supply-chain controls. Lab 4 · 6-8 hours Lab 4: Safety Controls Write a testable content policy, add calibrated detection, grounding checks, refusal design, schema enforcement, and failure behavior. Lab 5 · 5-7 hours Lab 5: Containment and the Emergency Brake Contain your agent regardless of why it misbehaves: least privilege, sandboxing, action gating, budgets, an emergency brake, and tamper-evident audit. Lab 6 · 5-6 hours Lab 6: Red Team and Measure Build evaluation sets, report metrics with confidence intervals, validate your judge, run a scoped red-team engagement, and put regression tests in CI. Lab 7 · 3-4 hours Lab 7: Operate and Respond Monitor guardrails in production, run an incident drill that includes pulling the brake, manage a change safely, and pass a release gate.