AIToday

Compass, a local-first configuration tool for AI coding agents, enforces budget caps, blocks unsafe commands, and verifies code before merging—without sending data to external services.

Hacker News4h ago3 min read
Compass, a local-first configuration tool for AI coding agents, enforces budget caps, blocks unsafe commands, and verifies code before merging—without sending data to external services.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. 1

    What happened: Compass is a tool that sits between Claude Code, Codex, or Gemini and your codebase. It enforces a hard spending limit (set via COMPASS_MAX_USD), blocks commands deemed catastrophic before they run, and automatically reviews and fixes pull requests in a loop until tests pass—then stops at you to merge.

  2. 2

    Why it matters: Most AI-agent configurations claim to be safe and cheap but don't prove it; Compass hands you measurable numbers. The guardrail policy scores 100/100 in CI (against a 61-case corpus), cost routing achieves ~61% cheaper performance than all-Opus at ~98% quality, and the spending ceiling actually halts the agent's next tool call once the cap is hit—not just a warning. All of this runs locally with no telemetry and no external service calls.

  3. 3

    What to watch: Installation is reversible and requires only Claude Code (or Codex/Gemini) plus git; the simplest path is a git clone and ./quickstart.sh, or via the Claude Code plugin marketplace. The autonomous PR loop (which runs in GitHub Actions) needs model auth and a fine-grained PAT token; without it, the loop still runs but won't auto-re-fire after a fix. Releases carry keyless SLSA provenance, verifiable with compass verify v0.17.2.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →