Self-host first

AgentLedgerAgentLedger

Hard budgets, chargeback, and an audit ledger for production AI agents — run it on your own stack with invite-only auth and BYOK.

const client = new OpenAI({
  apiKey: process.env.AGENTLEDGER_API_KEY,
  baseURL: "http://localhost:3000/api/v1",
  defaultHeaders: { "x-al-agent": "support-triage", "x-al-team": "support" },
});

Hard stop budgets

Cap spend by project or agent. When the ledger hits the line, the proxy returns 402 — not a polite Slack ping.

Chargeback by agent

Attribute every LLM and tool action to agent, team, and product so finance can finally reconcile the AI bill.

Audit-ready export

Export the run ledger as CSV/JSON for ops reviews and compliance without dumping raw prompts by default.

Private deploy, not a SaaS paywall

Clone the repo, run Postgres + migrate, wire invite-only Clerk and BYOK. SaaS subscriptions are deferred — self-host installs unlock full entitlements without Stripe.