MarketIntell

Specialists

The 26 specialists across stocks, options, and crypto — and how they run as composite tools

Specialists

MarketIntell uses a single Mastra agent equipped with specialist composite tools. Each tool encapsulates deep domain expertise and fetches data from multiple providers in parallel. Depending on the query classification, one or more specialist tools are activated to produce the data that feeds the final synthesized response.

The system carries 26 specialists across two public domains — crypto and US equities (which covers both stocks and options) — drawing on 27+ external services. The eight headline specialist domains below group those specialists into the conceptual buckets the API surfaces in specialists_used.

Architecture Note: Earlier versions used independent specialist agents running in parallel. The current architecture uses a single brain agent (built on Mastra) with composite tools. This improves coordination, reduces latency, and enables the agent to dynamically decide which tools to call based on the conversation context.

The Eight Specialist Domains

Price Movement (Technical)

Focus: Price action, chart patterns, indicators, and market structure.

What it analyzes:

  • Support and resistance levels
  • Moving averages (20, 50, 100, 200-day)
  • RSI, MACD, Bollinger Bands, OBV
  • Chart patterns (head & shoulders, triangles, flags)
  • Volume profile and trend strength
  • Fibonacci retracements and extensions

Data sources: CoinGecko (price/volume), Binance (OHLCV), technical analysis engine


Microstructure (Derivatives)

Focus: Derivatives data, funding rates, open interest, liquidations, and positioning.

What it analyzes:

  • Funding rates across all major exchanges
  • Open interest (aggregated and per-exchange)
  • Liquidation heatmaps and squeeze risk
  • Long/short ratios
  • Taker buy/sell volumes
  • Options flow and max pain levels

Data sources: CoinGlass (derivatives, OI, funding), options data


Fundamentals

Focus: On-chain metrics, protocol health, tokenomics, and real usage data.

What it analyzes:

  • Total Value Locked (TVL) and TVL trends
  • Protocol revenue and fee generation
  • Stablecoin flows and supply dynamics
  • DEX volumes and market share
  • Token supply dynamics (inflation, burns, unlocks)

Data sources: DefiLlama (TVL/revenue/fees), CoinGecko (supply data), Messari (risk metrics)


Market State

Focus: Overall market regime and rotation dynamics.

What it analyzes:

  • Fear and Greed Index
  • BTC dominance trends
  • Altcoin season indicators
  • Market regime classification (accumulation, markup, distribution, decline)
  • Sector rotation patterns

Data sources: CoinGecko (global data), CoinGlass (altcoin season), market indicators


Macro

Focus: Macroeconomic factors and their impact on crypto markets.

What it analyzes:

  • Federal Reserve policy and interest rates
  • US Dollar Index (DXY) correlation
  • Bond yields and yield curve
  • Global liquidity metrics
  • Equity market correlation (S&P 500, Nasdaq)
  • Inflation and labor market data

Data sources: Yahoo Finance (equities/rates), Massive (macro data), treasury/forex feeds


Social Sentiment

Focus: Market psychology, social media trends, and crowd behavior.

What it analyzes:

  • Social media volume and engagement metrics
  • Sentiment scores (bullish/bearish ratio)
  • KOL (Key Opinion Leader) activity tracking
  • Galaxy Score (combined social + market metric)
  • Breaking news and narrative momentum

Data sources: LunarCrush (social metrics), X/Twitter (real-time sentiment), Grok (KOL analysis), Exa (news search)


Polymarket

Focus: Prediction market data and event-driven analysis.

What it analyzes:

  • Trending prediction market bets
  • Crypto-specific market odds
  • Fed/FOMC related betting markets
  • Event resolution tracking
  • Sentiment proxy via betting flows

Data sources: Polymarket (prediction markets)


Smart Money

Focus: Whale tracking, institutional flows, and accumulation/distribution patterns.

What it analyzes:

  • Smart money wallet movements
  • Institutional flow analysis
  • Accumulation and distribution patterns
  • Token flow analysis (exchange in/out)
  • Wallet labeling (funds, whales, smart money)

Data sources: Nansen (on-chain analytics, smart money labels)


How Specialists Work

The brain agent is a single Mastra Agent with all specialist tools registered. Here's how a query flows through the system:

1. Classification

The query is classified to determine which specialist domains are relevant. The classifier selects 1–5 specialist domains from the pool of 8 (which in turn surface up to 26 underlying specialists across the active domain plugin).

2. Tool Execution

The brain agent calls the relevant composite tools. Each composite tool fetches data from multiple providers in parallel — for example, tokenDeepDive pulls from CoinGecko, Binance, DexScreener, LunarCrush, and more simultaneously.

3. Synthesis

The agent synthesizes findings from all tool outputs into a coherent response. When data from different domains conflicts, the response explicitly acknowledges the tension.

4. Correlation

The Correlation Engine evaluates cross-domain signal alignment and produces an alignment score and sizing multiplier.

Specialist Selection

The number of specialists activated depends on query complexity:

Query TypeTypical SpecialistsCount
"BTC price analysis"Price Movement1
"ETH funding rates"Microstructure1
"Is SOL a good trade?"Price Movement, Microstructure, Fundamentals, Macro4
"Full market overview"Price Movement, Market State, Macro3
"What are whales doing?"Smart Money1
"How will Fed rates affect BTC?"Macro, Market State2

More specialists provide deeper analysis but increase latency. The classifier balances thoroughness with speed based on query complexity.

On this page