Sol Onchain Analyst banner
affaan-m affaan-m

Sol Onchain Analyst

Data community

Description

Current working version of the Data Aggregator + Analyst agent in one solution via the CLI

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

A decentralized AI trading agent platform on Solana, leveraging RIG for LLM interactions and MongoDB for vector storage.

Token Filter Pipeline

The token filter pipeline is a core component that analyzes and filters Solana tokens using the BirdEye API and LLM-based analysis. The pipeline consists of five stages:

  1. BirdEye Filter Selection: Intelligent selection of filtering parameters using LLM
  2. Token List Retrieval: Fetching and filtering tokens from BirdEye API
  3. Market Analysis: Deep analysis of market metrics and trading patterns
  4. Metadata Analysis: Evaluation of social signals and development metrics
  5. Final Filtering & Storage: Storage of filtered tokens with comprehensive analysis

Features

  • Fully automated token analysis and filtering
  • Integration with BirdEye API for real-time market data
  • MongoDB storage for token recommendations
  • LLM-powered market analysis and risk assessment
  • Comprehensive scoring system for token evaluation

Technical Stack

  • Language: Rust
  • APIs: BirdEye API (Solana)
  • Database: MongoDB
  • LLM Integration: RIG with O1-MINI model
  • Data Storage: Vector storage for token analysis

Getting Started

  1. Clone the repository
  2. Install dependencies:
    cargo build
  3. Set up environment variables:
    BIRDEYE_API_KEY=your_api_key
    OPENAI_API_KEY=your_api_key
    MONGODB_URI=your_mongodb_uri
  4. Run the token filter example:
    cargo run --example token_filter

Pipeline Configuration

The token filter pipeline can be configured through:

  • BirdEye API parameters in src/prompts/token_filter_initial.txt
  • MongoDB collection settings in src/services/token_filter.rs
  • LLM model selection in environment variables

Data Structures

  • BirdeyeFilters: API query parameters
  • TokenAnalysis: Token evaluation data
  • FilterResponse: Analysis results
  • FilterSummary: Market statistics

Next Steps

  • [ ]