← All templates
PythonAdvancedApplied AI EngineerForward Deployed EngineerApplied AI Architect

Wren: a complete coding-agent harness

The C11 harness on the real Anthropic SDK: the full loop with every stop reason, a tool registry, sandboxed file and shell tools, permission modes and hooks, layered context with memory files, compaction, subagents, checkpoints and resume, traces with cost and replay, and injection defence, behind a `wren` CLI.

Locked

The code is part of the full course

The file map and notes are open to everyone. Get lifetime access to every template's source, the .zip download and all four tracks for a one-time $249.

Run it

shell
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt && pip install -e .
cp .env.example .env  # add ANTHROPIC_API_KEY
wren "Make the failing test in tests/test_rates.py pass" --mode default --root path/to/repo
wren --resume <run_id> --root path/to/repo  # after Ctrl-C or a crash

Test it

shell
pytest -q

Offline: no API key or network needed.

Taught in