Self-host first
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" },
});Cap spend by project or agent. When the ledger hits the line, the proxy returns 402 — not a polite Slack ping.
Attribute every LLM and tool action to agent, team, and product so finance can finally reconcile the AI bill.
Export the run ledger as CSV/JSON for ops reviews and compliance without dumping raw prompts by default.
Clone the repo, run Postgres + migrate, wire invite-only Clerk and BYOK. SaaS subscriptions are deferred — self-host installs unlock full entitlements without Stripe.