# DeHeart Full Agent Reference DeHeart provides a small XEL-run heartbeat service for Sui tasks. It is not a workflow orchestration platform and does not claim a full trustless keeper network at launch. Agents and apps use DeHeart for: - task metadata, - authority-free heartbeat pokes, - x402 payment challenge and attempt metadata, - service discovery, - future handoff to Sui PTBs, Seal, Nautilus, and decentralized keepers. ## x402 Model Use payment capability metadata to discover accepted rails. Build an unsigned payment attempt from the task challenge. Settle through a wallet/facilitator. Attach the x402 payment header to task registration or heartbeat calls that require payment. ## Task Creator Flow 1. Create task metadata. 2. Add optional x402 payment requirements. 3. Register through the API. 4. Poke heartbeat when the trigger fires. 5. Move to on-chain adapters later. ## Keeper Flow 1. Discover tasks. 2. Evaluate triggers. 3. Poke heartbeat endpoints. 4. Include x402 payment headers when required. 5. Later: execute PTBs or Nautilus logic when adapters exist.