For agencies and teams running AI agents for clients

A spend firewall for your AI agents

Budgets per agent that can only narrow when an agent delegates. A person approves anything above your threshold. Every model call leaves a signed record your finance team, your customer or your auditor can check, without trusting you or us.

Self-hosted. Open source (Apache-2.0). Your keys and your traffic never leave your infrastructure.

Become a founding partner

Who it is for

Agencies, consultancies and product teams whose agents call OpenAI, Anthropic, Gemini or other models through LiteLLM on client work, and who have had to answer one of these:

Start with the free check-up: run it on last month's export on your own laptop. Nothing is installed and nothing leaves your machine; share the one-page report only if you want to talk.

npx @spendmarshal/cli audit-logs spend-logs.json

How it works

1

Sits beside your model gateway

A hook in your LiteLLM proxy asks the firewall before each call and reports the real cost after it. Nothing is rerouted through anyone else.

2

Every agent gets a credential

Each credential carries a budget, a rate and the models it may use. A sub-agent's credential is cut from its parent's and can only be narrower, never wider.

3

Approval above your line

A call over your threshold waits for a named person to approve it, and the approval itself is signed.

4

A statement your client can verify

Every decision, approval and call becomes a signed, hash-chained receipt. At month end each client gets a statement of what its agents spent and who approved what, and anyone can verify it offline with an open specification and a short, standard-library Python verifier.

Keep your current budgets; add what they do not cover

Gateway budgets you may already useThis firewall adds
Spend limitsPer key, team, user or modelPer agent and per sub-agent, where a delegated agent can never get more than its parent
Above a thresholdThe call is blockedA named person approves or rejects it, and the decision is signed
AfterwardsLogs and dashboards in the vendor's toolA tamper-evident record a third party verifies without access to your systems
Where it runsOften a vendor's cloudOnly on your infrastructure

Honest status

Built and tested

  • The free check-up: an offline report on a LiteLLM spend-log export, run on your own laptop with one command (published on npm)
  • The policy engine: budgets with periods, velocity and rate limits, allowlists, approval rules
  • Delegated credentials that can only narrow
  • Signed approvals; signed, hash-chained receipts
  • The open evidence specification, its test vectors and two independent verifiers
  • Several instances on one Postgres database

Being built with founding partners

  • The LiteLLM hook with ceilings per client and per run
  • The month-end statement per client, from the first month of the pilot
  • Approvals from Slack, once the pilots show how often a person is asked

Early software: not yet independently audited, no compliance certification.

Founding partners: three places

$500 for three months, then $200 a month. Hands-on setup on your infrastructure (a container you run, or we deploy it into your own cloud account), a weekly call, your priorities first on the roadmap, and each client's month-end statement from the first month. We say the continuation price now so there is no surprise later. Self-hosting stays free for everyone, now and later.

Questions

Why not just use the budgets in LiteLLM or my gateway?

Keep them as a backstop. They cap spend. This adds delegation that only narrows, a named approver above your threshold, and a record someone outside your company can verify.

Does any of my data or traffic go to you?

No. It runs on your infrastructure, and model calls go from your proxy to your providers as before.

Does it hold money or keys?

No. For model spend nothing moves; it decides, records and asks for approval. Your provider keys stay where they are.

Can it govern agents that pay for APIs directly?

Yes, optionally: it already supports the x402, MPP and L402 payment protocols, with the same policy and the same record.

What happens if the firewall is down?

The hook will let you choose: block calls until it is back (the default), or let them through and record the gap.