local-full-stack-deep-research
local-full-stack-deep-research copied to clipboard
A full-stack local deep research application built with LangGraph, supporting multiple LLM providers and search APIs. Powered by FastAPI + LangGraph backend and Next.js 15 + React 19 frontend, deliver...
Local Full Stack Deep Research
English | δΈζ
A powerful full-stack application for local deep research powered by LangGraph, supporting multiple LLM providers and search APIs. The graph implementation is referenced from open_deep_research.


Features
- π€ Multiple LLM Provider Support:
- OpenAI
- Anthropic
- Ollama
- And more...
- π Multiple Search API Integration:
- Tavily
- DuckDuckGo
- And more...
- π Built with modern technologies:
- Backend: FastAPI + LangGraph
- Frontend: Next.js 15 + React 19
- TypeScript support
- Modern UI with Radix UI and Tailwind CSS
Project Structure
.
βββ apps/
β βββ backend/ # FastAPI backend
β β βββ open_deep_research/ # Core backend logic
β β βββ notebooks/ # Jupyter notebooks
β βββ frontend/ # Next.js frontend
β βββ app/ # Next.js app directory
β βββ components/ # React components
β βββ lib/ # Utility functions
Prerequisites
- Python 3.11+
- Node.js (Latest LTS version)
- pnpm 10.12.1+
Getting Started
Local Development
Backend Setup
-
Navigate to the backend directory:
cd apps/backend -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
pip install -e .Note: It's recommended to use
uvfor dependency management. See uv documentation for more details.# Install uv brew install uv # On Linux/macOS powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # On Windows # Sync dependencies uv sync # activate the virtual environment source .venv/bin/activate # On Linux/macOS .venv\Scripts\activate # Windows # run the backend uvicorn main:app --host 0.0.0.0 --port 8000 --reload -
Set up your environment variables in
.env:OPENAI_API_KEY=your_key_here ANTHROPIC_API_KEY=your_key_here TAVILY_API_KEY=your_key_here -
Start the backend server:
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
Frontend Setup
-
Navigate to the frontend directory:
cd apps/frontend -
Install dependencies:
pnpm install -
Start the development server:
pnpm dev
Development URLs
- Backend API:
http://localhost:8000 - Frontend:
http://localhost:3000
Docker Deployment
To run the entire application using Docker:
docker compose up
License
MIT