Ritual Knowledge Hub

Ritual Superchain

Ritual’s Crypto-Economic AI Coprocessor

Ritual Knowledge Hub

What is the Ritual Superchain?

Exploring Ritual’s Crypto-Economic AI Coprocessor

Ritual’s technical architecture consists of different layers. Let’s have a look how its tech stack is organized and which components are part of it.

Overview of Ritual’s Tech Stack

Ritual’s stack is organized into the Ritual Coprocessor – consisting of GPUs, a VM, and the node set – as well as Infernet, the protocol’s first production implication.

Ritual Superchain

AI coprocessor for blockchains

Infernet

Ritual’s first production implementation

In this article, we are taking a look at the Ritual Superchain.

Ritual Superchain

Ritual’s crypto-economic AI coprocessor will power a new generation of AI-enabled smart DApps. As an integral part of the Ritual architecture, the coprocessor supports computational tasks within the network.

  • Handling off-chain computation requests
  • Delivering results back to
    the on-chain environment
  • Specifically for tasks related to machine learning inference

Ritual Coprocessor

Elements of the Ritual Superchain

Routers

Ritual Supercomputer

Stateful Precompiles (SPCs)

Ritual Supercomputer

General Message Passing (GMP)

Ritual Supercomputer

Portals

Ritual Supercomputer

Guardians

Ritual Supercomputer

Modular Stateful Precompiles

Ritual Supercomputer

Shared Sequencer

Ritual Supercomputer

DA Layer

Ritual Supercomputer

Model Storage

Ritual Supercomputer

Permanent Storage

Ritual Supercomputer

Restaking

Ritual Supercomputer

Ritual Coprocessor

Superchain Elements in Detail

Routers

Routers are being presented at tasks such as completion, chat, summarization, and web3 app embeddings. An incentive structure is in place to optimally route requests to Ritual nodes. Settings for service quality, privacy, computational integrity, and cost can be defined by the user.

Stateful Precompiles (SPCs)

In order to efficiently compute AI models, Ritual requires hyper-optimized operations for which SPCs (precompiles with state access) are used. Some SPCs can be implemented as composition of other SPCs (for finetuning & inference). Some SPCs will be capable of fully exploiting various types of parallelism while others are sequential by construction.

General Message Passing (GMP)

Compact, bi-directional General Message Passing transports are used to allow applications on any chain to access the Superchain’s execution functionality.

Portals

Portals use smart contracts to allow data evaluation on source chains before using the Ritual Superchain. In doing so, Portals minimizing the amount of data sent by optimizing for static analysis of AI model inputs.

Guardians

Guardians ensure that nodes have full control over the ingress and egress of model objects, allowing nodes to control what traffic and outputs are acceptable to execute.

Modular Stateful Precompiles

Seamless integration of SPCs into other VMs from the community is made possible through their special architecture.

Shared Sequencer

By abstracting sequencing from execution layers, Ritual allows transaction atomicity across layers. This functionality will be powered by a shared sequencer and pooled security.

DA Layer

Users are able to choose their preferred data availability layer thanks to Ritual’s modular design.

Model Storage

Data objects are first-class citizens in the Ritual Superchain (by using models). With its permissionless, censorship-resistant storage layer, Ritual allows nodes to dynamically on- & off-load ephemeral models.

Restaking

The security of the Ritual Superchain will be bootstrapped by  staked security from other chains (Ethereum Mainnet via Eigenlayer). Later on, organic security from within the own ecosystem will be used to a larger degree.

Permanent Storage

Some general purpose artifacts and metadata require persistent storage so that nodes can deterministically reconstruct the computation of models.

Go Back

Ritual Academy

Up Next