3NS is an AI-first domain naming system that redefines web addressing by integrating AI-driven workflows into .Web3 domains, enabling autonomous agent workflows. The addressing system defines the future of the next-gen agentic web, where domains act as intelligent agents that negotiate, transact, and communicate on behalf of their owners.
Building on insights from decentralised systems like ENS (.eth) and BNS (.btc), 3NS transforms .Web3 domains into powerful, evolving assets. With on-chain intelligence merging, these agents can upgrade their skills, collaborate seamlessly across chains and adapt to new opportunities in a decentralised ecosystem.
3NS bridges traditional frameworks and facilitates the power of cutting-edge projects like LangChain and Google's GenKit, while also integrating on-chain frameworks such as Fetch.ai and Near. Through the portal website 3ns.domains, users can effortlessly manage their domains. For those seeking simplicity, they can host their own personalized link aggregation website at https://{your-domainname}.3ns.link — a simple yet powerful website which is the face to your .Web3 domain's digital intelligence.
Our vision is to build an AI-first internet where agents autonomously transact, provide advice, and even self-evolve through on-chain intelligence merging. With advanced on-chain functionality—such as managing wallets for transactions, versioning, and rollback to ensure security and reliability after merges—3NS empowers agents to operate seamlessly with a variety of visual AI workflows such as ActivePieces and N8N. Integration with open-source frameworks like Ollama and compatibility with OpenWebUI model files bring cutting-edge LLM capabilities into the protocol, turning this vision into a reality.
At the heart of 3NS is the Agent Domain Protocol (ADP)—a groundbreaking standard redefining digital addressing for the agentic web. Designed for real-world applications, 3NS equips agents with transactional wallets, on-chain intelligence merging with versioning and rollback and seamless integration with leading frontier LLMs via frameworks like Google GenKit. The incorporation of a wide variety of (ActivePieces, N8N and more) extends workflow capabilities, delivering unprecedented versatility for decentralized and autonomous operations.
Agent Domain Protocol (ADP) is an open-source standard for enabling AI-driven intelligence, discovery, and cross-chain workflows for .Web3 domains. It bridges the gap between decentralized naming systems and intelligent agents, providing a unified way to define, discover, and execute agent-based workflows.
- Introduction
- Top Features
- Quick Start
- Domain Architecture
- Discovery and Reputation
- Workflows
- Workflow Syntax
- Example Workflows
- Integrated and Compatible Projects
- Contributing
- License
The future of Web3 is intelligent, interoperable, and decentralized.
Agent Domain Protocol provides a foundation for creating and managing intelligent agents backed by .Web3 domains. With support for multichain deployment, AI-driven workflows, decentralized reputation systems, and tokenized governance, ADP empowers developers to build ecosystems where agents perform tasks, negotiate terms, and evolve over time.
- Domain Architecture: The Domain Architecture of ADP redefines digital assets and utilises the full power of blockchain technology with advanced on-chain versioning, seamless intelligence merging, on-chain rollback capabilities and integrated blockchain-based payments, enabling robust multichain interoperability and decentralized governance for dynamic ecosystems.
- Discovery and Reputation: Advanced metadata indexing, automonous agent discovery and decentralized reputation scoring ensure trust and discoverability.
- Agent Workflows: AI-driven workflows with seamless multichain execution, supported by AI workflow-compatible syntax for drag-and-drop ease.
- Agent Frameworks: Supports a number of agent (decentralised like Fetch.ai, as well as, Google GenKit, Langchain, Autogen, CrewAI and more) frameworks is not opinionated on which one your agent chooses to utilise.
- Cross-Chain Interoperability: Native support for Ethereum, Moonbeam, Polygon, Fetch.ai, Near and more for seamless multichain operations.
The ADP embeds powerful, autonomous intelligence directly into digital assets. This capability allows agents to independently negotiate, act, and optimize communication across ecosystems, from high-level AI reasoning to low-level binary protocols.
To complement this open protocol, we've provided tools and libraries to simplify implementation:
- 3NS Agent Domain Protocol: The core protocol and node implementaiton
- 3NS Smart Contracts: A fork of ENS contracts designed to support ADP.
- 3NS Frontend dApp: Manage .Web3 domains through a seamless UI.
- 3NS MetaMask Snap Plugin: Enable direct wallet-based domain interactions.
- 3NS Subgraph: Optimize domain discovery and indexing with our subgraph.
- 3NS YouLink.ai Customer Portal: Provides an easy to use portal website for customer management of .Web3 domains
*Certain repositories, due to the transformative potential they hold, remain private as we refine and secure their capabilities. Among these are our autonomous WebRTC agent-to-agent communication binary protocol and the Collective DAO framework, both designed to completely change the way we currently utilise the web through decentralized autonomous agent collaboration. These innovations will be unveiled in alignment with community input and ethical considerations of their powerful impact.
We actively collaborate with leading Web3 and AI open-source initiatives, including OpenWebUI, Ollama, Near, Solana, and Polkadot. For the full scope of integrations, refer to the Integrated and Compatible Projects section. If you would like to propose an integration or join our development ecosystem, we welcome your input.
Our ongoing research also includes exploring DeFi innovations such as Beefy Protocol, further expanding the horizons of intelligent, autonomous agents in the Web3 landscape. Join us on Discord to contribute and stay informed.*
-
Clone the Repository
git clone https://github.com/agent-domain-protocol/agent-domain-protocol.git cd agent-domain-protocol
-
Install Dependencies
npm install
-
Run Local Environment
npm start
- Domain Architecture: Tokenized, multichain-enabled domains supporting decentralized governance and collective decision-making.
- Discovery and Reputation: Advanced metadata indexing, autonomous agent discovery and decentralized reputation scoring ensure trust and discoverability.
- Agent Workflows: Visual editors we compatible with include ActivePieces and N8N syntax for drag-and-drop ease with 100s of powerful extensions.
The Domain Architecture of ADP represents a significant leap forward in empowering digital assets across chains. Whether it is an NFT on an EVM, Solana, Ordinal on Stacks each domain is a tokenized decnetralised entity, embedded with a powerful ADP (defined in protocol_spec.json) that is stored decentrally and define its AI logic and workflow functionality within both decentralized and wider traditional web ecosystems.
-
Multichain Registration:
Domains can be registered across multiple blockchains, ensuring interoperability. Metadata stored with domains includes critical details like their registries, transaction hashes, and timestamps.JSON implementation:
"domain": { "name": "dietitianAI.web3", "did": "did:web3:dietitianAI.web3", "collective": { "token_shortcode": "DIET", "token_address": "0x324342432", "dao_governor": "0xew34234234" } "chains": [ { "chain_id": 1284, "chain_name": "Moonbeam", "created_at": 1697472000, "ens_registry": "0xENSRegistryAddressOnMoonbeam", "resolver": "0xPublicResolverAddressOnMoonbeam", "subgraph_url": "https://subgraph.url/moonbeam", "transaction_hash": "0xTxHashOfBurnOnMoonbeam" }, { "chain_id": 1, "chain_name": "Ethereum", "created_at": 1697572000, "ens_registry": "0xENSRegistryAddressOnEthereum", "resolver": "0xPublicResolverAddressOnEthereum", "subgraph_url": "https://subgraph.url/ethereum", "transaction_hash": "0xTxHashOfBurnOnEthereum" } ] }
-
Tokenized Collectives:
Domains support tokenization, enabling decentralized decision-making, staking, and value-sharing. Domains can act as collective DAOs, where governance is driven by holders of native tokens. -
Decentralized Governance:
Updates and decision-making are handled on-chain through voting mechanisms, providing transparency and equity for domain stakeholders.
Discoverability and trust are foundational to ADP, enabling agents to locate and assess each other effectively.
-
Agent Discovery:
Metadata includes tags, workflow descriptors, and intent definitions. These elements are indexed to allow efficient search and discovery.Example:
"discovery": { "tags": ["dietitian", "nutrition"], "workflow_descriptors": { "fetch_nutrition_data": "Retrieve detailed nutrition data from trusted sources." } }
-
Reputation Framework:
The protocol integrates decentralized identity (DID) with verifiable credentials, allowing agents to build trust. Reputation scores are calculated based on reviews, performance, and more.
ADP workflows are the beating heart of agent automation, enabling tasks to execute seamlessly across chains. There is full support for the visual editor including drag-and-drop ease. We wanted to make sure non-technical users could leverage the full capabilities of the ADP without having to program. Using ActivePieces-compatible syntax, workflows are designed for flexibility and simplicity. Our belief is more simple time-tested ETL based workflows work much better for most business tasks. So we focused on developing multiple framework support such as N8N and activepieces compatibility which offers a variety of off-the-shelf plugins from Outlook to Asana functionality incombination with several of our own plugins that work seamlessless with decentralised projects and autonomous agent innovation. Our code serves as a basis for custom components across these workflow frameworks. We believe this is fundamental to how the evolution of decentralised web will evolve.
{
"type": "web3-nodes-base.merge",
"parameters": {
"merge_policy": "destination_priority",
"source_domain": "blockchain://veganchef.web3",
"destination_domain": "blockchain://dietitianAI.web3"
},
"position": [520, 300]
}
{
"type": "web3-nodes-base.payments",
"parameters": {
"escrow_uri": "blockchain://escrow.fetch.ai/escrow123",
"supported_methods": ["USDT", "FET", "NEAR"],
"base_fee": "0.01 FET",
"variable_fee": "0.005% of task value"
},
"position": [720, 400]
}
The following have either integrated already or are in *evaluation
Project | Description | Website | GitHub |
---|---|---|---|
OpenWebUI | Full support for importing and exporting prompts and model files to/from 3NS. | Website | GitHub |
Ollama | Host your own Ollama server for complete control over models and data. | Website | GitHub |
BitTensor | *Evaluating integration: Decentralized digital commodities | Website | GitHub |
Google (GenKit) | Integration with GenKit for AI workflows. | Website | GitHub |
DecentralML | Polkadot substrate pallet for decentralized task execution using Docker. | Website | GitHub |
Akash Network | *Evaluating integration: Decentralized compute marketplace for hosting docker (useful for ADP workflow (N8N, ActivePieces) hosting). | Website | GitHub |
0g.ai | *Evaluating integration: Operating system for decentralized compute solutions (useful for ADP workflow hosting). | Website | - |
HyperCycle | *Evaluating integration: Decentralized AI infrastructure for docker (useful for ADP hosting). | Website | GitHub |
Space and Time | *Evaluating integration: Decentralized data warehouse built for blockchain indexing and agent smart contracts (useful for DeFi). | Website | - |
Project | Description | Website | GitHub |
---|---|---|---|
Moonbeam Polkadot | .Web3 domains support and can be traded on Moonbeam (EVM for Polkadot ecosystem). | Website | GitHub |
Stacks Bitcoin | Layer for Bitcoin. | Website | GitHub |
Solana | *.Web3 domains are compatible and can be deployed on Solana. | Website | GitHub |
Polygon | .Web3 domains support and can be traded on Polygon. | Website | GitHub |
Base | .Web3 domains support and can be traded on Base. | Website | GitHub |
Ethereum | *.Web3 domains are compatible and can be deployed on Ethereum. | Website | GitHub |
Project | Description | Website | GitHub |
---|---|---|---|
Fetch.ai | *Evaluating integration: Decentralized framework for building autonomous agents. | Website | GitHub |
SingularityNET | *Evaluating integration: Works with Fetch. | Website | GitHub |
Ocean Protocol | *Evaluating integration: Works with Fetch. | Website | GitHub |
LangChain | Integrated Framework for creating AI-powered workflows and agents. | Website | GitHub |
Near Protocol | *Evaluating integration: Intents and chain abstraction. | Website | GitHub |
Theoriq.ai | *Evaluating integration: Awaiting testnet - AI-driven agent collaboration. | Website | GitHub |
Wire.Network | *Evaluating integration: Decentralized infrastructure for agent workflows. | Website | GitHub |
We welcome contributions! See CONTRIBUTING.md for details.
This project is licensed under the MIT License.