Veritas is a local-first, multi-agent AI system designed to perform adversarial due diligence on startup pitch decks. Unlike standard chatbots, Veritas operates as an Investigative Operating System—treating startup claims as hypotheses to be verified against external reality.
- Zero-Trust Claim Extraction: Automatically identifies "Hard Claims" (revenue, growth, partners) while filtering out marketing fluff.
- Adversarial Research: Dispatches agents to find evidence that contradicts startup claims using Tavily & Serper.
- The Skeptic Agent: Models "expected visibility" to detect "the dog that didn't bark"—identifying when evidence is suspiciously absent.
- Bayesian Credibility Engine: Mathematically propagates trust and decay throughout the company narrative.
- Investigative Terminal: A multi-panel Dashboard built with Next.js for real-time trace inspection and source-grounded reasoning.
- Reasoning: Ollama (
qwen2.5:8b) - Orchestration: LangGraph (Stateful, cyclical multi-agent workflows)
- Backend: FastAPI (Async IO & WebSockets)
- Frontend: Next.js 14, TailwindCSS, shadcn/ui, Zustand
- Retrieval: FAISS (Local session-based vector storage)
- Search: Tavily AI Search
- Python 3.12+ (via
pyenv) - Node.js 18+
- Ollama installed and running
Pull the required local models for reasoning and embeddings:
ollama pull qwen3:8b
ollama pull nomic-embed-textCreate a .env file in the root directory:
TAVILY_API_KEY=your_api_key_here# Activate your environment
pyenv activate veritas
# Install Python dependencies
pip install -r requirements.txt
# Install Frontend dependencies
cd frontend
npm install# In the root directory
python -m app.mainThe API will be available at http://localhost:8000
# In a new terminal
cd frontend
npm run devThe Terminal UI will be available at http://localhost:3000
├── app/
│ ├── agents/ # Extractor, Researcher, Analyst, Skeptic, Synthesis
│ ├── api/ # FastAPI routes & WebSocket manager
│ ├── core/ # Belief Engine & Bayesian logic
│ ├── orchestration/ # LangGraph workflow definitions
│ ├── retrieval/ # FAISS & local vector store service
│ ├── schemas/ # Pydantic V2 Epistemic models
│ └── services/ # PDF Parsing & Ingestion logic
├── docs/ # Technical & UI/UX Specifications
├── frontend/ # Next.js 14 Investigative Terminal
└── scripts/ # Standalone test scripts for agents
Veritas is built on Institutional Skepticism.
- Supported: Evidence corroborates the claim.
- Contradicted: Reality conflicts with the narrative.
- Suspiciously Absent: A high-impact claim has zero external footprint.
- Ambiguous: Conflicting or low-quality data.
For deep-dives into the architecture, see:
docs/technical-specification.mddocs/ui-ux-specification.mdTASKS.md
Built for the future of rigorous financial intelligence.