HV is a document intelligence platform for mortgage underwriting. It ingests loan and collateral documents, extracts structured sections, runs AI-assisted analysis, and routes results to automated policy checks or human review.
services/uiandservices/ui-server: React + Node entrypoints for users, auth/session, and API aggregation.services/orchestrator: Go service for document registration, delta detection, workflow orchestration, and policy routing.services/intelligence: Python service for document ontology, ingestion/OCR/parsing, context assembly, and AI worker analysis.api/openapi.yaml: single API contract used for multi-language code generation.
docs/: architecture, domain, workflows, services, and integrations.api/: OpenAPI spec and API/codegen notes.services/: deployable services by responsibility.packages/: shared workspace packages (currently TypeScript API types).scripts/: setup and codegen helpers.
Start here:
Core references:
Service docs:
- Document Orchestrator (Go)
- Ingestion Service (Python)
- Analysis Dispatcher (Python)
- UI Server (Node.js)
Integration docs:
API and codegen:
bash scripts/setup-dev.shfor development environment setup.bash scripts/setup-db.shto start/initialize local Postgres (idempotent).bash scripts/codegen.shto regenerate API models across TypeScript, Go, and Python.make devto start local Postgres + orchestrator + intelligence via Docker Compose.