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
contracts/ in this project).Watch the tour



Think
AI & inference
LLM chat, classical ML inference, and encrypted computation — on chain.
Show transcript
The Think page covers three ways a contract can reason. LLM Chat calls a hosted language model directly. Classical Inference runs a small O-N-N-X model synchronously, inline, in the same block — and on this site, that demo is backed by a real trained model, not a simulation. Fully Homomorphic Encryption inference computes directly on encrypted data inside a trusted execution environment, so not even the operator sees your input.
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.
cp .env.example .env # set PRIVATE_KEY
forge test
forge script script/Deploy.s.sol:DeployScript \
--rpc-url $RITUAL_RPC_URL --broadcastCall 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).
const data = encodeFunctionData({ abi, functionName, args });
await sendTransactionAsync({ to: address, data, gas: 500_000n });