How lakshaydhingra6/artha works
Artha-Agent is a Streamlit research assistant for Indian equities. Users ask questions in the dashboard; the agent selects tools (or uses deterministic intent handling), gathers market, technical, memory, knowledge-store, or IPO information, and returns a response with tool traces. The dashboard also presents market and chart views and lets users add knowledge documents. The graph includes documented capabilities whose implementation excerpts were not sampled; their internal relationships are omitted where evidence is unavailable.
Main entry points: agent.py Research agent · stock_tools.py Stock tool registry · app.py Streamlit dashboard · vector_store.py Company knowledge search
Components 17
Research interface
- Streamlit dashboard
app.py - Interactive charts
app.py
Agent orchestration
- Research agent
core/agent.py - Stock tool registry
tools/stock_tools.py - Runtime configuration
config.py
Market research
- Market data client
core/nse_client.py - Technical indicators
core/technicals.py - IPO intelligence
core/ipo_manager.py - IPO dataset
data/ipo_data.json
Knowledge and memory
- Working and persistent memory
core/memory_manager.py - Local SQLite state
core/memory_manager.py - Company knowledge search
core/vector_store.py - Knowledge documents
data/knowledge_store.json
Other components
- Investor
- NSE market feeds
- Yahoo Finance
- Google Gemini
Connections 20
- Investor → Streamlit dashboard: asks research
README.md - Streamlit dashboard → Research agent: submits queries
app.py - Streamlit dashboard → Technical indicators: renders indicators
app.py - Streamlit dashboard → Company knowledge search: adds documents
app.py - Streamlit dashboard → Interactive charts: renders charts
README.md - Research agent → Stock tool registry: dispatches tools
core/agent.py - Research agent → Working and persistent memory: records context
core/agent.py - Research agent → Company knowledge search: searches knowledge
core/agent.py - Research agent → Google Gemini: requests reasoning
README.md - Research agent → Runtime configuration: loads settings
core/agent.py - Stock tool registry → Market data client: fetches market data
tools/stock_tools.py - Stock tool registry → Technical indicators: calculates indicators
tools/stock_tools.py - Stock tool registry → Working and persistent memory: manages watchlists
tools/stock_tools.py - Stock tool registry → Company knowledge search: searches filings
tools/stock_tools.py - Stock tool registry → IPO intelligence: looks up IPOs
tools/stock_tools.py - Market data client → NSE market feeds: requests quotes
README.md - Market data client → Yahoo Finance: falls back to
README.md - Working and persistent memory → Local SQLite state: reads and writes
core/memory_manager.py - Company knowledge search → Knowledge documents: loads and saves
core/vector_store.py - IPO intelligence → IPO dataset: loads IPO data