Skip to content

SuperDataScience-Community-Projects/SDS-CP044-finresearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

140 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to the SuperDataScience Community Project!

Welcome to the FinResearch AI: Automated Financial Market Intelligence with Multi-Agent Systems repository! πŸŽ‰

This project is a collaborative initiative brought to you by SuperDataScience, a global learning community focused on data science, machine learning, and AI. Whether you're starting with Agentic AI or ready to build a full multi-agent financial research system, we're excited to have you on board!

This project follows the standard SDS structure and learning philosophy found in previous projects such as ScholarAI , MLPayGrade , and SpineScope β€” but extends them into the world of financial data analysis, market intelligence, and AI-driven research workflows.

To contribute to this project, please follow the guidelines in our CONTRIBUTING.md file.


πŸ“˜ Project Overview

FinResearch AI is an AI-driven financial research system that automates market intelligence using agentic AI workflows, web & news scraping, quantitative analysis, and automated report generation.

The system integrates multiple agents β€” each with a specialized role β€” and a shared memory (vector DB) to collaboratively produce investment-style summaries, financial analyses, and data-backed insights.

You will build one of two possible implementations:

  • 🟒 Beginner Track β€” Single-Agent Market Research Assistant
  • πŸ”΄ Advanced Track β€” Multi-Agent Financial Research System (CrewAI-Style)

πŸ” What FinResearch AI Does

Core Capabilities

FinResearch AI will:

  1. Search the web, financial news, and APIs for the latest market information
  2. Analyze market data, ratios, and fundamentals
  3. Synthesize insights into a clean, structured report
  4. Format outputs into professional-grade summaries (analyst-style)
  5. Deliver results through a web UI (Gradio or Streamlit)

Key Technologies

  • LLM Framework: OpenAI Agents SDK / CrewAI (Advanced)
  • Financial APIs: Yahoo Finance, Alpha Vantage, FinancialModelingPrep
  • Search APIs: Tavily or SerpAPI
  • Vector DB: ChromaDB / FAISS
  • UI: Gradio or Streamlit
  • Deployment: Hugging Face Spaces or Streamlit Cloud

πŸ“‚ Repository Structure

FinResearch-AI/
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ README.md     ← You are here!
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ doc/
β”‚   └── product_requirement_document.md
β”œβ”€β”€ internal_memory_db/
β”‚   β”œβ”€β”€ chroma.sqlite3
β”‚   └── be714d62-d67d-471f-9d64-28552256a2d0/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ agents/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ base.py
β”‚   β”‚   β”œβ”€β”€ financial_analyst.py
β”‚   β”‚   β”œβ”€β”€ financial_crew.py
β”‚   β”‚   β”œβ”€β”€ manager.py
β”‚   β”‚   β”œβ”€β”€ market_researcher.py
β”‚   β”‚   β”œβ”€β”€ reporter.py
β”‚   β”‚   └── prompts/
β”‚   β”‚       β”œβ”€β”€ financial_analyst.md
β”‚   β”‚       β”œβ”€β”€ market_researcher.md
β”‚   β”‚       └── reporter.md
β”‚   β”œβ”€β”€ config/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── settings.py
β”‚   β”œβ”€β”€ tools/
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ financial_tools.py
β”‚   β”‚   β”œβ”€β”€ memory_store.py
β”‚   β”‚   β”œβ”€β”€ memory_tools.py
β”‚   β”‚   └── internal_memory_db/
β”‚   β”‚       └── chroma.sqlite3
β”‚   └── ui/
β”‚       β”œβ”€β”€ __init__.py
β”‚       β”œβ”€β”€ app.py
β”‚       β”œβ”€β”€ run_ui.py
β”‚       β”œβ”€β”€ components/
β”‚       β”‚   β”œβ”€β”€ __init__.py
β”‚       β”‚   β”œβ”€β”€ export.py
β”‚       β”‚   β”œβ”€β”€ input.py
β”‚       β”‚   └── output.py
β”‚       └── utils/
β”‚           β”œβ”€β”€ formatters.py
β”‚           └── state_manager.py

Usage on local

streamlit run .\src\ui\app.py

🟒 Beginner Track β€” Single-Agent Market Research

Perfect for members new to agentic AI.

You will build a simple one-agent pipeline capable of:

  • Fetching financial data using an API
  • Searching market summaries and news
  • Generating a structured financial report
  • Presenting results in a small UI

Beginner Workflow

flowchart LR
    Start([πŸ‘€ User Input]) --> Agent([πŸ” Market Research Agent])
    Agent --> End([πŸ“€ Synthesized Report])
    
    style Start fill:#5e81ac,stroke:#2e3440,stroke-width:2px,color:#eceff4
    style Agent fill:#d08770,stroke:#2e3440,stroke-width:2px,color:#2e3440
    style End fill:#5e81ac,stroke:#2e3440,stroke-width:2px,color:#eceff4
Loading

You will learn:

  • API integration (finance + search)
  • LLM tool use
  • Structured outputs with Pydantic schema
  • Building/Deploying a UI

A full scope of work will be provided in beginner/README.md.


πŸ”΄ Advanced Track β€” Multi-Agent Financial Research System

This track mirrors and extends the multi-agent orchestration concepts from ScholarAI Advanced but redesigned specifically for financial market intelligence.

Agents in the System

1. Manager Agent (Orchestrator + Quality Control)

  • Receives user request
  • Delegates work to other agents
  • Ensures all findings are complete and consistent
  • Produces the final polished report

2. Researcher Agent β€” Web & News Scraper

  • Searches markets, news, press releases, and analyst commentary
  • Extracts relevant text snippets
  • Stores results in vector memory

3. Financial Analyst Agent β€” Quant & Ratios

  • Pulls APIs for price history

  • Computes:

    • P/E, PEG, ROE, ROA
    • Revenue/EPS growth
    • Volatility & risk measures
  • Writes structured insights

4. Reporting Agent β€” Synthesis & Formatting

  • Fetches all context from shared memory
  • Generates a professional-style financial report
  • Applies formatting, sections, and bullet summaries

5. Shared Memory β€” Vector DB / Embeddings

  • Stores intermediate research
  • Allows all agents to access each other's findings
  • Enables iterative refinement

Advanced Architecture Diagram (Based on Your Image)

Advanced Architecture Diagram

flowchart TD
    User([πŸ‘€ User Input]) --> Manager([🎯 Manager Agent])
    Manager --> Researcher([πŸ” Researcher Agent])
    Manager --> Analyst([πŸ“Š Financial Analyst Agent])
    Manager --> Reporter([πŸ“ Reporting Agent])
    
    Researcher --> SearchAPI([🌐 Search APIs])
    Analyst --> DataAPI([πŸ“ˆ Market Data APIs])
    Reporter --> Report([πŸ“€ Final Report])
    
    Memory[(πŸ’Ύ Shared Vector Memory)] -.-> Manager
    Memory -.-> Researcher
    Memory -.-> Analyst
    Memory -.-> Reporter
    
    style User fill:#5e81ac,stroke:#2e3440,stroke-width:2px,color:#eceff4
    style Manager fill:#88c0d0,stroke:#2e3440,stroke-width:3px,color:#2e3440
    style Researcher fill:#d08770,stroke:#2e3440,stroke-width:2px,color:#2e3440
    style Analyst fill:#d08770,stroke:#2e3440,stroke-width:2px,color:#2e3440
    style Reporter fill:#d08770,stroke:#2e3440,stroke-width:2px,color:#2e3440
    style SearchAPI fill:#5e81ac,stroke:#2e3440,stroke-width:2px,color:#eceff4
    style DataAPI fill:#5e81ac,stroke:#2e3440,stroke-width:2px,color:#eceff4
    style Report fill:#a3be8c,stroke:#2e3440,stroke-width:2px,color:#2e3440
    style Memory fill:#b48ead,stroke:#2e3440,stroke-width:2px,color:#eceff4
Loading

This is built to mimic real-world financial research workflows.

A detailed scope will be created inside advanced/README.md next.


πŸ› οΈ APIs & Tools Required

Sign Up For:

  • OpenAI API key

  • Search: Tavily or SerpAPI

  • Financial/Market Data:

Tools

  • Python 3.10+
  • OpenAI Agent SDK / CrewAI
  • ChromaDB / FAISS
  • Gradio or Streamlit

πŸ“… Project Timeline

Phase Beginner Track Advanced Track
Week 1: Setup + Foundations Repo setup, APIs, single agent Multi-agent architecture, embeddings, memory
Week 2: Research + Analysis Fetch news + market data Researcher + Analyst agents implemented
Week 3: Synthesis + Reporting Basic report generation Reporting Agent + Manager orchestration
Week 4: UI + Deployment Gradio/Streamlit app Full multi-agent pipeline deployment

Timeline follows the structure used in prior SDS Scopes


πŸ™Œ Contributions & Community

Both team members and community contributors are welcome.

Submit work to the correct folder:

  • /beginner/submissions/team-members/
  • /advanced/submissions/community-contributions/

Full instructions in CONTRIBUTING.md.


πŸŽ“ Ready to Begin?

  1. Choose your track
  2. Read the appropriate README (β€œScope of Works”)
  3. Set up your environment
  4. Start building your agentic AI system
  5. Submit your project report

If you have questions, open an issue or reach out to the SDS community.

πŸš€ Let’s build the future of financial AI together!

About

An AI-driven financial research system that automates market intelligence using agentic AI workflows, web & news scraping, quantitative analysis, and automated report generation

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors