Your Agent learns how toMove, Track and AuditEvery Single Transaction.

Score
80
beetles engine
Search
score <= 69
Ledger
USD Operations
3 accts
Ledger
EUR Treasury
2 accts
Ledger
GBP Revenue
1 accts

The High-Performance Financial Infrastructure Skill for Autonomous AI Agents. Deterministic double-entry bookkeeping at 1M+ TPS.

x402 Micropayment ProtocolInstant Agent Bundle (.tar.gz)
๐Ÿค– AGENT SKILL CAPABILITIES

What your Agent gets
with this Skill

Empower your autonomous AI agents to provision isolated environments, run complex financial simulations, and perform real-time audit reconciliations for any scenario.

01 // AUTONOMOUS INFRA

On-Demand Environment Provisioning

Your AI agent can spin up, configure, and isolate its own financial ledger environments in seconds. Test multi-tenant setups or sandbox transactions with zero risk to production data.

  • Instant isolated ledger sandboxes
  • Dynamic asset & currency setup
  • Zero-overhead lifecycle management
Agent Execution Protocol
POST /v1/ledgers
{
  "name": "agent_sandbox_env_01",
  "currency": "USD",
  "decimals": 2,
  "isolated_mode": true
}

// โ†’ 201 Created
// Sandbox environment ready for autonomous execution.
02 // SIMULATION ENGINE

Scenario Reconciliations & Simulations

Simulate complex multi-party money flows, escrow holds, and settlement chains before committing real capital. Run dry-run audits for any scenario with exact atomic precision.

  • Dry-run multi-account simulations
  • Escrow & pending lock verification
  • Automated edge-case stress testing
Agent Execution Protocol
POST /v1/transfers/simulate
{
  "source": "debit_agent_wallet",
  "destination": "escrow_settlement",
  "amount": 250000,
  "reconcile_rule": "strict_zero_deficit"
}

// โ†’ 200 OK
// Simulation passed. Zero deficit guaranteed.
03 // ZERO-ERROR AUDIT

Automated Reconciliation & Audit Proofs

Double-entry bookkeeping is enforced at the core engine level. Your agent receives instant, cryptographically verifiable balance proofs and reconciliation reports without manual polling.

  • Mathematical double-entry truth
  • Real-time balance reconciliation
  • Immutable tamper-proof audit trail
Agent Execution Protocol
GET /v1/accounts/acc_agent_wallet/reconcile

// โ†’ 200 OK
{
  "status": "reconciled",
  "debits_posted": 500000,
  "credits_posted": 650000,
  "discrepancies": 0,
  "proof": "sha256_b7f3a901..."
}
How It Works

Built for financial
precision

From atomic transfers to automated reconciliation, every primitive is designed to eliminate errors and give you absolute confidence in your numbers.

Double-Entry Ledger

Every transfer atomically debits one account and credits another. No partial writes, no dirty reads. Immutable once posted.

POST /v1/transfers
{
  "ledger_id": "ldg_7f3a...",
  "debit_account_id": "acc_sender",
  "credit_account_id": "acc_receiver",
  "amount": 150000,
  "code": 1,
  "reference": "inv_20250218_001"
}

// โ†’ 201 Created
// Atomic. Immutable. Balanced.

Balances You Can Trust

Query any account and get a proven balance in microseconds. No stale caches, no eventual consistency โ€” truth derived from the immutable transfer chain.

GET /v1/accounts/{id}/balance

// โ†’ 200 OK
{
  "balance": 150000,
  "debits_posted": 500000,
  "credits_posted": 650000,
  "debits_pending": 0,
  "credits_pending": 0
}

Settlement Dates

Schedule transfers for future settlement. Model card receivables, installments, and payment terms โ€” the engine tracks pending vs posted balances separately.

POST /v1/transfers
{
  "ledger_id": "ldg_card...",
  "debit_account_id": "acc_receivables",
  "credit_account_id": "acc_merchant",
  "amount": 49900,
  "code": 3,
  "pending": true,
  "timeout": 2592000,
  "settlement_date": "2025-03-20"
}

// Pending until settlement. Void or post.

Watchers

Attach a watcher to any ledger, account, or identity. Define conditions in a lightweight DSL and react in real-time when thresholds are crossed.

POST /v1/watchers
{
  "target_type": "account",
  "target_id": "acc_treasury",
  "rule_dsl": "balance < 100000",
  "is_active": true
}

// Fires when balance drops below $1,000.

Rules Engine

Define weighted, priority-ordered rules to validate, limit, or transform transfers before they settle. From fraud limits to fee calculations โ€” all declarative.

POST /v1/rules
{
  "name": "Daily transfer limit",
  "config": "{ "max_amount": 1000000 }",
  "weight": 100,
  "priority": 1,
  "is_active": true
}

// Evaluated on every transfer. No code needed.

Cross-Ledger Exchange

Atomic multi-currency exchanges across ledgers. Both legs settle as one durable operation โ€” accounts and identities are auto-created when needed.

POST /v1/exchanges
{
  "source_account_id": "acc_brl_user",
  "destination_ledger_id": "ldg_usd...",
  "amount": 500000,
  "exchange_rate": "0.18",
  "code": 1
}

// โ†’ 202 Accepted
// Two linked transfers settle atomically.

Split Transfers

Distribute a single payment across multiple accounts in one atomic operation. Perfect for marketplace payouts, fee splits, and revenue sharing.

POST /v1/transfers
{
  "debit_account_id": "acc_customer",
  "amount": 100000,
  "code": 1,
  "split": [
    { "account_id": "acc_merchant", "amount": 95000 },
    { "account_id": "acc_platform", "amount": 5000 }
  ]
}

// โ†’ 202 Accepted. All legs linked.

Deterministic
integrity by design.

Eliminate the overhead of manual reconciliation. Beetles enforces double-entry rules at the engine level, ensuring your data is always audit-ready.

Massive Scale

Built to handle millions of transfers per second. Scale your fintech without ever worrying about database bottlenecks.

High PerformanceScale

Native Escrow

Reserve funds and settle later. Two-phase commits are built-in, making complex money flows simple to implement.

EscrowSafety

Double-Charge Protection

Safely retry any request. Our native idempotency ensures no transaction is ever processed twice.

ReliabilityTrust

Mathematical Truth

Double-entry bookkeeping is enforced at the core. Your balances are always correct and audit-ready by default.

Audit-Ready

Identity Linking

Connect legal entities and KYC data directly to accounts. Full traceability for regulatory compliance.

ComplianceKYC

Always Available

Distributed and fault-tolerant. Your ledger stays up and consistent even during network failures.

Uptime

Developer First

A clean, pragmatic REST API. Go from zero to a fully functional financial backend in a single afternoon.

Simplicity

Live Sync

Real-time webhooks for every state change. Keep your entire stack in sync without ever polling for data.

Webhooks

Tamper-Proof Audit

An immutable record of everything. Every cent is tracked, providing a perfect history for regulators.

Audit Trail