Get Saguaro running in your repo in under 2 minutes.
Saguaro is distributed via Homebrew. If you have a coding agent installed (Claude Code, Codex CLI, or Gemini CLI), Saguaro uses that agent's existing subscription — no API key needed. Otherwise, set ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_API_KEY in your environment or paste it during sag init.
1brew install mesa-dot-dev/homebrew-tap/saguaroRun sag init in your repository to set up Saguaro.
.saguaro/config.yaml and .saguaro/rules/.env.local1# Initialize Saguaro in your repo2sag initSaguaro can analyze your codebase and propose rules tailored to your project's patterns and conventions.
1# Generate rules from your codebase (or use the starter rules)2sag rules generateRun a review against your current changes. By default, Saguaro diffs against main.
1# Run a review2sag reviewExit code 0 means clean — no violations found. Exit code 1 means violations were detected. Silence is a good thing — it means nothing is wrong.
Saguaro is configured via .saguaro/config.yaml. See the full configuration reference for all available options.
1# .saguaro/config.yaml2model:3 provider: anthropic4 name: sonnet5
6output:7 cursor_deeplink: true8
9review:10 max_steps: 1011 files_per_batch: 212
13hook:14 enabled: true15 stop:16 enabled: true