DOCS
Documentation
Getting Started
Core Concepts
API Reference
INSTALLATION
terminal
git clone https://github.com/OatsAIthedev/OatsAIcd OatsAIpip install -e .QUICK START
example.py
from oats import OatsEngine, TokenRiskSnapshot
engine = OatsEngine()
snap = TokenRiskSnapshot(
timestamp=1700000000.0,
top10_holder_pct=25.0,
liquidity_to_mcap=0.08,
contract_age_days=150.0,
transfer_pattern_score=70.0,
dev_wallet_pct=4.0,
)
result = engine.analyze(snap)
print(result.oats_index) # e.g. 74.5
print(result.grade) # e.g. SAFEDOCKER
docker
docker build -t oatsai .docker run --rm oatsaiGRADE CLASSIFICATION
| Grade | Index | Interpretation |
|---|---|---|
| PRISTINE | 80-100 | All metrics healthy, distributed supply |
| SAFE | 60-79 | Low risk overall, minor cautions |
| MODERATE | 40-59 | Mixed signals, verify before entering |
| RISKY | 20-39 | Multiple red flags present |
| CRITICAL | 0-19 | High probability of malicious design |