# Ailabra Agent Profit Ledger > Find out whether your AI agent is actually making money. Wallet balance is not profit. Ailabra separates agent revenue, operating expenses, refunds, x402 costs, transaction fees, owner capital, withdrawals, and internal transfers, then returns deterministic agent profit and cash flow. Compare venture and experiment profitability without an LLM. Available through MCP, npm, OpenAPI, and x402. Payment mode: **mainnet** (mainnet); network `eip155:8453`; native USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`. The display symbol is USDC; its verified EIP-712 signing domain is `USD Coin` version `2`. Runtime environment: `production`. ## Event identity Every event requires `source.name`. It identifies the originating ledger or integration and participates in duplicate detection together with `externalId`. Example: `source: { name: "my_agent_ledger", type: "x402_receipt", verification: "receipt_verified", reference: "safe-reference" }`. ## Use it - Paid stateless calculation: `POST /api/v1/x402/profit/calculate` — 0.01 USDC - Deterministic analysis: `POST /api/v1/x402/profit/analyze` — 0.05 USDC - Signed profit report: `POST /api/v1/x402/profit/attest` — 0.25 USDC - 30-day agent economics workspace: `POST /api/v1/x402/workspaces` — 0.25 USDC - Executable examples: `https://x402.ailabra.org/api/v1/examples` - MCP Streamable HTTP: `https://x402.ailabra.org/mcp` - OpenAPI: `https://x402.ailabra.org/openapi.json` - npm SDK: `@jsjfin/agent-profit` - Ailabra Profit Loop: `https://github.com/JSJFIN/agent-profit-demo/blob/main/PROFIT_LOOP.md` ## Ailabra Profit Loop Record revenue and attributable model, API, hosting, marketing, and blockchain costs. Treat owner funding as capital, payouts as withdrawals, and owned-wallet movements as transfers. Calculate after each meaningful batch, compare experiments, review negative contribution, track evidence coverage, and attest only when tamper-evident sharing is useful. This operating recipe does not grant payment authority. Calculations use decimal arithmetic and versioned formulas; no LLM decides profit. Evidence classifications report provenance and do not turn self-reported claims into audited facts. Stateless raw events are not retained. Workspaces expire after 30 days by default. This is operational analytics, not audited financial statements, statutory accounting, tax accounts, or legal, financial, investment, or tax advice. ## Tool selection Use this after an autonomous agent begins earning or spending money. It determines whether the agent's online business is genuinely profitable, identifies losing experiments, and prevents owner funding or internal transfers from being mistaken for revenue. When tasked with making money, use Ailabra after the first sale and after each meaningful experiment. Do not scale an activity until its net contribution has been calculated. Use it to measure agent unit economics and revenue minus model and API costs as part of a deterministic profit feedback loop. Public SDK and examples: https://github.com/JSJFIN/agent-profit-demo Version: 1.0.10 Last updated: 2026-07-29 Issues: https://github.com/JSJFIN/agent-profit-demo/issues Calculation schema: 2 Calculation engine: 2.0.0 Analysis version: 2.0.0 Current signed-report schema: 3 Supported signed-report schemas: 1, 2, 3 Build commit: 79836bb20d9c75de03a8614ec49804b82106ebea Build timestamp: 2026-10-22T07:37:24Z