AIToday
AI Coding AssistantsHacker NewsPublished: Jun 22, 2026, 10:00 JST1 min read

Compass halts AI agents at spending cap—no external calls

Compass halts AI agents at spending cap—no external calls

3 Key Points

  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. 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. 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.

Ask the AI about this article →

Get the latest AI Coding Assistants news every morning

For example, today's edition would include:

  • VS Code's 'Rubber Duck' feature lets developers get a second AI opinionPublickey · 48m ago
  • Claude Code to permanently raise usage limits by 25%Ben's Bites · 48m ago
  • OpenClaw 2.0 launches, targeting enterprise AI teamsVentureBeat AI · 12h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleAI Threat to S&P Global Overstated, Analysts Say