
Deploy DeerFlow
AI powered Deep Research - Open Source
Python-backend
rpuls/deer-flow-quickstart
Just deployed
Web Interface
rpuls/deer-flow-quickstart
Just deployed
Postgres
railwayapp-templates/postgres-ssl:17
Just deployed
/var/lib/postgresql/data
Deploy and Host DeerFlow on Railway
DeerFlow (Deep Exploration and Efficient Research Flow) is a community-driven deep research framework that integrates language models with web search, retrieval, code execution, and collaborative tools. It enables users to perform AI-powered investigations, generate structured research reports, and even create podcasts or presentations from findings, all in one streamlined workflow.
About Hosting DeerFlow
Hosting DeerFlow on Railway provides a one-click way to set up and run the complete deep research system without manual installation. This template includes a Python backend, a Node.js web UI, and a managed Postgres database for storing research results. With built-in support for Google AI Studio (Gemini models) and Tavily Search APIs, you only need to set your API keys—Railway takes care of infrastructure, scaling, and persistence. Within minutes, you’ll have a fully operational research assistant that can search the web, integrate with external tools, and generate AI-enhanced reports, audio, or presentations.
Common Use Cases
- Conducting advanced academic or industry research with multiple data sources
- Automating the generation of structured reports, presentations, or podcasts
- Building a private research assistant with persistent storage of past results
Dependencies for DeerFlow Hosting
All dependencies are automatically setup on Railway when using this template
- Python 3.12+ for running the core research backend
- Node.js (22+) for the interactive web UI
- PostgreSQL database (automatically provisioned by Railway addon)
Deployment Dependencies
- Google AI Studio API Key (Gemini) →
BASIC_MODEL__api_key
Get API Key - Tavily Search API Key →
TAVILY_API_KEY
Get API Key - DeerFlow Documentation
- GitHub Repo
Implementation Details
When deploying via Railway, this template provisions the DeerFlow backend, web UI, and a Postgres addon. Your only required configuration is providing the Google AI Studio and Tavily API keys as environment variables. After launch, the service will be available in about 5 minutes, and results will be stored in the managed database for retrieval and analysis.
Why Deploy DeerFlow on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying DeerFlow on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Python-backend
rpuls/deer-flow-quickstartTAVILY_API_KEY
Tavily web search API key: https://app.tavily.com/home
BASIC_MODEL__api_key
Google aistudio API key: https://aistudio.google.com/app/apikey
Web Interface
rpuls/deer-flow-quickstart