Project 01

Evidence-Grounded RAG Agent

A local-LLM-compatible document-analysis and question-answering agent for financial filings, structured facts, and traceable evidence.

Stack FastAPI, LangGraph, ChromaDB, DuckDB
Corpus 980 SEC filings, 88K+ chunks
Data 150K+ financial facts

System

Retrieval plus tools before generation

  • Maps user questions into target companies, analysis intent, required evidence, and tool calls before answer generation.
  • Combines ChromaDB vector search with DuckDB financial facts and price/event data.
  • Keeps numerical reasoning in deterministic Python tools with dependency tracing and provenance tracking.

Reliability

Answer checks for evidence and boundaries

  • Checks citation validity, numeric grounding, and missing-evidence disclosure at runtime.
  • Separates financial analysis from investment advice with explicit non-advisory boundaries.
  • Designed for local-LLM compatibility rather than depending on one hosted model provider.

Workflow

How a query moves through the agent

01

Understand

Extract company, intent, evidence needs, and tool plan.

02

Retrieve

Search filing chunks, facts, prices, and events.

03

Compute

Run deterministic financial metric tools outside free-form generation.

04

Validate

Check grounding, citations, missing evidence, and advisory boundaries.

Demo Preview

Interactive console direction

Analyst query

Analyze NVIDIA's cash flow quality, valuation boundary, and major risks.

Evidence-grounded response

The agent should return structured analysis with cited facts, tool-derived metrics, missing-evidence notes, and non-advisory boundaries.