ChainClaw: A Layered Agent Framework for Reliable On-Chain Execution
This work addresses three core challenges faced by general-purpose large language model agents in blockchain environments: insufficient reactivity, irreversible operations, and unobservable system states. To overcome these limitations, the authors propose ChainClaw, the first hierarchical agent framework specifically designed for blockchain settings. ChainClaw integrates an event-driven orchestration layer, simulation-based safe reasoning, and on-chain monitoring within a unified runtime architecture, augmented by a cross-layer memory mechanism to ensure coherent decision-making. The framework establishes a secure execution pipeline through key components including event ingestion, transaction simulation, action safeguarding, on-chain read adapters, and transaction monitoring. Evaluated across seven tasks spanning four distinct categories, ChainClaw demonstrates substantial improvements over existing approaches in both safety and task completion rates.