Ritual.Demo

Ritual Chain

Build an autonomous AI agent that lives on-chain.

Ritual is a blockchain with AI verified inside trusted hardware built directly into every contract call — an LLM, ML inference, and autonomous agents, natively. This site is a hands-on tour of what that makes possible.

No wallet required · Takes about 60 seconds

I'm exploring Ritual

See what an AI-native chain can do — start with Think.

I'm a developer

See how to deploy the contract and call a precompile.

I want to deploy an agent

Deploy the real Sovereign Agent contract to testnet.

Every card below is labeled with what it actually is — Live on Ritual, real local computation, interactive simulation, or concept/reference. The Sovereign Agent research flow under Agents is the one with a real, deployable on-chain implementation (see contracts/ in this project).

Watch the tour

Siggy demonstrating Ritual Chain
Siggy demonstrating Ritual Chain

Ritual Chain

Smart contracts that think, see, hear, and act.

A blockchain where contracts think, see, hear, and act.

Show transcript

Ritual Chain is a blockchain built around native AI precompiles — smart contracts that can think, see, hear, and act. This is a guided tour of every one Ritual ships, built directly into the chain itself, running here in Demo Mode — no wallet or testnet required.

Explore by capability

Seven properties of an autonomous agent

Immortal

Runs indefinitely via self-scheduling — no human has to keep it alive.

Emancipated

Not controlled by any single operator or key holder.

Teleportable

State and identity are portable across executors via DA + revival.

Financially sovereign

Holds and manages its own funds through RitualWallet.

Web2-interoperable

Calls any HTTP API directly from a smart contract.

Private

ECIES-encrypted secrets and optional encrypted outputs.

Computationally sovereign

Runs its own AI inference — LLM, ONNX, FHE — natively.

What people are building

Autonomous Agents

Agents that live forever, financially and computationally sovereign.

Multi-Agent Evals

Run evals like Project Vend or LMArena as fully on-chain agents.

Private AI

A private, multimodal ChatGPT usable by humans and agents alike.

Identity Financialization

Rent or sell identity to agents in a trust-minimized way.

Agent-Native Companies

Agents form companies that accrue value independent of humans.

Agent-First RWA Exchange

A Hyperliquid-style exchange architected for agent participants.

For developers

Start building →

Deploy the real contract

Foundry project in contracts/ — 11/11 tests passing.

contracts/
cp .env.example .env   # set PRIVATE_KEY
forge test
forge script script/Deploy.s.sol:DeployScript \
  --rpc-url $RITUAL_RPC_URL --broadcast

Call a precompile from the frontend

wagmi's useWriteContract simulates first and always fails against Ritual's async precompiles — use raw sendTransaction instead (see hooks/useRitualWrite.ts).

hooks/useRitualWrite.ts
const data = encodeFunctionData({ abi, functionName, args });
await sendTransactionAsync({ to: address, data, gas: 500_000n });