Reproduce “State Twins: An Off-Chain Substrate for Agentic Reasoning over Decentralized Finance Protocols” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ian C. Moore
This research introduces "State Twins" as an off-chain computational substrate for agentic reasoning in decentralized finance. It enables agents to perform complex, multi-scenario "what if?" queries over deterministic Automated Market Maker (AMM) protocols without incurring blockchain costs or latency. The implementation in DeFiPy v2 provides quantitative fidelity and supports ensemble-based decision-making.
Key insights
- The deterministic nature of DeFi AMM protocols allows for precise off-chain replication with quantitatively bounded fidelity, making exact counterfactual simulation possible.
- Decoupling agent reasoning from direct on-chain interaction via an off-chain substrate fundamentally expands agent capabilities from reactive to proactive, ensemble-based analysis.
- A modular architecture with a strict primitive interface facilitates seamless integration with various tools, including LLMs, while preserving the mathematical rigor and auditability of the core logic.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.