01 Permissions
TestedRules run before the tool
Each command meets your rules before it executes. Block it, ask first, or let it through.
$ rm -rf ./distBlocked before it ran$ git push --force origin mainWaiting for your answer$ npm testRan
Open source, for Claude Code
You decide what they may do and what they may spend, and you see what each task cost.
Native app preview

Claude Code asks to run rm -rf ./dist.
What it may run, what each mission cost, what it waits on.
01 Permissions
TestedEach command meets your rules before it executes. Block it, ask first, or let it through.
$ rm -rf ./distBlocked before it ran$ git push --force origin mainWaiting for your answer$ npm testRan02 Budgets
TestedSet a daily or per-mission cap in estimated dollars. At 80% you get a warning. At the cap, the next tool call is blocked. A request already in flight finishes.
$10.00
Daily cap (est.) $10.00
Cap reached. Next tool call blocked.
03 Attribution
TestedName a mission when you launch Claude Code. Cost and tokens add up per mission, subagents included.
Total$20.09
04 Approval
When a command needs your answer, the request reaches your phone. One tap and the agent goes on.
Leashr via ntfy
Claude Code asks to run
$ git push --force origin mainPreview. Mobile approval is in development.
Example data. Costs are estimates in USD.
Each grip is a skill you can read, run and test. Open source on GitHub
Your agents work fast. Nobody knows what they did, or what it cost. Leashr sets a rule, a cap, an answer.
How it works
One command adds hooks to Claude Code: `npx leashr init`, from the npm package, or from a clone of the public repository.
$ npx leashr init
✓ hooks installed (Claude Code)
✓ default rules loaded
✓ local audit log on
A readable file, versioned with the project. Block, ask or allow.
rules:
- match: "rm -rf *"
action: block
- match: "git push --force"
action: ask
Set the mission name before you start Claude Code. Cost and tokens are tagged with it.
$ export OTEL_RESOURCE_ATTRIBUTES="leashr.mission=checkout-refactor"
$ claude
# One mission per launch.
Cost and tokens per mission, subagents included, in estimated USD. The hosted dashboard is coming.
Estimated USD per mission (example)
The open source agent stays free. Paid plans cover the hosted dashboard, which is not available yet. Costs are always estimates.
Open source
$0
forever
The full local agent.
Project
$9
per repository, per month
One GitHub repository is one project. Add a repository, pay for it.
Business
Custom
quote on request
Everything in Project, plus support and dedicated hosting.
Entry price per month
Example with 4 repositories
Billing unit
What the price is counted on
What does the free plan include?
Content and limits of the free tier
Company plan price
Plan above the paid tier
Where does the software run?
Local machine, vendor servers or yours
Code licence
The licence of the published code
Hosted dashboard by the vendor?
A dashboard you do not run yourself
Configurable spending cap?
A limit that stops spending, and what it covers
Audit log?
Decisions recorded for review
Cost tracked per task or trace?
Cost and tokens, agents included
| Question | FreeLeashr open source | PaidLeashr · $9 per repository, per month | LangfuseCore $29 · Pro $199 per month |
|---|---|---|---|
| Price | |||
| Entry price per monthExample with 4 repositories | $0 | $36 for 4 repositories ($9 each, proposed) | $29 (Core, 100k units included), then $8 per 100k units |
| Billing unitWhat the price is counted on | None (local agent) | Per GitHub repository | Usage units: $8 per 100k beyond the included amount |
| What does the free plan include?Content and limits of the free tier | Full local agent: permissions, spending caps, audit log, cost per mission | Not applicable | Hobby cloud: 50k units a month, 30 days of data, 2 users. Self-hosting is free. |
| Company plan pricePlan above the paid tier | Not applicable | Business, on request | Enterprise: $2,499 per month |
| Hosting and licence | |||
| Where does the software run?Local machine, vendor servers or yours | On your machine (local agent) | On your machine; dashboard hosted by Leashr | Langfuse cloud or your own infrastructure (Docker Compose, Kubernetes, Terraform) |
| Code licenceThe licence of the published code | Apache-2.0 | Agent: Apache-2.0 | MIT, except the ee/ folders |
| Hosted dashboard by the vendor?A dashboard you do not run yourself | No | YesHosted dashboard | YesLangfuse Cloud |
| Governance and tracking | |||
| Configurable spending cap?A limit that stops spending, and what it covers | YesPer mission, per day and per agent; the tool call or prompt is refused at the cap | YesPer mission, per day and per agent; the tool call or prompt is refused at the cap | YesAI Gateway budgets: per API key, per user, per organisation |
| Audit log?Decisions recorded for review | YesLocal | YesLocal, plus hosted history | YesEnterprise plan |
| Cost tracked per task or trace?Cost and tokens, agents included | YesPer mission, estimated | YesPer mission, estimated | YesPer trace |
Langfuse prices and features read on 11/23/2026 on langfuse.com/pricing, langfuse.com/changelog and the LICENSE file of its GitHub repository. Leashr prices are proposed, not final. The hosted dashboard is not available yet.
An open source agent for Claude Code. It runs your rules before a tool executes, keeps a local audit log, and measures cost and tokens per mission. A hosted dashboard is planned.
The local agent, with its skills and plugins, is open source and free. The hosted dashboard is proposed at $9 per repository per month, and each extra repository is billed the same way. Automatic PR review, when it ships, is billed separately at the real model cost plus a margin, with a monthly cap you set, or runs on your own API key. A Business plan for companies is available on request. These prices are not final, and the dashboard is not available yet. Join the waitlist and you hear first.
This website collects the email address you give the waitlist. The local agent keeps its audit log on your machine. The hosted dashboard does not exist yet. We plan to send cost and token metrics only, never prompts or commands, and we will publish the exact list before launch. Claude Code’s own telemetry includes your email and account id by default, and Leashr will filter them.
The local agent works on your machine. The hosted dashboard is not available yet, and our plan is to send metrics only. Leashr never needs your source code to measure cost.
Claude Code is the tested target. On Codex, Cursor and Antigravity, refusing dangerous calls is proven on real captures; there is no usable spending cap (no cost signal), no cost per mission, no automatic install, and `ask` is not enforced. Gemini CLI is not a target. Details and proof: the Limits by agent page of the docs.
Yes. A cap blocks the next tool call once the estimated budget is spent, and the kill switch stops the agent before its next tool call and blocks new prompts. Tested in real Claude Code sessions. A request already sent to the model cannot be cancelled, so a cap can be passed by a few calls.
It is an estimate in USD, at API list prices. In our test it matched the total Claude Code reports to the cent. It is not your invoice, and it does not reflect a Pro or Max subscription.
Yes. Rules only cover what someone wrote down. A command nobody anticipated can run. If a hook fails, Claude Code continues by default. That is why every decision goes to the audit log and why “ask” exists for the gray areas.
A name you choose when you launch Claude Code. Everything that session spends, subagents included, is tagged with it. The name is fixed at launch, so one mission is one launch.
No. It is in development, starting with ntfy. The animation on this page is a preview.
There is no date yet. The waitlist gets one email when the local agent opens.