← ClaudeAtlas

haimalisted

Agentic finance engine for the Agent OS — x402 machine-to-machine payments, on-chain settlement, per-task revenue billing, and wallet management. Integrates with Arcan (agent runtime), Autonomic (economic homeostasis), and Lago (event-sourced persistence) to give agents real financial agency. Use when: (1) adding payment capabilities to an agent or agent-controlled API, (2) implementing x402 protocol support for HTTP-native machine payments, (3) wiring per-task billing so agents can charge for completed work, (4) managing agent wallets (secp256k1 keypair, encrypted storage), (5) configuring payment policies (auto-approve, spend caps, rate limits), (6) integrating Coinbase CDP or self-hosted facilitators for on-chain settlement, (7) bridging on-chain USDC with Autonomic's micro-credit state. Triggers on 'agent payments', 'x402', 'machine payments', 'agentic finance', 'haima', 'payment port', 'wallet management', 'per-task billing', 'USDC payments', 'agent revenue', '402 payment required'.
broomva/skills · ★ 3 · AI & Automation · score 72
Install: claude install-skill broomva/skills
# Haima — Agentic Finance Engine > **Broomva Stack Layer 6** (Platform) — part of the [24-skill Broomva Stack](https://github.com/broomva/bstack). > **Repo**: [github.com/broomva/haima](https://github.com/broomva/haima) | **Part of**: [Life Agent OS](https://github.com/broomva/life) Haima (αἷμα, Greek for "blood") is the circulatory system of the Agent OS — it distributes economic resources throughout the organism. Agents can pay for external resources, charge for completed tasks, and maintain sovereign wallets, all through standard HTTP via the x402 protocol. ## Core Concept Every agent has an economic identity backed by a secp256k1 keypair and an on-chain wallet (USDC on Base). The x402 protocol activates HTTP's dormant `402 Payment Required` status code: when an agent encounters a 402 response, Haima automatically evaluates payment policy, signs a cryptographic authorization, and retries — settling on-chain in under 2 seconds. ### Three Financial Primitives 1. **Pay** — Agent pays for external resources (API calls, data feeds, compute) 2. **Charge** — Agent prices completed tasks and collects revenue 3. **Account** — On-chain balance synced with Autonomic's economic state ## Quick Start ### For an existing Life/Arcan project ```bash # Haima runs as a companion daemon alongside Arcan and Autonomic cargo run -p haimad -- --bind 127.0.0.1:3003 # With Lago persistence cargo run -p haimad -- --bind 127.0.0.1:3003 --lago-data-dir /path/to/data ``` ### Adding x402 paym