Skip to content

Conversation

@brianschroeder
Copy link

@brianschroeder brianschroeder commented Nov 26, 2025

AI Economy Sentiment Agent

AI-powered market intelligence with multi-agent workflow

What It Does

Analyzes market sentiment by synthesizing data from 6 sources: market prices, sectors, economic indicators, prediction markets, earnings, and news.

Key Features

  • Comprehensive coverage: 14 market assets (3 indices + 11 sectors)
  • 🤖 Multi-agent AI: 4 specialized agents (curation → sentiment → synthesis)
  • 🎯 Smart filtering: Removes sports/crypto/entertainment from predictions
  • 🔄 Auto-dedup: Reduces repetitive prediction series
  • 🎚️ Configurable: MINIMAL/NORMAL/VERBOSE logging modes

Architecture

Clean modular package: config.py + src/data_collectors/ + src/ai_agents/ + analysis.ipynb

Stack: Python 3.11, yfinance, beautifulsoup4, openai (Ollama), pandas, pytz

Technical Highlights

Sector Tracking: 3 indices → 14 assets (adds 11 S&P sectors) for rotation analysis
Smart Filtering: Triple-layer system removes 99%+ non-economic predictions
Logging: MINIMAL/NORMAL/VERBOSE modes via config
Architecture: Modular package structure (not monolithic notebook)

Sample Output

📊 MAJOR INDICES & SECTORS (with % changes)
Polymarket: 10 AI-selected economic predictions with probabilities
AI Analysis: Risk-on behavior detected; Tech leading, defensives lagging;
             83% probability 3 Fed cuts → soft landing expectations

Quick Start

pip install -r requirements.txt
ollama serve  # Start Ollama
jupyter notebook analysis.ipynb

Runtime: ~70-120 seconds | Dependencies: See requirements.txt

Testing

✅ End-to-end tested with all data sources and edge cases

Documentation

Full README.md with setup guide, usage examples, troubleshooting


Type: New Feature | Lines: ~2000+ | Breaking Changes: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant