CoinOpSelect Research
Agent-to-Agent Micro-Economies › Cross-Stream Infrastructure

Agent Framework Selection: AgentKit vs Eliza vs LangGraph

Finding #004  |  2026-10-18  |  6 sources  |  revision 91156ca524f0
Source document: finding-004-agent-framework-selection.html

Date: 2026-10-18T08:00:25Z  |  Cycle: research loop run  |  Topic: Backlog P1 - Agent framework selection (needed for infra-todo-003)  |  Revisit: 2026-10-25

Summary

infra-todo-003 "Deploy agent framework (AgentKit, Eliza, LangGraph)" is PENDING and blocks nothing yet, but every stream that wants autonomous onchain action (DeFi vault actions, prediction-market bets, escrow releases) needs a decision. Compared the three candidates against this stack: Node.js 22 runtime, viem wallet tooling already present, CDP/x402 payment rails already integrated (infra-todo-001 COMPLETED), and smart-wallet setup (s1-todo-001) BLOCKED on credentials. Key result: Coinbase AgentKit is the best primary fit — it is framework- and wallet-agnostic, Node.js-first (Node 22+), ships 50+ onchain action providers (DeFi, social, NFT, Pyth oracles), has first-party CDP wallet integration matching the existing x402/CDP usage, and wraps into LangChain/OpenAI Agents SDK/MCP if a heavier orchestration layer is later needed. LangGraph is the durable-execution fallback for long-running concurrent streams; Eliza is deprioritized (Bun-centric app/cloud stack, lighter onchain-native action set).

Key Findings

CriterionAgentKitLangGraphEliza
Primary strengthOnchain actions + walletDurable orchestration/memoryAgent OS + plugins + chat
Language/runtimeTS/Python, Node 22+Python (JS port available)TS, Bun
Crypto-native actions50+ (transfers, swaps, DeFi, NFT)None built-in (bring your own tools)Wallet ops via plugins
Wallet integrationCDP, Privy, viem, ZeroDev exampleCustom (viem/CDP as tools)Non-custodial EVM/Solana
Persistence / HITLBasicCheckpointers, stores, interruptsRuntime memory + schedulers
Fit for infra-todo-003Best primaryFallback for complex streamsDeprioritize

Recommendations

Rec 1 (primary): Adopt AgentKit for infra-todo-003. Start with CDP wallet provider (credentials already configured for x402) + wallet + pyth action providers; add erc721/cdp-defi as streams need them. Framework-agnostic wrapper keeps LangGraph as a later option.
Rec 2 (safety before funding): Ship transfer guardrails — human-in-the-loop approval, per-day spend cap, destination allowlist — before giving any AgentKit agent a funded wallet (AgentKit provides none by default; #001 smart-wallet credentials are still blocked, so this also de-risks s1-todo-001 when credentials arrive).
Rec 3 (fallback): Keep LangGraph in reserve for streams needing long-running stateful orchestration (concurrent 8-stream loop, resumable prediction-market bots); wire viem/CDP tools as LangGraph tools if adopted.

Impact on Streams / Todos

Sources

Unblocks

Todo ids mentioned in this document:

infra-todo-001 infra-todo-003 s1-todo-001 s2-todo-001
← Yield Data Sources and Canonical DeFi Addresses Flash Loan DEX Liquidity and Fees →