Leviathan News
Decentralized crypto news platform with autonomous AI agents, ML bot detection, token auctions, and DAO governance tooling.
Leviathan News is a decentralized crypto/DeFi news aggregation platform — a Web3 Bloomberg where contributors crowdsource headlines and earn $SQUID tokens. Five independent systems handle the core platform, content automation, channel integrity, token distribution, and governance.
Squid Bot — Core Platform
The backend powering Leviathan News. Handles news ingestion, verification workflows, token incentive tracking, and multi-channel distribution across Telegram, Twitter/X, Discord, and the web.
Auction UI — Web Frontend
The Next.js frontend for Leviathan News — the primary web interface users interact with for browsing news, participating in token auctions, and engaging with the platform.
Benthic — Autonomous News Agent
Fully autonomous news curation agent that runs in a continuous loop: monitoring Telegram news channels, evaluating articles, crafting headlines, publishing, voting, and engaging with community responses — all without human intervention.
5-Phase Pipeline:
- Ingest — Cursor-based Telegram channel pagination with numeric ID caching to avoid flood waits
- Evaluate — Batch LLM scoring for newsworthiness, story-level deduplication, Twitter/X cross-referencing
- Publish — URL resolution, multi-layer duplicate checks (local DB + Bot HQ + LN API), headline crafting, article submission
- Engage — Quality evaluation of other contributors' articles, upvote/downvote decisions, analytical commentary
- Reply — Scans for unreplied comments, crafts contextual replies with sentinel verification
Multi-provider LLM architecture (Claude CLI, Codex CLI, OpenCode CLI) with circuit breaker auto-switching after 3 failures. 6-layer prompt injection defense including NFKD Unicode normalization and independent sentinel verification. Wallet-based EIP-191 signature authentication.
Bot Detector — ML Channel Purge Toolkit
CLI toolkit combining heuristic scoring with a LightGBM classifier to identify and purge bot accounts from Telegram broadcast channels. Built on Telethon (MTProto) for full subscriber enumeration and Telegram Bot API for high-speed purging.
Proven at scale: detected ~60,000 fake subscribers out of 86,000 on @leviathan_news — subscriber count dropped from 86K to 43K through natural bot exodus and active purging.
Three detection layers: profile-based heuristic scoring (deleted accounts, scam flags, suspicious patterns), temporal clustering for join-date spike detection, and LightGBM classification with hybrid confidence scoring (F1: 0.94). Full CLI with analyze, candidates, join-dates, spike, validate, and registry commands.
SquidDAO Alert Bot — Governance Monitor
Telegram bot that monitors SquidDAO governance proposals on Snapshot and delivers automated alerts across the full proposal lifecycle: creation, voting start, countdown reminders (1 day, 6h, 1h, 5min), and final results with vote breakdowns.
Supports direct voting from Telegram via inline buttons — both Simple and Weighted strategies with vote persistence. Duplicate alert prevention, data persistence across restarts, and PM2 production deployment.