Daydreams is a TypeScript framework for building stateful agents with composable contexts, MCP integration, and an API router. It includes Daydreams Router, which adds x402-based crypto payments to model calls with support for Base and USDC. The project also ships code for ERC-8004 “trustless agents,” aligning agent identity and trust with on-chain standards.