RAXION is a Sovereign SVM Rollup on Solana focused on one core goal: replace subjective human judgment in decentralized AI with cryptographic verification of inference quality.
Instead of "who voted for this output?", RAXION asks "can this output's quality be mathematically verified?".
Most decentralized AI systems still rely on human validators and token-weighted opinion. RAXION introduces Proof of Inference Quality (PoIQ) to make inference quality verifiable and deterministic.
The protocol is organized in three layers:
Layer 1: Statistical ConvergenceMeasures epistemic agreement across three architecture classes:
- Transformer
- SSM (State-Space Model)
- Neuro-Symbolic
Core score:
CoherenceScore = 0.4 × CS_semantic + 0.6 × CC
-
Layer 2: Stochastic VerificationDeterministic challenge selection for a subset of inferences. -
Layer 3: SlashingProgressive penalties for chronic divergence and low-quality behavior.
Finality target (Cognitive Finality) requires zk execution/quality verification plus minimum coherence threshold.
Current phase: Phase 1 — Devnet (Q2 2026), with Q1 foundations preserved.
Q2 scope in this repository now includes:
- Runtime cognitive extensions (
runtime/cognitive) - Anchor PoIQ devnet program (
programs/raxion-poiq) - RISC0 embedding commitment path (
proofs/) - SDK and reference agents (
sdk/agent) - Devnet explorer (
apps/explorer)
Q2 Devnet semantics currently enforced:
- Trigger 1 slashing (
score < 0.30) is event-only in Devnet. is_finaldepends on challenge lifecycle, not score alone.- Deterministic challenge generation is on-chain.
Requirements:
- Python
3.11+ uv(install guide)
uv venv --python 3.11 .venv
source .venv/bin/activate
uv pip sync poc/requirements-dev.txtRun deterministic local benchmark (no external model provider):
uv run poc/run_poc.py --provider mock --n 10 --output poc/benchmarks/results_q1.jsonRun with OpenRouter models:
export OPENROUTER_API_KEY="sk-or-..."
uv run poc/run_poc.py --provider openrouter --query "Explain the Oracle Problem in blockchain"poc/: Phase 0 Python validation codeproofs/: RISC Zero guest/host scaffoldingruntime/cognitive/: RAXION runtime extensions (Agave base is fetched on demand)programs/raxion-poiq/: Anchor PoIQ program for Devnetsdk/agent/: Rust SDK and reference agentsapps/explorer/: Next.js Devnet explorerapps/site/: static websiteops/docker/: pinned container toolchain for Anchor/Solana workflowsops/config/deploy/: deploy environment templatesWHITEPAPER.md: protocol whitepaper (v0.4 source at repository root)docs/whitepaper/: auxiliary whitepaper assetsdocs/yellowpaper/: formal protocol proofs (work in progress)AGENTS.md: core protocol context for contributors and agentsMEMORY.md: project decisions, parameters, and execution notesdocs/REPO_MAP.md: navigability map and ownership by area
Core protocol: BUSL 1.1, change date 2030-02-20 to MIT.
SDKs and developer tooling: Apache 2.0.
If local macOS toolchains fail to compile Anchor/Solana binaries, use the pinned Docker flow:
./scripts/docker_anchor_shell.sh
./scripts/docker_deploy_poiq_devnet.shImage definition:
ops/docker/anchor-devnet/Dockerfilescripts/apply_rust_toolchain_patches.sh(applies minimal local registry patches for SBF cargo compatibility)
Safe deploy config template:
ops/config/deploy/devnet.env.example
Agave runtime bootstrap (pinned upstream commit):
./scripts/fetch_agave.sh