ENS-native decentralized AI agent network for discovery, routing, and orchestration on Sepolia.
OpenAgents is a decentralized multi-agent AI coordination network where ENS is the identity and service-discovery backbone. Each agent registers as a subname under openagents.eth and publishes capabilities, endpoint URL, model, schema, and status via ENS text records. When a user submits a task, the orchestrator discovers available agents dynamically, resolves their metadata through ENS at runtime, plans a multi-step execution path, and routes requests to the right agent endpoints without hardcoded service directories. This creates a trust-aware, composable agent ecosystem where identity, discovery, and routing are transparent, verifiable, and onchain-aligned.
The system is structured as a monorepo with three major layers: smart contracts, agent runtime, and frontend app. Onchain, Solidity contracts (Foundry + OpenZeppelin) handle agent registration and subname-related flow on Sepolia. Offchain, a TypeScript runtime built with Node.js and Hono runs the orchestrator and specialized agents. ENSjs v4 and viem are used for name resolution and record reads, while OpenAI models are used for planning and task decomposition across agents. The frontend is built with Next.js 14 App Router, TailwindCSS, and shadcn/ui, with wagmi handling wallet and chain interactions. A key design decision is avoiding centralized registries: agent discovery and routing depend on ENS records and subname data, making ENS the load-bearing component rather than a branding layer.

