An autonomous AI agent that detects emerging narratives in the Solana ecosystem and generates actionable build ideas โ refreshed fortnightly.
SolSniff is an AI agent built for the Superteam Earn bounty that autonomously monitors the Solana ecosystem across multiple data sources, detects emerging narratives before they become obvious, and generates concrete, actionable product ideas tied to those narratives.
Unlike manual trend analysis or simple data dashboards, SolSniff uses Groq-powered LLM agents (Llama 3.3 70B) to synthesize signals from on-chain activity, developer behavior, social sentiment, and crypto news into coherent narratives with high signal-to-noise ratio.
๐ Live Tool: solsniff-vercel.vercel.app
SolSniff aggregates signals from 4 primary data streams, each designed to capture a different dimension of ecosystem activity:
Sources: Helius RPC, Public Solana RPC, DeFiLlama API
Signals Captured:
- Real-time TPS (transactions per second) and network health metrics
- Validator count and epoch progress
- SOL supply and staking metrics
- DeFi protocol TVL (Total Value Locked) โ tracks which protocols are gaining/losing capital
- Cross-chain TVL comparisons to identify narrative shifts (e.g., "Solana DeFi growth vs. Ethereum")
Why it matters: On-chain metrics reveal actual usage patterns. A sudden spike in program deployment addresses or TVL influx into specific protocols can signal emerging narratives like "Real-World Assets on Solana" or "Compressed NFT adoption."
Source: GitHub API
Signals Captured:
- Trending Solana repositories (by stars, forks, recent commits)
- Activity across core Solana organizations:
solana-labs/solana(core protocol)coral-xyz/anchor(development framework)metaplex-foundation/*(NFT infrastructure)jup-ag/*(Jupiter aggregator)orca-so/*,marinade-finance/*,drift-protocol/*, and more
- Newly created repositories with Solana-related topics
- Commit velocity and contributor growth
Why it matters: Developer activity is a leading indicator. If a new framework or tool repo suddenly gains 500+ stars in 2 weeks, it's a signal that builders are gravitating toward a new narrative (e.g., "Solana Mobile dApp explosion" when Saga tooling repos spiked).
Sources: LunarCrush API, CoinGecko API, Reddit API
Signals Captured:
- LunarCrush: Social volume, Galaxy Score (sentiment + engagement), alt rank
- CoinGecko: Trending coins/tokens in the Solana ecosystem, market cap trends
- Reddit: Hot posts from r/solana and r/solanadev, upvote velocity, comment engagement
Why it matters: Community sentiment often precedes mainstream adoption. A surge in Reddit discussions about "Solana NFT marketplaces" or Twitter buzz around a new DeFi protocol can identify narratives 1-2 weeks before they hit mainstream crypto media.
Sources: CryptoPanic API, CoinGecko community metrics
Signals Captured:
- Breaking news articles filtered by "Solana" keyword
- Article sentiment (positive/neutral/negative)
- News source authority (Coindesk, CoinTelegraph, Decrypt, etc.)
- Community growth metrics (Twitter follower changes, Reddit subscriber growth)
Why it matters: News coverage validates narratives. When multiple credible outlets cover the same topic (e.g., "Solana Breakpoint announcements"), it confirms a narrative is accelerating from "emerging" to "established."
SolSniff uses a two-stage AI pipeline to transform raw signals into ranked narratives and build ideas:
Each signal is automatically scored based on source-specific heuristics:
| Source | Scoring Algorithm |
|---|---|
| On-Chain | score = f(TPS deviation from mean, TVL % change, validator growth rate) |
| GitHub | score = f(star velocity, fork rate, commit frequency, org authority) |
| Social | score = f(engagement rate, sentiment polarity, volume spike, influencer mentions) |
| News | score = f(recency, source credibility, article sentiment, keyword density) |
Example:
- A GitHub repo gaining 300 stars in 7 days โ Score: 85
- A DeFi protocol TVL increasing 40% in 14 days โ Score: 78
- A Reddit post with 500+ upvotes in r/solana โ Score: 62
Signals below score 40 are filtered out to maintain high signal-to-noise ratio.
Narrative Detector Agent (Groq Llama 3.3 70B):
- Input: Top 50-100 signals (sorted by score) from all 4 sources
- Process:
- Identifies thematic clusters (e.g., multiple GitHub repos + social buzz + news articles all mentioning "Solana Mobile")
- Ranks narratives by cross-source validation (narratives with signals from 3+ sources rank higher)
- Assigns confidence score (0-100%) based on signal strength and diversity
- Classifies narrative status:
emerging|accelerating|established - Determines trend direction:
up|stable|down
- Output: 4-7 distinct narratives with explanations, tags, and supporting signals
Idea Generator Agent (Groq Llama 3.3 70B):
- Input: Each detected narrative + its supporting signals
- Process:
- Generates 3-5 product ideas grounded in the narrative context
- Each idea includes:
- Problem: What user pain point does this address?
- Solution: Concrete product concept
- Target Audience: Who would use this?
- Tech Stack: Required Solana programs, tools, APIs
- Feasibility:
high|medium|low - Potential Challenges: Implementation risks
- Output: 12-35 total build ideas (3-5 per narrative)
Here are sample narratives SolSniff has detected (outputs will vary based on live data):
Status: Accelerating | Confidence: 82% | Trend: โ Up
Explanation: DeFi protocols on Solana are experiencing significant TVL growth, with 40% increase across major protocols in Q1 2026. Developer activity shows new AMM designs and yield strategies being actively built. Social sentiment is positive, with influencers discussing Solana's speed advantage for high-frequency trading strategies.
Supporting Signals:
- DeFiLlama: Solana DeFi TVL +38% (14 days) โ Score: 91
- GitHub:
drift-protocol/v2repo +420 stars โ Score: 87 - LunarCrush: "Solana DeFi" mentions +65% โ Score: 74
- CryptoPanic: 12 articles on Solana derivatives โ Score: 68
Build Ideas Tied to This Narrative:
- Cross-Protocol Yield Optimizer (Feasibility: High)
- Auto-rebalances funds across Jupiter, Drift, and Marinade based on APY
- On-Chain Limit Order Book (Feasibility: Medium)
- Leverages Solana's speed for real-time matching engine
- DeFi Risk Dashboard (Feasibility: High)
- Monitors TVL flows, protocol risk scores, and exploits
Status: Emerging | Confidence: 71% | Trend: โ Up
Explanation: Multiple gaming studios are announcing Solana-native games, with SDK repos seeing 3x commit activity. Social discussions around compressed NFTs (cNFTs) for in-game assets are spiking. Saga mobile device is enabling mobile-first gaming experiences.
Supporting Signals:
- GitHub:
magicblock-labs/solana-unity-sdk+280 stars โ Score: 83 - Reddit: "Solana mobile gaming" post, 340 upvotes โ Score: 71
- On-Chain: cNFT minting volume +120% โ Score: 69
Build Ideas Tied to This Narrative:
- Gasless Gaming Wallet (Feasibility: High)
- Session keys + bundled transactions for seamless UX
- Cross-Game Asset Marketplace (Feasibility: Medium)
- Trade cNFT items across multiple Solana games
- Game Launcher + Discovery Platform (Feasibility: High)
- Aggregates all Solana games with on-chain achievements
Status: Emerging | Confidence: 68% | Trend: โ Up
Explanation: Developers are experimenting with autonomous AI agents that execute on-chain actions (token swaps, NFT purchases) based on LLM decisions. GitHub shows new agent framework repos. Social media has growing interest in "crypto AI agents."
Supporting Signals:
- GitHub:
solana-ai-agent/frameworkcreated (new repo) โ Score: 76 - Twitter: "Solana AI agent" mentions +90% โ Score: 72
- CryptoPanic: 8 articles on "AI agents trading crypto" โ Score: 64
Build Ideas Tied to This Narrative:
- AI Trading Bot Marketplace (Feasibility: Medium)
- Deploy pre-built or custom AI strategies on Solana DEXs
- Autonomous NFT Collector Agent (Feasibility: High)
- LLM evaluates NFT collections and auto-bids
- AI-Powered DAO Governance (Feasibility: Low)
- AI agents analyze proposals and vote based on member preferences
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SolSniff AI Agent โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ Data Layer โ โ AI Engine โ โ Frontend โ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ โ โ
โโ On-Chain โโ Groq LLM โโ Next.js 14
โโ GitHub โโ Narrative โโ React 18
โโ Social โ Detector โโ Lucide Icons
โโ News โโ Idea Generator โโ Custom CSS
โ
โโโโโโโโโดโโโโโโโโโ
โ Neon DB โ
โ (PostgreSQL) โ
โโโโโโโโโโโโโโโโโโ
Stack:
- Framework: Next.js 14 (App Router) โ Monolithic architecture for Vercel deployment
- AI/LLM: Groq SDK (Llama 3.3 70B Versatile) โ Fast inference, structured JSON output
- Database: Neon PostgreSQL โ Serverless, auto-scaling, edge-optimized
- ORM: Prisma v5 โ Type-safe queries, automatic migrations
- Deployment: Vercel (serverless functions with 300s timeout for analysis)
- Styling: Vanilla CSS โ Custom Solana-themed design system
Why Groq?
- Speed: 3-5x faster inference than OpenAI for comparable model size
- Structured Output: Native JSON mode ensures reliable narrative/idea extraction
- Cost-Effective: Lower cost-per-token for high-volume analysis
- Node.js 18+
- npm/pnpm/yarn
- Neon PostgreSQL database (or any PostgreSQL instance)
- API Keys (see below)
# LLM Provider
GROQ_API_KEY=your_groq_key_here # Get from: https://console.groq.com
# Data Sources
HELIUS_API_KEY=your_helius_key # Get from: https://helius.dev
GITHUB_TOKEN=your_github_pat # Get from: https://github.com/settings/tokens
LUNARCRUSH_API_KEY=your_lunar_key # Get from: https://lunarcrush.com/developers
# Database
DATABASE_URL=postgresql://user:pass@host/db?sslmode=require# Clone the repository
git clone https://github.com/Abhilash-0322/sol-sniff.git
cd sol-sniff/solsniff-vercel
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys
# Initialize database
npx prisma db push
# Run development server
npm run devVisit http://localhost:3000 to see the dashboard.
- Open the dashboard at
http://localhost:3000 - Click "Run Fresh Analysis" button
- Wait 30-90 seconds for the AI agent to:
- Collect signals from all 4 sources
- Detect narratives using Groq LLM
- Generate build ideas for each narrative
- Explore narratives, ideas, and signals in the UI
Note: Analysis results are cached in-memory and persisted to the database. The dashboard auto-loads from DB on page refresh.
solsniff-vercel/
โโโ app/
โ โโโ api/ # Next.js API routes
โ โ โโโ health/ # Health check endpoint
โ โ โโโ narratives/ # Narrative list + detail APIs
โ โ โโโ ideas/ # Build ideas API
โ โ โโโ signals/ # Signal feed API
โ โ โโโ analysis/status/ # Analysis status check
โ โ โโโ analyze/ # Trigger analysis (POST)
โ โโโ narratives/ # Narrative pages
โ โโโ ideas/ # Ideas page
โ โโโ signals/ # Signals feed page
โ โโโ about/ # Methodology documentation
โ โโโ layout.tsx # Root layout with navbar
โ โโโ page.tsx # Dashboard (home)
โ โโโ globals.css # Solana-themed design system
โโโ src/
โ โโโ lib/
โ โโโ types.ts # TypeScript types
โ โโโ config.ts # Environment config
โ โโโ db.ts # Prisma client
โ โโโ ai/ # AI agents
โ โ โโโ base-provider.ts
โ โ โโโ groq-provider.ts
โ โ โโโ narrative-detector.ts
โ โ โโโ idea-generator.ts
โ โโโ collectors/ # Data collectors
โ โ โโโ onchain-collector.ts
โ โ โโโ github-collector.ts
โ โ โโโ social-collector.ts
โ โ โโโ news-collector.ts
โ โโโ pipeline.ts # Analysis orchestrator
โ โโโ store.ts # In-memory cache + DB persistence
โโโ prisma/
โ โโโ schema.prisma # Database schema
โโโ package.json
โโโ tsconfig.json
โโโ README.md
model Signal {
id String @id @default(uuid())
source String // onchain | github | social | news
title String
description String
url String?
timestamp DateTime
score Int // 0-100
strength String // very_strong | strong | moderate | weak
metadata Json?
}
model Narrative {
id String @id @default(uuid())
title String
slug String @unique
description String
explanation String @db.Text
status String // emerging | accelerating | established
confidenceScore Int // 0-100
trendDirection String // up | down | stable
tags String[]
ideas BuildIdea[]
signals Signal[]
fortnightPeriod String
}
model BuildIdea {
id String @id @default(uuid())
narrativeId String
narrative Narrative @relation(...)
title String
category String
description String @db.Text
problem String @db.Text
solution String @db.Text
targetAudience String
feasibility String // high | medium | low
technicalRequirements String[]
potentialChallenges String[]
score Int // 0-100
}- 4 diverse data sources with source-specific scoring algorithms
- AI-powered clustering to eliminate noise and find coherent themes
- Cross-source validation โ narratives backed by 3+ sources rank higher
- Real-time + historical โ captures both sudden spikes and gradual trends
- AI synthesizes rather than just aggregates โ finds non-obvious connections
- Confidence scoring transparency โ know which narratives are strongest
- Trend tracking โ see which narratives are accelerating vs. declining
- Fortnightly refresh โ built for continuous narrative evolution
- 3-5 ideas per narrative with full context (problem/solution/audience)
- Technical requirements listed โ know what Solana programs you need
- Feasibility assessment โ realistic about build complexity
- Challenges identified โ honest about implementation risks
- Tied to signals โ every idea is grounded in real data
- No manual curation โ fully automated pipeline
- Switchable LLM providers โ Groq/OpenAI/Anthropic support
- Structured JSON output โ reliable, parseable agent responses
- Serverless-ready โ scales to zero, deploys instantly on Vercel
- Live demo at solsniff-vercel.vercel.app
- One-click analysis โ trigger from UI, wait ~60s for results
- Beautiful UI โ custom Solana-themed design with animations
- Open source โ full code on GitHub
If selected as a winner, we plan to:
- Add X (Twitter) API integration for real-time KOL signal tracking (Mert, Toly, Anatoly, etc.)
- Implement webhook alerts โ notify Discord/Telegram when new high-confidence narratives emerge
- Historical narrative tracking โ see how narratives evolved over multiple fortnights
- Community voting โ let users upvote/downvote detected narratives to improve AI
- Multi-language support โ detect narratives in global Solana communities
MIT License โ Open source and free to use.
Built for the Superteam Earn Solana Narrative Detection bounty.
Data Sources:
- Helius โ On-chain RPC
- DeFiLlama โ DeFi TVL data
- GitHub โ Developer activity
- LunarCrush โ Social signals
- CoinGecko โ Market data
- CryptoPanic โ Crypto news
AI Provider: Groq โ Lightning-fast LLM inference
Built with โก on Solana | Powered by AI Agents ๐ค
Live Tool: https://solsniff-vercel-c9lcjcpqx-abhilash-maruyas-projects.vercel.app
GitHub: https://github.com/Abhilash-0322/sol-sniff