In a world where retail investors are flooded with noise, news, and confusing financial jargon, StoxChai steps in as a refreshing cup of clarity — blending chai-time conversations with AI-driven market intelligence.
What is StoxChai?
StoxChai is an AI-powered financial assistant and stock market research tool designed for modern investors. Built using Python and Streamlit, it combines real-time data visualization, sentiment analysis, and Retrieval-Augmented Generation (RAG) to help users ask natural questions about stocks and receive insightful AI-generated responses.
Whether you’re a retail trader in India analyzing RELIANCE.NS or a global investor tracking trends in HDFCBANK.NS, StoxChai brings AI directly to your financial decision-making process.
Key Features at a Glance
1. Interactive Dashboard: Visualize stock price movements with elegant charts, performance metrics, and technical trends — all in one streamlined view.

2. AI-Powered Sentiment Analysis: Curious about the market’s emotional pulse around a stock? Let StoxChai analyze sentiment using real-time news and data feeds.

3. Chat with the AI: Ask anything — “Is Reliance a good buy this quarter?” or “Show me bearish patterns in the last 3 months.” The AI assistant uses RAG (Retrieval-Augmented Generation) with Ollama-backed models like LLaMA 3 and Mistral.

4. Detailed AI Analysis: Get long-form trend analysis, comparative views, and AI-written overviews of stock performance, helping you save hours of manual research.

Under the Hood: Tech Stack
- Frontend: Streamlit for reactive dashboards and UI
- Backend Intelligence: LangChain for RAG and query pipelines
- AI Models: Ollama running local LLMs like
llama3
,mistral
,gemma
, andphi
- Data Source: Yahoo Finance for stock data
- Language: Python 3.8+
Get Started in 5 Minutes
bashCopyEditgit clone https://github.com/jaganthoutam/StoxChai.git
cd StoxChai
python -m venv venv
source venv/bin/activate # (Use venv\Scripts\activate on Windows)
pip install -r requirements.txt
streamlit run analysis-tool.py
Open your browser at http://localhost:8501 and start exploring the market with your own AI research assistant.
Who is StoxChai for?
- Fintech educators exploring stock market teaching tools
- Retail investors looking for AI help without the jargon
- Data-savvy traders curious about sentiment and trends
- Builders and hackers interested in RAG + finance use cases
What’s Next?
Future roadmap ideas include:
- Portfolio tracking
- Voice-based queries in local Indian languages
- Telegram/WhatsApp integrations
- Advanced technical indicator support
Open Source & Community-Driven
Released under the MIT license, StoxChai is free to use, modify, and build upon. Contributions, ideas, and forks are welcome on GitHub.
ytiih5
8ptivl
m1ddpl
sf1byu