haimalisted
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