CLI is live · Team dashboard coming soon

The Economic Control Layer
for AI Agents.

Your agents spent $148 this week. $43 was waste.
Xerg finds it, classifies it, and will soon govern it.

$ npx @xerg/cli audit copy
Join waitlist

Backed by a16z Scout & Cloudflare Launchpad

@xerg/cli
$ npx @xerg/cli audit --week
Runs analyzed 1,847
Total spend $148.32
Structural waste $43.17 (29.1%)

Retry $13.40
Context bloat $16.28
Loops $5.91
Downgrade candidates $7.58

Top driver support_triage — context bloat
Fix context bloat on support_triage. Est. savings: $9.41/wk
Try it now
$ npx @xerg/cli doctor
$ npx @xerg/cli audit
$ npx @xerg/cli audit --compare
Prefer a global install? npm install -g @xerg/cli
Works with these agent frameworks
OpenClaw supported now · remaining frameworks on the roadmap

What Xerg does

Finds waste. Recommends fixes.
Soon, enforces policy.

Every tool shows a spend total. Xerg classifies where dollars leak, tells you which fix to try first, and is building toward automated governance.

01

Waste classification

Five structural categories — retries, context bloat, loops, downgrade candidates, idle — each in dollars, each with a distinct fix.

02

Dollars, not tokens

"2.4M tokens" means nothing to the person approving your AI budget. "$43 wasted" does.

03

Local-first, zero friction

No account. No API key. No network call. Logs stay on your machine. Runs in seconds, works offline.

04

Built for agent loops

Agent workflows have closed economics — goal, plan, call, retry, result. That structure makes waste measurable with precision.

05

Team dashboard

Shared waste visibility across your team. Historical trends, workflow comparisons, alerts when spend spikes. In development.

06

Economic Governor

Policy-as-code that enforces budget caps, auto-downgrades models, and kills runaway loops. The control layer. Coming soon.


What's next

From finding waste
to governing spend.

The CLI tells you what's wrong. The Governor fixes it automatically — enforcing economic policy before money is spent.

xerg.policy.yml
# enforce economic discipline per workflow
policies:
  - name: "support-budget-cap"
    workflow: "support-triage"
    max_cost_per_outcome_usd: 2.00
    on_breach: "downgrade"

  - name: "loop-kill"
    max_retries_per_run: 5
    on_breach: "kill"

The Governor is in active development. Join the waitlist for early access.

Get early access.

The CLI is live now. Team dashboard and Governor
are rolling out to design partners first.

No spam. Launch updates and early invites only.