Eternal AI is a Solidity-based open source protocol for decentralized autonomous agents. These AI agents are written as Solidity smart contracts and run exactly as programmed. They are permissionless, uncensored, trustless, and unstoppable.
Eternal AI agents operate on a powerful peer-to-peer agentic AI infrastructure with many unique properties:
- End-to-end decentralization: Inference, Compute, Storage, etc.
- State-of-the-art models: DeepSeek, Llama, FLUX, etc.
- Omnichain interoperability: Bitcoin, Ethereum, Solana, etc.
This enables developers to create SocialFi agents that interact on Twitter, DeFi agents that trade crypto, GameFi agents that play onchain games, and many other decentralized AI agents yet to be invented — all without a middleman or counterparty risk.
Here are the major components of the Eternal AI software stack.
Component | Description |
---|---|
ai-kernel | A set of Solidity smart contracts that trustlessly coordinate user space, onchain space, and offchain space. |
decentralized-agents | A set of Solidity smart contracts that define AI agent standards (AI-721, SWARM-721, KB-721). |
decentralized-inference | The decentralized inference APIs. |
decentralized-compute | The peer-to-peer GPU clustering and orchestration protocol. |
agent-as-a-service | The production-grade agent launchpad and management. |
agent-studio | No-code, drag 'n drop, visual programming language for AI creators. |
blockchains | A list of blockchains that are AI-powered by Eternal AI. |
Here are the key ongoing research projects.
Component | Description |
---|---|
cuda-evm | The GPU-accelerated EVM and its Solidity tensor linear algebra library. |
nft-ai | AI-powered fully-onchain NFTs. |
physical-ai | AI-powered hardware devices. |
Run the following command to start the whole system.
sudo bash quickstart.sh
Install the eai
CLI tool to interact with your local system.
sudo ./install.sh
eai agent create $(pwd)/decentralized-agents/characters/donald_trump.txt
We are creating an agent who is a Donald Trump twin. The .txt
file is the system prompt for your agent. It will be used to set the initial behavior for your agent. You can modify the content of the prompt file to adjust your agent's personality.
eai agent info <agent_id>
eai agent list
eai agent chat <agent_id>
- Decentralize everything. Ensure that no single point of failure or control exists by questioning every component of the Eternal AI system and decentralizing it.
- Trustless. Use smart contracts at every step to trustlessly coordinate all parties in the system.
- Production grade. Code must be written with production-grade quality and designed for scale.
- Everything is an agent. Not just user-facing agents, but every component in the infrastructure, whether a swarm of agents, an AI model storage system, a GPU compute node, a cross-chain bridge, an infrastructure microservice, or an API, is implemented as an agent.
- Agents do one thing and do it well. Each agent should have a single, well-defined purpose and perform it well.
- Prompting as the unified agent interface. All agents have a unified, simplified I/O interface with prompting and response for both human-to-agent interactions and agent-to-agent interactions.
- Composable. Agents can work together to perform complex tasks via a chain of prompts.
Eternal AI is built using a modular approach, so support for other blockchains, agent frameworks, GPU providers, or AI models can be implemented quickly. Please reach out if you run into issues while working on an integration.
We are still building out the Eternal AI DAO.
Once the DAO is in place, EAI holders will oversee the governance and the treasury of the Eternal AI project with a clear mission: to build truly open AI.
Thank you for considering contributing to the source code. We welcome contributions from anyone and are grateful for even the most minor fixes.
If you'd like to contribute to Eternal AI, please fork, fix, commit, and send a pull request for the maintainers to review and merge into the main code base.
- GitHub Issues: bug reports, feature requests, issues, etc.
- GitHub Discussions: discuss designs, research, new ideas, thoughts, etc.
- X (Twitter): announcements about Eternal AI