Base-native AI memory infrastructure

Market flow becomes machine memory.

FlowMemory combines Rootflow and FlowCodec: Uniswap v4 swaps create verifiable pulses, then compressors turn accepted work into proof-carrying memory capsules for AI agents.

Rootflow verified work rail FlowCodec memory compiler Base v4 hook-native
Live primitive afterSwap only
8453 Base v4 hooks 0x proof roots
01 Swap pulse FlowPulse emitted after settlement
02 Cursor proof txHash, logIndex, poolId, blockHash
03 Verified work subjectHash approved by quorum
04 Memory capsule compressed state, residuals, proof roots
swap pulse cursor work proof capsule recall

The category error

Swaps are not data. Swaps are the clock.

Every interaction does one consistent thing

It creates an ordered, public interrupt for machine work.

The hook stays boring: no custody, no custom accounting, no fee mutation, no swap delta changes. The intelligence happens after the pulse, in the verifiable work and memory layers.

normal swap
  -> afterSwap pulse
  -> checkpointed cursor
  -> worker artifact
  -> verifier quorum
  -> storage proof
  -> memory capsule

Two engines, one product

Rootflow coordinates the work. FlowCodec compiles the memory.

Rootflow

The protocol rail

Rootflow turns swap pulses into checkpoint-backed cursor proofs, worker jobs, subject-bound verifier quorums, adapter-backed storage proofs, canonical roots, and reserved payouts.

  • FlowPulse
  • Cursor proofs
  • Verifier quorum
  • Canonical roots
FlowCodec

The memory compiler

FlowCodec turns epochs into TracePointers, epoch roots, compressor contests, validity scores, and proof-carrying MemoryCapsules that AI agents can query and reconstruct.

  • FlowCodecSignal
  • TraceCID
  • MemoryCapsule
  • Memory AMM

Proof of Forgetting

AI memory gets cheaper when agents know what not to store.

FlowCodec does not save every log as text. It saves compressed state, surprise residuals, regime sketches, proof roots, and reconstruction instructions. Exact recall comes from chain evidence only when needed.

MemoryCapsule validity score
stateRoot 0xbd26...84e1f
residualRoot 0x75fc...821c
proofRoot TracePointer set
codecWinner dirty-bit sketch

Build status

Canary-tested rail. Local memory engine. Production gates remain.

Rootflow

Base mainnet canary completed with real v4 pool, FlowPulse, checkpoint, cursor-proof job, quorum, settlement, and reserved reward payout.

FlowCodec

Local v4-core demo, indexer, TracePointers, MemoryCapsules, query API, and Memory AMM scaffolds are running. Public Base deployment is next.

Launch gates

Production storage adapters, verifier governance, source verification, Safe custody, audit, and launch approval remain before public mainnet.

FlowMemory

Swap flow becomes code for AI memory.

Demo form only. Connect your backend before production.