Introduction
The decentralized subnet template, named the Mesh Template, is tested in a Linux environment, but should be able to be built in a macOS environment. The Windows environment may require further development. For Windows environments, use WSL.
GitHub
https://github.com/hypertensor-blockchain/mesh (coming soon)
Introduction
At the heart of the Hypertensor platform is a simple but powerful ethos: every subnet should operate as a fully decentralized peer-to-peer (P2P) network. These subnets sit at the intersection of blockchain and AI — not to be confused with the Hypertensor blockchain itself — and provide a robust foundation for building decentralized AI-native applications.
Each Hypertensor subnet leverages the same foundational technologies that power leading blockchain ecosystems. This includes libp2p, the modular P2P networking stack used by major chains like Ethereum, Base, Arbitrum, Polkadot, Avail, Unichain, Hypertensor, applications like IPFS, and hundreds of other blockchains and decentralized applications. For a full list of libp2p adopters, see the official list of libp2p builders.
By combining blockchain-grade P2P infrastructure with AI-native capabilities, Hypertensor subnets empower developers to create fully decentralized, intelligent applications.
You can think about subnets like blockchains designed for AI. All of the computational limitations from gas and block weight have been removed.
Getting Started
This documentation will focus on building a subnet over the Mesh Template.
As a builder, the primary focus is on building the application logic and how nodes will be able to form consensus and score each other.
In the inference-subnet, the focus is on the Inference Protocol (see protocols), and a commit-reveal scheme utilizing the DHT Records with a record validator.
Start building:
Clone the template:
git clone https://github.com/hypertensor-blockchain/mesh-template.git
Building a subnet revolves around two main points: protocols and consensus. Everything else is built-in and ready to go.
Protocols
Consensus
Protocols are where the application logic lives and how nodes communicate with each other. Call inference on nodes, run automated tasks, and more!
Consensus is where nodes score each other, and it runs in parallel to the Hypertensor consensus mechanism for validating and attesting. This is also where you will build the scoring mechanism.
Last updated