How shivanshm29/veritas works
Veritas is a multimodal investigation platform: analysts submit media or a post URL, then review forensic findings, claim assessments, and provenance. The sampled pipeline explicitly orchestrates image analysis, claim extraction, provenance matching, and verification; retrieval and verification internals are represented where source references support them. The README documents video/audio forensics, live monitoring, and reporting as product capabilities, but their runtime wiring is not fully shown in the excerpts, so uncertain links are omitted or marked dashed.
Main entry points: App.tsx Investigation UI · pipeline.py Investigation Pipeline · service.py Claim Verification · api.ts Frontend API Client
Components 26
Investigator Workspace
- Investigation UI
frontend/src/App.tsx - Media Upload
frontend/src/components/MediaUploader.tsx - Forensic Results
frontend/src/components/ImageForensicsCard.tsx - Live Feed Radar
frontend/src/components/LiveFeedRadar.tsx - Provenance Graph
frontend/src/components/ProvenanceGraph.tsx - Claim Assessment
frontend/src/components/ClaimAssessmentCard.tsx - Investigation Report
frontend/src/components/InvestigationReportModal.tsx - Frontend API Client
frontend/src/services/api.ts
API and Orchestration
- FastAPI Application
backend/app/main.py - Versioned API Router
backend/app/api/router.py - REST Endpoints
backend/app/api/v1/endpoints - Investigation Pipeline
backend/app/services/pipeline.py
Analysis Engines
- Image Forensics
backend/app/services/image_forensics - Video Forensics
backend/app/services/video_forensics - Audio Forensics
backend/app/services/audio_forensics - Claim Intelligence
backend/app/services/nlp - Provenance Matching
backend/app/services/provenance
Evidence and Verification
- Evidence Retrieval
backend/app/services/retrieval/service.py - Claim Verification
backend/app/services/verification/service.py - Evidence Aggregation
backend/app/services/verification/aggregation.py - Stance Classification
backend/app/services/verification/stance_classifier.py
Contracts and Persistence
- Asset Storage
backend/app/services/storage.py - Domain Models
backend/app/db/models - Data Repositories
backend/app/db/repositories - Canonical Contracts
contracts/schemas/models.py
Other components
- Investigator
Connections 25
- Investigator → Investigation UI: uses
frontend/src/App.tsx - Investigation UI → Media Upload: renders
frontend/src/App.tsx - Investigation UI → Forensic Results: renders
frontend/src/App.tsx - Investigation UI → Live Feed Radar: renders
frontend/src/App.tsx - Investigation UI → Provenance Graph: renders
frontend/src/App.tsx - Investigation UI → Claim Assessment: renders
frontend/src/App.tsx - Investigation UI → Investigation Report: renders
frontend/src/App.tsx - Investigation UI → Frontend API Client: calls
frontend/src/App.tsx - Media Upload → Frontend API Client: submits media
- Frontend API Client → REST Endpoints: requests analysis
frontend/src/services/api.ts - FastAPI Application → Versioned API Router: mounts
backend/app/main.py - Versioned API Router → REST Endpoints: includes routes
backend/app/api/router.py - REST Endpoints → Investigation Pipeline: dispatches
- Investigation Pipeline → Image Forensics: calls
backend/app/services/pipeline.py - Investigation Pipeline → Claim Intelligence: extracts claims
backend/app/services/pipeline.py - Investigation Pipeline → Provenance Matching: matches references
backend/app/services/pipeline.py - Investigation Pipeline → Claim Verification: verifies claims
backend/app/services/pipeline.py - Claim Verification → Evidence Retrieval: retrieves evidence
backend/app/services/verification/service.py - Claim Verification → Evidence Aggregation: aggregates
backend/app/services/verification/service.py - Claim Verification → Stance Classification: classifies stance
backend/app/services/verification/service.py - Evidence Retrieval → Canonical Contracts: uses contracts
backend/app/services/retrieval/service.py - Evidence Aggregation → Stance Classification: uses classifier
backend/app/services/verification/aggregation.py - Claim Verification → Data Repositories: persists records
backend/app/services/verification/service.py - Data Repositories → Domain Models: stores entities
backend/app/db/repositories/evidence_item.py - Asset Storage → Canonical Contracts: stores assets