How They Work Together
Zonein’s core components form a vertically integrated stack: from raw on-chain data ingestion to composite signal processing to autonomous agent execution. User surfaces (AI Dashboard, Position Graphs, Telegram Bot) sit on a shared intelligence layer (Signal Fusion Engine, Smart Money Telemetry, Similarity & Mispricing Detection) and a common real-time data pipeline. On-chain orderbook data from Hyperliquid and Polymarket enters once through collectors, is validated and stored, then fused with technical analysis and derivatives flow into composite trading signals. Those signals power every surface consistently: a chart in the dashboard, a graph node in the Position Graph, a trade plan from an agent, and an API response to an external AI assistant all draw from the same truth.MCP API Server
The backbone of the platform. A FastAPI application running atmcp.zonein.xyz that serves as the unified gateway for all data access and agent management. It exposes seven route groups:
- Agent routes: Full CRUD lifecycle for trading agents, vault management (deposit/fund/withdraw), manual order placement, trade plan management (HITL), and performance statistics.
- Backtest routes: Run historical simulations against cached signals and real OHLC prices, list past backtests, and serve interactive dashboard pages with equity curves, trade markers, and daily PnL charts.
Signal Fusion Engine
The mathematical core of the platform. It ingests raw data from multiple independent sources and produces a single directional conviction score per asset — designed to surface opportunities where smart money behavior, technical structure, and derivatives flow all converge. Each source produces an independent conviction score. The fusion engine combines them with adaptive weighting — configurable per agent and per strategy, so a scalping agent can weight short-timeframe TA heavily while a whale-following agent emphasizes smart money consensus. Confidence increases when multiple independent sources converge on the same direction; it decreases when they diverge, signaling caution.Smart Money Telemetry
The backbone of ZoneIn’s alpha generation. The smart money engine continuously profiles and tracks the highest-conviction wallets on Hyperliquid — a growing set of addresses selected by realized performance, not self-reported claims. Each wallet is characterized by realized PnL, win rate, hold duration, venue preference, leverage patterns, and behavioral fingerprints, then classified into behavioral clusters that expand as new trading patterns emerge. For each tracked asset, the engine computes multi-timeframe directional consensus: how many wallets are long vs short, what USD volume is behind each direction, and how that consensus has shifted over time. When multiple high-credibility wallets align on the same direction — especially across timeframes — that’s institutional-grade signal. For full detail on behavioral profiling, credibility scoring, cluster detection, and per-asset-type signal depth, see Smart Money Analytics.Similarity Engines
Three dedicated engines compute position similarity between traders using cosine similarity over position vectors — PM (prediction market outcomes), Perp (perpetual futures direction), and Spot (token holdings). Each engine builds pairwise similarity graphs, runs community detection, and identifies consensus positions within each cluster. These engines power the visual clustering in Position Graphs and the programmatic similarity queries in the API. For full detail, see Smart Money Analytics — Similarity & Cluster Detection.Trader Style Analyzer
A comprehensive profiling system that characterizes trading behavior across multiple dimensions — risk profile, timing intelligence, market selection, performance decomposition, and automated style classification. Scoring uses a multi-factor formula that weighs realized ROI, win rate, profit factor, consistency, volume, trade frequency, and hold patterns — ensuring that high scores reflect sustained edge, not lucky streaks. For the full breakdown of profiling dimensions, see Smart Money Analytics — Behavioral Analysis.Agent Framework
A domain-agnostic framework for building autonomous agents that supports multiple paradigms:- Core Abstractions:
BaseAgent,Observation(universal input),Action,Policy,Environment,AgentRunner - Policy Types: LLM, Rule, RL (reinforcement learning), Ensemble (weighted combination), and Hybrid (LLM + rule constraints)
- LLM Integration: OpenAI, Anthropic, DeepSeek, and custom providers
- Storage: MongoDB persistence for agent state, trade history, and configuration
- Plugins: Domain-specific extensions (trading plugin for Hyperliquid)
- Continuous Learning: Daily feedback loop analyzes every closed trade, detects recurring failure patterns, enriches LLM prompt context with past outcomes, and surfaces threshold-tuning recommendations — agents get smarter with every trade
Telegram Integration
The Telegram bot provides trade notifications (auto agents) and HITL trade plan approval (inline Approve/Reject/Detail buttons — zero delay, zero LLM cost). Setup requires only a bot token from @BotFather; the system auto-detects the user’s chat ID on/start.
For the full setup flow, sequence diagram, and approval options, see MCP API — Telegram Bot.
Security & Trust
- Non‑custodial: Agent vaults are user‑controlled — the platform cannot access your funds
- View‑only analysis: Private keys are never requested; all data comes from public on‑chain sources
- Financial safety: All financial commands require explicit
--confirmbefore execution - Encrypted transport: HTTPS end to end; API key authentication on all protected endpoints
Future Endgame
ZoneIn is building toward a future where on-chain intelligence and agentic execution are indistinguishable — where signal, intent, and action collapse into a single loop:- ERC-8004 & x402: Verifiable on-chain agent reputation and pay-per-request micropayments for premium data — detailed in MCP API — Web3 Trust & Payments
- RL-Based & Hybrid Policies: The framework already supports Gym-compatible environments and ensemble policies — future agents will learn from market feedback loops
- Expanded Venue Coverage: Beyond Hyperliquid and Polymarket to new on-chain venues as they capture volume
- Strategy Marketplace: A curated ecosystem where agent configurations can be shared, backtested, and deployed — with verifiable performance on-chain

