Crawler Summary

finsight-crew answer-first brief

Multi-agent CrewAI system for autonomous financial research and algo paper-trading: local Ollama LLM, RAG over SEC 10-K filings, risk engine, Streamlit + Grafana (AAIBA PGDM-BDA group project) FinSight Crew — Autonomous Financial Research & Algo Paper-Trading **Course:** Agentic AI for Business Automation (AAIBA) · PGDM-BDA · Term 04, 2026-27 **Topic 1:** Autonomous Financial Research & Algo-Paper-Trading Crew | Roll no. | Name | |---|---| | 341273 | Shiva Aggarwal | | 341283 | Shubhi Jain | | 341279 | Sarthak Aggarwal | | 341270 | Nitin Deswal | | 341294 | Vineet Intodia | | 65089 | Mahaveer Soni | A thre Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Freshness

Last checked 10/9/2026

Best For

finsight-crew is best for crewai, multi-agent workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB REPOS, runtime-metrics, public facts pack

Claim this agent
Agent DossierGITHUB REPOSSafety: 66/100

finsight-crew

Multi-agent CrewAI system for autonomous financial research and algo paper-trading: local Ollama LLM, RAG over SEC 10-K filings, risk engine, Streamlit + Grafana (AAIBA PGDM-BDA group project) FinSight Crew — Autonomous Financial Research & Algo Paper-Trading **Course:** Agentic AI for Business Automation (AAIBA) · PGDM-BDA · Term 04, 2026-27 **Topic 1:** Autonomous Financial Research & Algo-Paper-Trading Crew | Roll no. | Name | |---|---| | 341273 | Shiva Aggarwal | | 341283 | Shubhi Jain | | 341279 | Sarthak Aggarwal | | 341270 | Nitin Deswal | | 341294 | Vineet Intodia | | 65089 | Mahaveer Soni | A thre

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Oct 9, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Oct 9, 2026

Vendor

Mahaveersonii

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Setup snapshot

  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Mahaveersonii

profilemedium
Observed Oct 9, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Oct 9, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB REPOS

Extracted files

0

Examples

3

Snippets

0

Languages

python

Executable Examples

bash

# 1. Embedding model for report search (274 MB)
ollama pull nomic-embed-text

# 2. Python
python3.11 -m venv .venv && .venv/bin/pip install -r requirements.txt

# 3. Config: copy, then paste your Groq key into .env (never commit .env)
cp .env.example .env

# 4. Postgres + Grafana in Docker
docker compose up -d postgres grafana

# 5. Apps and schedulers (one terminal each)
.venv/bin/streamlit run app/streamlit_app.py --server.port 8502             # US
MARKET=IN .venv/bin/streamlit run app/streamlit_app.py --server.port 8503   # India
.venv/bin/python -m finsight.scheduler                                      # US autopilot
MARKET=IN .venv/bin/python -m finsight.scheduler                            # India autopilot

bash

python3.11 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python scripts/run_crew.py AAPL           # one ticker, with paper trade
python scripts/run_crew.py --dry-run MSFT # analyse only
streamlit run app/streamlit_app.py        # http://localhost:8501
python -m finsight.scheduler --once       # one pass over the watchlist
python eval/run_rag_eval.py               # RAG evaluation
python scripts/run_backtest.py            # backtest
python scripts/reset_portfolio.py --yes   # clean slate before a demo
python scripts/fetch_annual_reports.py    # India: download + verify the 6 annual reports
MARKET=IN streamlit run app/streamlit_app.py   # any command runs in India mode with MARKET=IN
pip install pytest && pytest -q           # 40 offline tests: valuation, chunking, guardrails, citations, risk engine, filing comparison

text

finsight/
  config.py          settings from .env
  llm.py             LLM fallback chain
  crew.py            agents, tasks, JSON guardrail
  pipeline.py        end-to-end run for one ticker
  markets.py         per-market settings (US / India)
  rag.py             10-K / annual-report ingestion, hybrid retrieval, grounded Q&A
  filing_changes.py  v2: year-on-year 10-K comparison + Filing Change Analyst agent
  pdf_reports.py     section-aware text extraction from Indian annual-report PDFs
  report_bot.py      downloads + verifies the latest Indian annual reports
  broker.py          paper broker + risk engine
  backtest.py        rule-layer backtest
  scheduler.py       always-on jobs (exchange-hours price checks + queued-order fills, daily crew run)
  market_clock.py    exchange hours, open/closed status, next open
  db.py              Postgres / SQLite persistence
  tools/
    market_data.py   Yahoo → SEC (US) → cache; prices cached per time span
    valuation.py     ratios, DCF, reverse DCF, quant score
    crew_tools.py    CrewAI tool wrappers (logged, cached, never raise)
app/streamlit_app.py trading desk (7 tabs: desk, scanner, what changed, portfolio, ask, backtest, agent ops)
app/ui.py            theme, Plotly template and HTML components
.streamlit/          dark theme config
grafana/             provisioned datasources (US + India) + dashboard with a Market dropdown
eval/                RAG eval sets + results (US and _in), backtest outputs
tests/               40 offline pytest tests
scripts/             CLI entry points
Modelfile            custom Ollama model
docker-compose.yml   Postgres, app + scheduler per market, Grafana
docs/                architecture.svg / .png + the script that draws them

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB REPOS

Docs source

GITHUB REPOS

Editorial quality

ready

Multi-agent CrewAI system for autonomous financial research and algo paper-trading: local Ollama LLM, RAG over SEC 10-K filings, risk engine, Streamlit + Grafana (AAIBA PGDM-BDA group project) FinSight Crew — Autonomous Financial Research & Algo Paper-Trading **Course:** Agentic AI for Business Automation (AAIBA) · PGDM-BDA · Term 04, 2026-27 **Topic 1:** Autonomous Financial Research & Algo-Paper-Trading Crew | Roll no. | Name | |---|---| | 341273 | Shiva Aggarwal | | 341283 | Shubhi Jain | | 341279 | Sarthak Aggarwal | | 341270 | Nitin Deswal | | 341294 | Vineet Intodia | | 65089 | Mahaveer Soni | A thre

Full README

FinSight Crew — Autonomous Financial Research & Algo Paper-Trading

Course: Agentic AI for Business Automation (AAIBA) · PGDM-BDA · Term 04, 2026-27 Topic 1: Autonomous Financial Research & Algo-Paper-Trading Crew

| Roll no. | Name | |---|---| | 341273 | Shiva Aggarwal | | 341283 | Shubhi Jain | | 341279 | Sarthak Aggarwal | | 341270 | Nitin Deswal | | 341294 | Vineet Intodia | | 65089 | Mahaveer Soni |

A three-agent CrewAI system that researches US and Indian stocks from live market data and the companies' own SEC 10-K filings (RAG), values them with a DCF and multiples, and turns the research into risk-managed paper trades, running continuously on a scheduler. Everything runs on free tiers: Groq (gpt-oss-120b, with gpt-oss-20b and Qwen 3.8 as backups) as the LLM, Ollama on the laptop for embeddings, ChromaDB as the vector store, PostgreSQL for state, Streamlit as the trading desk and Grafana for monitoring.

Paper trading only. Nothing here is investment advice.


Two markets, one switch

| | 🇺🇸 US (MARKET=US) | 🇮🇳 India (MARKET=IN) | |---|---|---| | Watchlist | AAPL, MSFT, NVDA, JPM, XOM, JNJ | WIPRO, ITC, SUNPHARMA, EICHERMOT, BHARTIARTL, ASIANPAINT (NSE) | | RAG corpus | SEC 10-K (Business, Risk Factors, MD&A) via edgartools | FY2025-26 annual-report PDFs from each company's own website (scripts/fetch_annual_reports.py), narrative pages labelled Business & Strategy / Risk Management / MD&A | | Citation | [AAPL 10-K FY2025 · Risk Factors · #21] | [ITC.NS AR FY2026 · MD&A · p67 #93] (links to the PDF page) | | Benchmark | SPY | NIFTY 50 | | Valuation inputs | 10y Treasury 4.3%, ERP 5.5%, terminal growth 2.5% | 10y G-sec 6.5%, ERP 7%, terminal growth 5% | | Beta | vs SPY, 2y weekly | vs NIFTY 50, 2y weekly (Yahoo's beta for Indian stocks is vs the S&P 500) | | Starting cash | $100,000 | ₹1,00,00,000 (₹1 crore) | | Amounts in agent tools | billions ($94.97bn) | crore (₹94,968 crore) | | Times shown in Streamlit | New York time | IST | | Price checks (scheduler) | every 15 min, 9:30–16:00 New York + 20 min | every 15 min, 9:15–15:30 IST + 20 min | | Crew run | weekdays 16:30 New York | weekdays 16:00 IST | | Streamlit | http://localhost:8502 | http://localhost:8503 | | Database | finsight | finsight_in |

Switch markets with the sidebar button in Streamlit or the Market dropdown in Grafana. The six Indian companies were chosen because their data is clean: statements in rupees (HCL Tech reports in USD), positive free cash flow in each of the last three years, and a report downloadable from the company's own site (TCS and BSE block automated downloads, so they were not used).

What is new in v2 (end-term)

| Area | v1 (mid-term) | v2 | |---|---|---| | New capability | – | Filing Change Analyst: compares this year's 10-K with last year's (Risk Factors, MD&A), labels every paragraph unchanged / edited / new / removed, and a new agent explains what changed with paragraph citations. Based on Lazy Prices (Cohen, Malloy & Nguyen, Journal of Finance 2020). New What changed tab with word-level diffs; the Financial Analyst uses it as a tool. | | AI model | Qwen3 8B on the laptop (minutes per stock) | gpt-oss-120b on Groq's free API, 28–122 s per stock; backups gpt-oss-20b and Qwen 3.8 27B | | Agent reliability | 41 guardrail rejections in 39 runs | PM gets an exact fact sheet from code; citations matched by section / number / year / page and replaced by real retrieved passages instead of retried; malformed tool calls retried once; 0 rejections in the 5 runs measured after the fix | | Screens | Default Streamlit | Trading-desk design: candlesticks + volume, score gauge, decision card with risk/reward bar, Scanner tab, risk meters, drawdown charts, prices refreshing every 60 s in market hours, live 6-step agent tracker | | Ask the Report | Called the local model directly | Uses the same model chain as the agents | | Tests | 35 | 40 |

The rule behind most changes: the AI makes judgements; code supplies the facts and checks the work.

1. Architecture

FinSight Crew v2 architecture: data sources, report library, three AI agents on Groq, guardrails, risk officer, paper broker, storage and screens, for the US and India markets

A PNG copy for slides is in docs/architecture.png. A file-level map of every Python file, what it does and what flows between them is in docs/code_map.png (regenerate with python docs/make_code_map.py).

The same diagram is used in the team guide. Regenerate it after changing the layout with python docs/make_architecture_diagram.py.

Agents and tools

| Agent | Tools | Output | |---|---|---| | Market Data Extractor | get_market_snapshot (price, SMA50/200, RSI, ATR, returns, volatility, drawdown) · get_fundamentals (Yahoo → SEC XBRL fallback) | Data brief | | Financial Analyst | run_valuation (P/E, EV/EBITDA, FCF yield, 3-scenario 10-year DCF, reverse DCF, value/quality/momentum score, risk flags) · search_annual_report (RAG over the 10-K or Indian annual report) · get_past_decisions (memory) · get_filing_changes (US: what changed since last year's 10-K) | Analyst report with cited evidence | | Portfolio Manager | get_portfolio_state · plan_position (ATR stop, 2R target, 1%-risk sizing, caps) · json (hands in the decision; gpt-oss models prefer this) · receives a code-built fact sheet | Strict JSON signal: BUY/HOLD/SELL, confidence, stop-loss, take-profit, shares, rationale, risks, citations | | Filing Change Analyst (v2) | Reads only the new / edited / removed paragraphs found by code (finsight/filing_changes.py) | Headline, concern (Low/Medium/High), tone, new risks and removed items, each with paragraph tags; cached per pair of filings |

The LLM never does arithmetic. All numbers come from Python tools; the agents reason about them and explain.


2. RAG component

| Stage | Choice | Why | |---|---|---| | Corpus (US) | Latest 10-K per company: Item 1 Business, Item 1A Risk Factors, Item 7 MD&A | Primary, audited source; qualitative evidence that price data lacks | | Corpus (India) | FY2025-26 annual report per company, narrative pages only (before the audited financials); governance, BRSR, AGM notice, statutory forms and director biographies filtered out; each page labelled Business & Strategy / Risk Management / MD&A | India has no machine-readable 10-K equivalent; these sections carry the qualitative evidence | | Loader | US: edgartools (free, no API key). India: report_bot.py (checks robots.txt, PDF magic bytes, fiscal-year text) + PyMuPDF | Section-aware parsing | | Chunking | Paragraph-aware, ~1,200 chars, 200-char overlap starting on a sentence boundary | Keeps facts that straddle a boundary retrievable | | Embeddings | nomic-embed-text (Ollama), with search_document: / search_query: prefixes | Free, local, 8K context; prefixes are how the model was trained | | Vector store | ChromaDB, persistent, cosine distance, metadata filter per ticker | Zero-ops, runs in-process | | Contextual headers (India) | "report title · section · page" prepended to each chunk before embedding (stored text unchanged) | Short PDF fragments keep their context; +22 pts Hit@3 | | Retrieval | Top-25 by cosine → hybrid re-rank α × semantic + (1 − α) × keyword overlap → top-k; α = 0.75 US, 0.9 India (tuned on each eval set) | Exact terms (drug names, laws, product names) matter in filings | | Grounding | Every chunk carries a citation tag, e.g. [NVDA 10-K FY2026 · Risk Factors · #69] or [ITC.NS AR FY2026 · MD&A · p67 #93] (Streamlit links to that PDF page); guardrails reject citations that were not retrieved in the run | Auditable claims, no invented sources |

Retrieval evaluation (python eval/run_rag_eval.py, MARKET=IN python eval/run_rag_eval.py)

18 hand-written questions over AAPL / NVDA / JNJ 10-Ks, deliberately paraphrased so they do not contain the answer keyword (e.g. "Which foundry manufactures NVIDIA's chips?" → must find "TSMC"). A hit = a retrieved chunk contains the ground-truth fact.

| Configuration | Hit@1 | Hit@3 | Hit@5 | MRR@5 | |---|---|---|---|---| | Vector only | 0.50 | 0.61 | 0.67 | 0.56 | | Hybrid re-rank (α = 0.9) | 0.50 | 0.61 | 0.78 | 0.59 | | Hybrid re-rank (α = 0.75) | 0.50 | 0.78 | 0.78 | 0.61 | | Hybrid re-rank (α = 0.5) | 0.44 | 0.72 | 0.72 | 0.56 |

India (18 questions over the six annual-report PDFs; PDF text is noisier than SEC HTML):

| Configuration | Hit@1 | Hit@3 | Hit@5 | MRR@5 | |---|---|---|---|---| | First version (1,200-char chunks, no headers, α = 0.75) | 0.44 | 0.50 | 0.61 | 0.50 | | + contextual chunk headers, vector only | 0.44 | 0.56 | 0.83 | 0.57 | | + contextual chunk headers, hybrid α = 0.9 | 0.50 | 0.72 | 0.78 | 0.59 |

Contextual headers (company · report · section · page prepended to each chunk before embedding) and a per-market blend weight lifted India Hit@3 from 50% to 72%.

Hybrid re-ranking lifts US Hit@3 from 61% to 78%. The misses (e.g. "who builds Apple's hardware") are honest failures we discuss in the presentation.


3. Error recovery and autonomy

| Failure | Recovery | Where to see it | |---|---|---| | Primary LLM down / errors / daily limit reached | Fallback chain from .env (default v2: Groq gpt-oss-120b → gpt-oss-20b → qwen3.8-27b, local Ollama models if installed) | events.kind = llm_fallback | | Model makes a malformed tool call | Same model retried once before falling back | llm_fallback | | Yahoo Finance fails | Fundamentals: SEC EDGAR XBRL facts (US; freshest annual value across tags, nothing older than 18 months, incomplete filings rejected) → last cached copy. Prices: last cached copy for the same time span (each span cached separately, so the 5-day price check never overwrites the 2-year history), flagged stale | data_fallback | | Postgres down | Automatic SQLite fallback | sidebar "Database" | | PM returns malformed JSON / skips its sizing tool / no citations | CrewAI guardrail rejects with a specific message; agent retries (max 3) | guardrail_retry | | LLM proposes a wrong stop-loss or size | Deterministic risk engine overrides it | risk_override | | PM's rationale contradicts the tool numbers (e.g. says "composite 72" when it is 55, "uptrend" in a downtrend) | Fact-check guardrail compares the rationale with the tool results and sends it back with the correct figures | guardrail_retry | | PM cites a passage it never retrieved | Citations are matched to the passages actually returned by search_annual_report by section, passage number, year and page (separators and brackets ignored). Invented tags are dropped; if none are real, the passages really retrieved are attached instead of spending a retry | citation_autofix | | PM misquotes a number | The PM receives a fact sheet (score, price, DCF value, margin of safety, trend, flags) built by code, and the fact-check guardrail still verifies the rationale | guardrail_retry | | Analyst cites a passage it never retrieved | Report citations are checked after the run and flagged ⚠️unverified | citation_unverified | | LLM misapplies the fund rules (e.g. BUY with composite < 70) | Deterministic policy check downgrades to HOLD | risk_veto (policy:composite<70) | | Signal breaches risk limits / low confidence | Trade vetoed | risk_veto | | Price hits stop / target between crew runs | Scheduler checks every 15 min during exchange hours and sells automatically; the sale appears in the activity feed with price and P&L | auto_exit | | A BUY/SELL is decided while the exchange is closed | The order is queued instead of filled at the stale closing price, then filled at the first price check after the next open, with stop-loss and size recalculated from that price. A newer decision for the same stock supersedes it; queued orders expire after 5 days | order_queued, order_filled, order_cancelled | | A tool raises | Tool returns {"error", "hint"} so the agent continues and reports the gap | error | | Process killed mid-run (restart, crash) | Run marked interrupted on next scheduler tick, so success rates stay truthful | runs.status | | Two crew runs at once | One run per process (the local 8B model serves one request at a time anyway); the second gets a clear "busy" message | UI |

Memory: get_past_decisions gives the analyst the fund's previous signals and current position for the ticker, so decisions stay consistent across days or explicitly explain a change.


4. Strategy and risk rules

  • Valuation: P/E, EV/EBITDA, FCF yield, ROE, leverage; 10-year two-stage DCF (bear / base / bull) using reported free cash flow and a CAPM cost of equity; reverse DCF giving the FCF growth the current price implies.
  • Quant score (0–100): value 35% (DCF margin of safety, FCF yield, analyst upside) + quality 35% (ROE, net margin, leverage) + momentum 30% (12-month return, trend, RSI).
  • Decision rules: BUY if the verdict is Attractive (composite ≥ 70) and the risk engine allows shares; SELL if held and Unattractive (or composite < 50); else HOLD.
  • Order timing: decisions made outside exchange hours (NYSE 9:30–16:00 New York, NSE 9:15–15:30 IST) are queued and filled at the next open, as a real broker would. Exchange holidays are not modelled.
  • Risk engine: 1% of equity at risk per trade · stop = entry − 2 × ATR(14) · take-profit = 2R · ≤ 10% per position · ≤ 30% per sector · no positions smaller than 1% of equity · BUY needs confidence ≥ 0.55 · long-only.

Backtest (python scripts/run_backtest.py)

The LLM and fundamentals cannot be backtested honestly (we only have today's fundamentals and 10-K — look-ahead bias), so the backtest validates the momentum rules + risk engine over the 6-stock watchlist.

| Jul 2022 – Sep 2026 | Total return | CAGR | Volatility | Sharpe | Max drawdown | |---|---|---|---|---|---| | Strategy | +27.6% | 6.0% | 5.1% | 0.32 | −7.6% | | SPY buy & hold | +111.6% | 19.6% | 16.1% | 0.92 | −18.8% | | Equal-weight buy & hold | +328.6% | 41.6% | 25.1% | 1.34 | −25.5% |

India, same rules (MARKET=IN python scripts/run_backtest.py):

| Jul 2022 – Sep 2026 | Total return | CAGR | Volatility | Sharpe | Max drawdown | |---|---|---|---|---|---| | Strategy | +23.3% | 5.2% | 4.1% | −0.33 | −5.8% | | NIFTY 50 buy & hold | +39.1% | 8.3% | 12.7% | 0.18 | −15.8% | | Equal-weight buy & hold | +69.1% | 13.5% | 12.6% | 0.56 | −15.8% |

India: 128 trades, 43.8% win rate, average capital invested 24.1%. The Sharpe ratio is negative because the 5.2% CAGR is below India's 6.5% risk-free rate.

US: 149 trades, 43% win rate, average win +10.0% vs average loss −4.8%, average capital invested only 25.7%. Reading: the risk engine does its job (a third of the market's volatility, less than half its drawdown), but the 1%-risk sizing leaves most capital idle, so it lags a strong bull market. That trade-off is a key discussion point.


5. Run it

Prerequisites: macOS/Linux, Docker Desktop, Ollama, Python 3.11, a free Groq API key.

# 1. Embedding model for report search (274 MB)
ollama pull nomic-embed-text

# 2. Python
python3.11 -m venv .venv && .venv/bin/pip install -r requirements.txt

# 3. Config: copy, then paste your Groq key into .env (never commit .env)
cp .env.example .env

# 4. Postgres + Grafana in Docker
docker compose up -d postgres grafana

# 5. Apps and schedulers (one terminal each)
.venv/bin/streamlit run app/streamlit_app.py --server.port 8502             # US
MARKET=IN .venv/bin/streamlit run app/streamlit_app.py --server.port 8503   # India
.venv/bin/python -m finsight.scheduler                                      # US autopilot
MARKET=IN .venv/bin/python -m finsight.scheduler                            # India autopilot

Groq free plan: about 200,000 tokens per model per day, roughly 10 full analyses per model. The schedulers analyse all six stocks after each close, so stop them before a demo day if you need the allowance for live runs.

To run fully offline instead, pull a local model (ollama pull qwen3:8b, ollama create finsight-qwen3 -f Modelfile) and set PRIMARY_MODEL=ollama/finsight-qwen3 in .env. docker compose up -d --build still starts the original six-container stack.

On first start the India scheduler downloads the six annual reports from the companies' websites and indexes them (about 2 minutes); the US scheduler indexes the six 10-Ks.

| Service | URL | |---|---| | Streamlit control room, US | http://localhost:8502 | | Streamlit control room, India | http://localhost:8503 | | Grafana (admin / finsight) | http://localhost:3001 | | Postgres | localhost:5432 (finsight / finsight) |

Local development without Docker:

python3.11 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python scripts/run_crew.py AAPL           # one ticker, with paper trade
python scripts/run_crew.py --dry-run MSFT # analyse only
streamlit run app/streamlit_app.py        # http://localhost:8501
python -m finsight.scheduler --once       # one pass over the watchlist
python eval/run_rag_eval.py               # RAG evaluation
python scripts/run_backtest.py            # backtest
python scripts/reset_portfolio.py --yes   # clean slate before a demo
python scripts/fetch_annual_reports.py    # India: download + verify the 6 annual reports
MARKET=IN streamlit run app/streamlit_app.py   # any command runs in India mode with MARKET=IN
pip install pytest && pytest -q           # 40 offline tests: valuation, chunking, guardrails, citations, risk engine, filing comparison

Ollama runs on the host rather than in Docker so it can use the Apple-silicon GPU (Metal); containers reach it through host.docker.internal:11434.


6. Repository layout

finsight/
  config.py          settings from .env
  llm.py             LLM fallback chain
  crew.py            agents, tasks, JSON guardrail
  pipeline.py        end-to-end run for one ticker
  markets.py         per-market settings (US / India)
  rag.py             10-K / annual-report ingestion, hybrid retrieval, grounded Q&A
  filing_changes.py  v2: year-on-year 10-K comparison + Filing Change Analyst agent
  pdf_reports.py     section-aware text extraction from Indian annual-report PDFs
  report_bot.py      downloads + verifies the latest Indian annual reports
  broker.py          paper broker + risk engine
  backtest.py        rule-layer backtest
  scheduler.py       always-on jobs (exchange-hours price checks + queued-order fills, daily crew run)
  market_clock.py    exchange hours, open/closed status, next open
  db.py              Postgres / SQLite persistence
  tools/
    market_data.py   Yahoo → SEC (US) → cache; prices cached per time span
    valuation.py     ratios, DCF, reverse DCF, quant score
    crew_tools.py    CrewAI tool wrappers (logged, cached, never raise)
app/streamlit_app.py trading desk (7 tabs: desk, scanner, what changed, portfolio, ask, backtest, agent ops)
app/ui.py            theme, Plotly template and HTML components
.streamlit/          dark theme config
grafana/             provisioned datasources (US + India) + dashboard with a Market dropdown
eval/                RAG eval sets + results (US and _in), backtest outputs
tests/               40 offline pytest tests
scripts/             CLI entry points
Modelfile            custom Ollama model
docker-compose.yml   Postgres, app + scheduler per market, Grafana
docs/                architecture.svg / .png + the script that draws them

7. Rubric mapping

| Criterion | Evidence | |---|---| | Functional integration (40%) | Data → valuation → RAG research → decision → risk engine → paper fill → monitoring, end to end, on a scheduler, in two markets (US and India) | | Agent autonomy & tool calling (35%) | 8 tools, enforced tool use, memory, guardrail retries (format, tool use, citations, fact-check), LLM / data / DB fallbacks, all logged to events | | Strategic justification (25%) | Cited 10-K evidence, DCF + reverse DCF, transparent factor score, hard risk rules, honest backtest vs SPY | | RAG (25%) | SEC 10-K and Indian annual-report corpora, overlap chunking, contextual headers, local embeddings, hybrid re-rank tuned per market, page-level citations enforced, quantitative retrieval evaluation in both markets |

8. Limitations

  • Groq's free plan allows about 10 full analyses per model per day; the schedulers' daily runs share that allowance with manual runs.
  • The year-on-year filing comparison covers US 10-Ks; India needs last year's annual-report PDFs as well. Some 10-Ks (JPM, XOM) keep MD&A in a separate exhibit, so only Risk Factors is compared for them.
  • The DCF is deliberately conservative (cost of equity used as the discount rate), so the reverse DCF carries more weight in decisions.
  • Yahoo Finance is unofficial and can change without notice; SEC fallback covers fundamentals, cache covers prices.
  • The backtest covers the rules, not the agents (see §4).
  • India: section labels come from page content (Indian reports have no standard structure), so a few pages are labelled imperfectly; PDF text is noisier than SEC HTML, which is why India retrieval scores trail the US.
  • India: there is no free official structured-data API like SEC XBRL, so the fundamentals fallback is Yahoo → cache only.
  • The Portfolio Manager sometimes skips its sizing tool on the first attempt; the guardrail sends it back. CrewAI cannot force a tool call.
  • Exchange holidays are treated as open days (prices simply do not move).

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB REPOS

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_REPOS",
      "generatedAt": "2026-10-09T02:28:34.528Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "crewai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "multi-agent",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Mahaveersonii",
    "href": "https://github.com/Mahaveersonii/finsight-crew",
    "sourceUrl": "https://github.com/Mahaveersonii/finsight-crew",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-10-09T01:11:44.148Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-10-09T01:11:44.148Z",
    "isPublic": true
  },
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-mahaveersonii-finsight-crew/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to finsight-crew and adjacent AI workflows.