Aoineco Ledger — AI Agent Financial Tracking Engine
/install aoineco-ledger
Aoineco Ledger — AI Agent Financial Tracking Engine
\x3C!-- 🌌 Aoineco-Verified | S-DNA: AOI-2026-0213-SDNA-AL01 -->
Version: 1.0.0
Author: Aoineco & Co.
License: MIT
Tags: finance, expense-tracking, budget, roi, bootstrap, multi-agent, accounting
Description
Financial tracking engine built for AI agents operating on extreme budgets. Tracks every API call, gas fee, and revenue stream with per-agent cost attribution. Native support for the $7 Bootstrap Protocol.
Rebuilt from agentledger (Node.js) into Python with major enhancements for multi-agent squads and micro-budget operations.
Core metric: Intelligence per Dollar (IPD) — how many operations you get per cent spent.
Problem
AI agents spend money (API calls, gas fees, subscriptions) but rarely track it. When you're running a 9-agent squad on a $7 seed budget, every fraction of a cent matters. You need:
- Real-time visibility into burn rate and runway
- Per-agent cost attribution (who's spending what?)
- Budget alerts BEFORE you overspend
- Revenue tracking to measure actual ROI
Features
| Feature | Description |
|---|---|
| Transaction Logging | Log expenses, revenue, API costs, gas fees with one-liner methods |
| $7 Bootstrap Metrics | Seed tracking, ROI%, runway days, daily burn rate, IPD |
| Per-Agent Cost Attribution | Track spending by squad member (oracle, blue-sound, etc.) |
| Budget Alerts | Set limits per category/period — warns at 80%, blocks at 100% |
| Category System | Pre-configured for AI ops: API/LLM, Gas/Blockchain, Revenue/Gig, etc. |
| CSV/JSON Export | Full transaction export for tax, audit, or analysis |
| JSONL Storage | Append-only transaction log — fast, corruption-resistant |
| Period Filtering | Query by today, this-week, this-month, this-year, or all |
Quick Start
from ledger_engine import AoinecoLedger
ledger = AoinecoLedger()
# Log API cost
ledger.log_api_cost(0.0042, "Google", "gemini-3-flash", tokens_used=150000, agent="oracle")
# Log gas fee
ledger.log_gas(0.0003, chain="base", tx_hash="0xabc123", agent="blue-sound")
# Log revenue
ledger.log_revenue(0.01, "MoltLaunch", "Tier-1 Intel Report", category="Revenue/Gig")
# Set budget
ledger.set_budget("API/LLM", limit=3.00, period="daily")
# Check $7 Bootstrap metrics
metrics = ledger.get_bootstrap_metrics()
# → Seed: $7.00, Burn: $0.02/day, Runway: 300 days, IPD: 257.5 ops/$
Bootstrap Metrics Output
💰 Seed Amount: $7.00
📈 Total Revenue: $0.0150
📉 Total Expenses: $0.0233
🤖 API/LLM Cost: $0.0230
💵 Net Profit: $-0.0083
📊 ROI: -0.1%
💎 Remaining Balance: $6.9917
🔥 Daily Burn Rate: $0.0233/day
⏱️ Runway: 300 days
🧠 IPD: 257.5 ops/$
Pre-Configured Categories
API/LLM— OpenAI, Anthropic, Google API costsGas/Blockchain— On-chain transaction feesRevenue/Gig— MoltLaunch gig incomeRevenue/DeFi— Meteora, LP yieldsRevenue/Music— claw.fm royaltiesInfrastructure,Marketing,Tools,Subscriptions,Other
File Structure
aoineco-ledger/
├── SKILL.md # This file
└── scripts/
└── ledger_engine.py # Main engine (zero external dependencies)
Zero Dependencies
Pure Python 3.10+. No pip install needed. Designed for the $7 Bootstrap Protocol — every byte counts.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aoineco-ledger - 安装完成后,直接呼叫该 Skill 的名称或使用
/aoineco-ledger触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Aoineco Ledger — AI Agent Financial Tracking Engine 是什么?
Track detailed AI agent expenses, revenues, budgets, and ROI with per-agent attribution and alerts for efficient micro-budget financial management. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 653 次。
如何安装 Aoineco Ledger — AI Agent Financial Tracking Engine?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aoineco-ledger」即可一键安装,无需额外配置。
Aoineco Ledger — AI Agent Financial Tracking Engine 是免费的吗?
是的,Aoineco Ledger — AI Agent Financial Tracking Engine 完全免费(开源免费),可自由下载、安装和使用。
Aoineco Ledger — AI Agent Financial Tracking Engine 支持哪些平台?
Aoineco Ledger — AI Agent Financial Tracking Engine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Aoineco Ledger — AI Agent Financial Tracking Engine?
由 edmonddantesj(@edmonddantesj)开发并维护,当前版本 v1.0.0。