The audit tool that remembers.

$pip install onchor-ai

A Solidity security copilot with persistent collective memory. Cross-references your code against thousands of past audits and anchors every confirmed finding onchain.

try the playground ↓
live · interactive

Try it in your browser

# the same shell you get with onchor-ai. type help.

onchor-ai
   ____             __                     ___    ____
  / __ \____  _____/ /_  ____  _____      /   |  /  _/
 / / / / __ \/ ___/ __ \/ __ \/ ___/_____/ /| |  / /  
/ /_/ / / / / /__/ / / / /_/ / /  /_____/ ___ |_/ /   
\____/_/ /_/\___/_/ /_/\____/_/        /_/  |_/___/   
 
Solidity Security Copilot · Persistent Collective Memory
# type `help` to list available commands
 
Quick:
architecture

How it works

Target Resolutionphase.0

Detects address or local source. Identifies forks (Uniswap, Euler, OZ) and automatically reduces scope to custom diffs only.

Semantic Inventoryphase.1

Cognee structural parsing. Indexes the 0G library to retrieve past hacks and relevant security patterns for the specific codebase.

Static Analysisphase.2

Slither deep scan. Runs 89+ deterministic detectors to provide high-precision raw signals and data-flow graphs for the AI agent.

Cost-Gate Triagephase.3

GPT-4o-mini scoring. Rapidly assesses each file (0–10). A score below 3 halts the pipeline instantly with a SAFE verdict.

Adversarial Agentphase.4

Sonnet 4.5 investigation. An autonomous LLM agent with 7 security tools and 30-turn recursion for deep vulnerability discovery.

core execution
Onchain Anchorphase.5

Immutable Notarization. Confirmed findings are anchored to 0G Storage and notarized onchain via KeeperHub direct execution.

Final Reportphase.6

Verified Proof. Generates enriched JSON reports with fix sketches and historical refs, plus a minted ENS audit certificate.

built with

Modern primitives

KeeperHub::Onchain anchoring notary
0G Storage::Decentralized pattern storage
ENS::Audit certificate registry
KeeperHub::Onchain anchoring notary
0G Storage::Decentralized pattern storage
ENS::Audit certificate registry
KeeperHub::Onchain anchoring notary
0G Storage::Decentralized pattern storage
ENS::Audit certificate registry
KeeperHub::Onchain anchoring notary
0G Storage::Decentralized pattern storage
ENS::Audit certificate registry
x402::HTTP-native USDC payments
Cognee::Tridimensional memory
OpenAI & Anthropic::gpt-4o-mini & claude-sonnet
x402::HTTP-native USDC payments
Cognee::Tridimensional memory
OpenAI & Anthropic::gpt-4o-mini & claude-sonnet
x402::HTTP-native USDC payments
Cognee::Tridimensional memory
OpenAI & Anthropic::gpt-4o-mini & claude-sonnet
x402::HTTP-native USDC payments
Cognee::Tridimensional memory
OpenAI & Anthropic::gpt-4o-mini & claude-sonnet
onchor-ai pricing
x402 · base-sepolia

Simple pricing

# pay per use via HTTP-native USDC. no API keys required.

$0.50
≤ 3 files
Simple ERC20
$1.00
≤ 10 files
Vault + Router
$2.00
≤ 30 files
Full DeFi protocol
$4.00
> 30 files
Uniswap v4 scale