Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

🛡️ Sentinel — AI-Powered Autonomous Trading Agents on Monad

Monad Blitz Hackathon Submission

Sentinel is an autonomous trading agent platform that monitors real-time crypto news from 14+ Telegram channels, analyzes sentiment using Claude AI, and executes trades on Pingu Exchange (Monad mainnet perpetual DEX).

Architecture

Telegram Channels (14) + Tree of Alpha
        ↓ polling (30s)
   Telegram Scraper (t.me/s/ web preview)
        ↓ raw messages
   Claude AI Sentiment Analyzer
        ↓ sentiment + tokens + signals + categories
   News Engine (orchestrator)
        ↓ SSE broadcast + auto-trade matching
   ┌─────────────┬──────────────────┐
   │             │                  │
 Live Feed   Vault Agent     Telegram Bot
 (frontend)  (auto-trades)   (remote control)
   │             │                  │
   └─────────── Pingu Exchange ────┘
            (Monad mainnet perps)

Features

  • Real-time News Feed — SSE-powered live stream from 14 crypto Telegram channels + Tree of Alpha
  • AI Sentiment Analysis — Claude classifies news as Bullish/Bearish/Neutral with confidence scoring
  • Quick Trade from News — Click any token pill on a news card to open an inline trade panel
  • Autonomous Vaults — Configure trading bots that auto-execute based on AI signals
  • Stop Loss / Take Profit — Calculates absolute prices from % distance, submitted to Pingu
  • Telegram Bot — /status, /vaults, /positions, /pnl, /news — remote control your agents
  • Privy Wallet Integration — Account abstraction, embedded wallets, Monad mainnet

Tech Stack

  • Frontend: Next.js 14 (App Router), Tailwind CSS, Framer Motion
  • Wallet: Privy (account abstraction + embedded wallets)
  • AI: Anthropic Claude API (sentiment analysis + trade decisions)
  • DEX: Pingu Exchange (Monad mainnet perpetual DEX, Pyth oracles)
  • Data: Telegram channel scraping, Tree of Alpha feed
  • Bot: Telegram Bot API (alerts, hourly reports, vault control)

API Endpoints

Endpoint Method Description
/api/news/stream GET (SSE) Real-time news stream
/api/trade/execute POST Build trade tx with SL/TP
/api/vault/register POST Register vault for auto-trading
/api/positions GET Read positions from Pingu
/api/engine/stats GET Engine metrics
/api/bot/webhook POST/GET Telegram bot webhook

Quick Start

npm install
cp .env.local.example .env.local
# Fill in: ANTHROPIC_API_KEY, TELEGRAM_BOT_TOKEN, NEXT_PUBLIC_PRIVY_APP_ID
npm run dev

News Sources

14 Telegram channels monitored: The Block, Shoal Research, Leviathan News, DL News, NinjaNews TR, Shoal Wire, Unfolded DeFi, Zoomerfied News, ML on Chain, BWE News, Phoenix News, Modularity News, Tree News Feed, Bread & Butter Daily + Tree of Alpha feed.

Trading Flow

  1. News arrives from Telegram → AI analyzes sentiment & extracts tokens
  2. Manual: User clicks token pill → Quick Trade panel → sets size/leverage/SL/TP → executes on Pingu
  3. Auto: Vault agent detects high-confidence signal → AI validates → executes trade → sends Telegram alert

Stop Loss / Take Profit

  • Fetches current market price from CoinGecko
  • Long SL = entry × (1 - sl%/100), Long TP = entry × (1 + tp%/100)
  • Short SL = entry × (1 + sl%/100), Short TP = entry × (1 - tp%/100)
  • Absolute prices submitted to Pingu's submitOrder(orderParams, tpPrice, slPrice)

Pingu Exchange Integration

Pingu is a fully on-chain perpetual DEX on Monad powered by Pyth oracles. Supports up to 100x leverage, coin-margined positions (MON or USDC), and native SL/TP on order submission.


Built with ☕ for Monad Blitz Hackathon 2026

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages