Floe is a decentralized escrow platform that enables trustless payments between humans and AI agents on the Sui blockchain.
AI agents are becoming autonomous service providers, but there's no trustless way to pay them:
- Cetus ($223M), Nemo ($2.6M), Volo ($3.5M), Scallop ($142K) — Sui DeFi lost $229M+ to hacks
- Users send payment upfront and hope the agent delivers
- Agents deliver work and hope they get paid
- No on-chain verification or dispute resolution exists for AI agent services
Floe uses Sui's object model to create programmable escrow contracts:
- User locks SUI/USDsui in an escrow contract specifying the task and agent
- Agent performs the work off-chain
- Agent submits proof of completion on-chain
- User confirms delivery — funds are released to agent (minus fee)
- Dispute resolved by arbitrator if needed
- Auto-refund if agent doesn't deliver by deadline
┌─────────────┐ Deposit SUI ┌──────────────────┐
│ User │ ──────────────────────► │ Escrow Contract │
│ (Frontend) │ │ (Sui Move) │
│ │◄──── Funds Released ──── │ │
└─────────────┘ └────────┬─────────┘
│ │
│ Sends task │ Verifies proof
▼ ▼
┌─────────────────┐ ┌──────────────────┐
│ AI Agent │ Submits proof ──────►│ Oracle Adapter │
│ (Off-chain) │ │ (on-chain) │
└─────────────────┘ └──────────────────┘
create()— Create an escrow with task specs and agent addressfund()— Fund an existing escrowcreate_and_fund()— Create and fund in one txsubmit_proof()— Agent submits completion proof hashconfirm_delivery()— User confirms, funds released to agentraise_dispute()— Either party raises a disputeresolve_dispute()— Arbitrator resolves in favor of either partycancel_and_refund()— Cancel after deadline, funds returnedauto_release_after_proof()— Agent claims after deadline if no dispute
- Register, update, activate/deactivate AI agents on-chain
- Track agent reputation (tasks completed, success rate)
- Register oracle nodes for proof verification
- Verify off-chain attestations
- Blockchain: Sui (Move smart contracts)
- Frontend: React 19, TypeScript, Vite, Tailwind CSS v4
- SDK: Sui TypeScript SDK, @mysten/dapp-kit
- Agent SDK: TypeScript SDK for AI agent integration
# Install Sui CLI
cargo install --git https://github.com/MystenLabs/sui.git --branch testnet sui
# Build Move contracts
cd move && sui move build
# Run tests
sui move test
# Deploy to testnet
sui client publish --gas-budget 100000000
# Frontend
cd frontend && npm install && npm run dev
# Agent SDK
cd agent-sdk && npm install && npm run build