AI writes code faster than you can review it. See where you're needed and where AI can handle the rest.
Know which code would hurt the most if it broke.
HighStakes combines static analysis with LLM blast radius assessment to score every file in your repo. It tells you where human review is needed and where AI can handle the rest.

go install github.com/zanetworker/highstakes/cmd/highstakes@latest
export OPENROUTER_API_KEY="sk-or-..."
cd /path/to/repo
highstakes init && highstakes analyze
highstakes dashboard
| Tier | Score | Review |
|---|---|---|
| CRITICAL | 86-100 | 2 senior reviewers + security scan |
| HIGH | 61-85 | 2 reviewers + integration tests |
| MEDIUM | 31-60 | 1 reviewer |
| LOW | 0-30 | Auto-merge safe |
Dashboard with treemap and file explorer:
highstakes dashboard
Terminal TUI with keyboard navigation:

CLI with JSON output for CI:
highstakes list --tier high --json
highstakes get src/auth/oidc.rs
highstakes pr check --base main --json
Any OpenAI-compatible endpoint. No vendor lock-in.
| Setup | Cost | Data stays |
|---|---|---|
| OpenRouter | $0.15/repo | Cloud |
| Self-hosted vLLM on OpenShift AI | Free | On-prem |
| Local Ollama | Free | Your laptop |
# Cloud
export OPENROUTER_API_KEY="sk-or-..."
# Self-hosted
export HIGHSTAKES_API_KEY="$(oc whoami -t)"
export HIGHSTAKES_API_URL="https://your-model.apps.cluster.dev/v1/chat/completions"
# Local
export HIGHSTAKES_API_KEY="ollama"
export HIGHSTAKES_API_URL="http://localhost:11434/v1/chat/completions"