Agent Runs

Hook Setup

Wire Claude Code to Quantlix in two steps. No dependencies — pure stdlib Python.

Step 1 — Get the hook script

Copy scripts/quantlix_hook.py from the Quantlix repo to a stable path on your machine, e.g.:

~/.claude/quantlix_hook.py

Step 2 — Your API key

This is your personal API key. Keep it secret — it gives write access to your sessions.

loading…

Step 3 — Add to ~/.claude/settings.json

Paste this into your Claude Code settings file. Replace /path/to/quantlix_hook.py with the actual path from Step 1.

Loading…

Verify it's working

Run any Claude Code task. A new session should appear on the Agent Runs page within seconds of the first tool call.

Detected issues (loops, consecutive errors, high error rate) will also print to stderr inline in your Claude Code terminal.