For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

The mental model in five minutes.

Brain is one API for autonomous financial operations. Underneath, it does four things, in this order, every time:

Remember   β†’   Decide   β†’   Execute   β†’   Prove
Word
What Brain does
What you call it

Remember

Pulls in evidence from banks, ERPs, processors, on-chain wallets, and structures it into a queryable record

brain.ask, brain.transactions.list

Decide

Evaluates every proposed action against rules the tenant signed

runs automatically inside brain.pay

Execute

Dispatches the action through the right rail (ACH, ERP write, on-chain)

brain.pay, brain.approve

Prove

Records every step in a tamper-evident log anchored on Base L2

brain.proof, brain.audit.list

Everything else in this documentation is depth on those four steps.

Why This Matters

Most fintech infrastructure stops at execution. The provider moves the money and confirms it landed. That leaves the integrating application to handle context, rules, and audit on its own. Brain is built around the fact that agents need all four steps, in order, on every action.

Without remember
Without decide
Without execute
Without prove

Agent acts on partial data

Agent acts outside policy

Agent can't move money

Agent's actions can't be verified

The Four Ideas in Detail

🧠 Memory

What Brain knows about a tenant, where it came from, and how to query it.

πŸ›‘ Policy

The rules a tenant signed. How decisions are made.

πŸ€– Agents

Who can read, propose, and act. Internal and external.

πŸ“œ Proof

Why every claim Brain makes is verifiable.

Tenants

Everything in Brain happens for a tenant. A tenant is a customer of yours: a business, a workspace, a user. Brain isolates tenants at the storage, key, and policy layer.

Cross-tenant access is impossible by construction. You'll never see one tenant's data accidentally surface in another tenant's response.

Provenance

Every fact Brain returns carries citations.

You never have to take Brain's word for anything. Every claim links back to source evidence.

Idempotency

Every mutating call accepts (and most require) an idempotency key.

Retries with the same key return the existing action, so a network blip never produces a duplicate payment.

Where the Depth Lives

When you're ready, the protocol underneath has more to offer. Each of those concepts maps to a specific layer.

Concept
Layer (deep dive)

Memory

Raw, Ledger, and Wiki

Policy

Policy and the pre-execution gate

Agents

The Agent layer

Proof

Audit and on-chain anchoring

You can build with Brain without reading any of those sections. They are there when you want the deeper view.

Last updated