NextGenVDR is a modern Virtual Data Room (VDR) platform that revolutionizes due diligence processes through AI automation. Built for M&A transactions, fundraising, and other confidential document sharing scenarios, it combines secure document management with intelligent AI-powered analysis.
Core Mission: Transform traditional due diligence from a manual, time-intensive process into an intelligent, automated workflow that accelerates deal completion while maintaining security and compliance.
Key Benefits:
- AI-Powered Analysis: Automatic document processing, intelligent Q&A, and context-aware insights
- Role-Based Access: Granular permissions for buyers and sellers with secure document sharing
- Smart Q&A Workflow: Natural language queries across uploaded documents with source attribution
- Scalability: Handle multiple deals simultaneously
- Insights: Benchmark against comprehensive deal database
- Python 3.11+
- Node.js 18+
- pnpm package manager
-
Navigate to project root
cd nextgenvdr -
Install dependencies with uv
uv pip install -r backend/requirements.txt
-
Set up environment variables
cp .env.example .env # Edit .env with your OpenAI API key and other configurations -
Start the FastAPI backend server
.venv/bin/python backend/main.py
The backend API will be available at
http://localhost:8000- API Documentation:
http://localhost:8000/docs - Alternative docs:
http://localhost:8000/redoc
- API Documentation:
-
Navigate to frontend directory
cd frontend -
Install frontend dependencies
pnpm i
-
Start the Next.js development server
npx next dev
The frontend application will be available at
http://localhost:3000
The backend includes advanced RAG (Retrieval-Augmented Generation) capabilities:
- Document Processing: Automatic chunking and embedding of financial documents
- Agentic RAG: LangChain-powered intelligent document retrieval
- Chat Interface: Natural language queries across uploaded documents
- Smart Q&A: Context-aware question answering with source attribution
Key backend endpoints include:
POST /auth/register- User registrationPOST /auth/login- User authenticationPOST /documents/upload- Document upload with AI processingPOST /ai/rag-chat- Interactive chat with document contextPOST /ai/process-document-for-rag- Process documents for vector searchGET /ai/rag-status- RAG system health check
- Frontend: Next.js 15 with React 19, TypeScript, shadcn/ui, Tailwind CSS
- Backend: FastAPI with SQLAlchemy, OpenAI integration, LangChain RAG
- Database: SQLite (development), PostgreSQL (production ready)
- AI/ML: OpenAI GPT-4o-mini, text-embedding-3-small, FAISS vector database
