Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A sophisticated LangGraph-based agent that automates financial options analysis with real-time data from Polygon.io, smart caching, persistent memory, and professional-grade analysis. Built for traders, analysts, and developers who need intelligent options data processing
| Date | Stars |
|---|---|
| 2026-07-31 | 638 |
| 2026-08-06 | 639 |
Today
+1 stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Financial Options Analysis Agent
A sophisticated AI-powered agent for real-time stock options data analysis, visualization, and intelligent caching. Built with LangChain, LangGraph, and ChromaDB for enterprise-level financial data processing.
**Author:** Leo Ji
**Version:** 1.0.0
**Last Updated:** December 2025
---
## 📋 Table of Contents
- [Overview](#overview)
- [Key Features](#key-features)
- [Architecture](#architecture)
- [Project Structure](#project-structure)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [API Reference](#api-reference)
- [Development](#development)
- [Evaluation & Testing](#evaluation--testing)
- [Troubleshooting](#troubleshooting)
---
## 🎯 Overview
The **Financial Options Analysis Agent** is an intelligent conversational AI system designed to:
- **Search & Retrieve**: Real-time options data from Polygon.io with smart caching
- **Analyze**: Professional-grade options analysis with sentiment detection and anomaly detection
- **Export**: Multiple export formats (CSV, Charts, Reports)
- **Learn**: Persistent memory across sessions with SQLite
- **Scale**: Microservice architecture with FastAPI integration
- **Evaluate**: Built-in A/B testing, skill ablation, and performance monitoring
The agent uses LangGraph for orchestration, maintains long-term conversation memory, and provides multiple tools for data analysis and visualization.
---
## ✨ Key Features
### 1. **Intelligent Data Caching**
- Automatic knowledge base lookup before API calls
- Smart hybrid storage (ChromaDB + SQLite)
- Manual refresh option with `force_refresh=True`
- Reduces API usage and improves response time
### 2. **Persistent Memory**
- SQLite-based conversation history
- Multi-session continuity
- Remembers previous searches and preferences
- Survives program restarts
### 3. **Professional Analysis Tools**
- Options chain analysis with Greeks
- Sentiment analysis on options positioning
- Anomaly detection using vector similarity
- Comparative analysis across multiple tickers
### 4. **Flexible Export Options**
- Standard CSV export
- Custom CSV generation with code execution
- PNG chart visualization
- Professional reports in multiple formats
### 5. **RAG (Retrieval-Augmented Generation)**
- Knowledge base integration
- Semantic search on historical data
- Date range collection
- Automatic watchlist updates
### 6. **Performance Monitoring**
- Token usage tracking
- Tool execution metrics
- Query performance statistics
- A/B testing evaluators
### 7. **Microservice Integration**
- FastAPI endpoints for all tools
- Docker support
- RESTful API interface
- Easy scalability
---
## 🏗️ Architecture
### System Design
```
┌─────────────────────────────────────────────────────────────────┐
│ User Interface │
│ (CLI / API / Integration) │
└──────────────────────────┬──────────────────────────────────────┘
│
┌──────────────────────────▼──────────────────────────────────────┐
│ LangGraph Agent │
│ ┌─────────────┐ ┌──────────┐ ┌──────────────────┐ │
│ │ Chatbot │◄──►│ Tools │◄──►│ LLM (GPT-4o) │ │
│ │ Node │ │ Node │ │ │ │
│ └─────────────┘ └──────────┘ └──────────────────┘ │
└──────────────────────────┬──────────────────────────────────────┘
│
┌──────────────────┼──────────────────┬───────────────┐
│ │ │ │
┌───────▼────────┐ ┌──────▼──────┐ ┌──────▼─────┐ ┌──────▼──────┐
│ Tool Suite │ │ Memory/State│ │ RAG KB │ │ Monitoring │
│ - Search │ │ - SQLite │ │ -ChromaDB │ │ - Metrics │
│ - Export │ │ - Session │ │ -SQLite │ │ - Tracking │
│ - Analysis │ │ - History │ │ -Embeddings│ │ - A/B Test │
│ Excerpt of 26,055 characters
Read on GitHubLeo Ji · United States
7
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:a4c039890a6e216e, topic:langgraph