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


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
Think
→AI & inference
LLM chat, classical ML inference, and computation on encrypted tensors — all settled on-chain.
See · Hear · Act
→Real-world compute & multimodal generation
Reach out to the live internet, and generate images, audio, and video — with TEE attestation.
Autonomous Agents
→Agents that live on-chain
One-shot research jobs and long-lived, revivable agents with memory and identity.
Remember
→Scheduling & identity
Recurring self-invocation and deterministic key derivation for agent identity.
Authenticate
→Signatures & identity
Passkey-native transactions and signature verification for Solana, SSH, and DKIM.
Keep Secrets
→Privacy & keys
ECIES-encrypted API keys, template substitution, PII redaction, and pay-per-call APIs.
RitualWallet & Job Lifecycle
→Fee escrow & async tracking
How every precompile call is funded, and the 9-state lifecycle every async job passes through from submission to settlement.
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 });