Who it is forA developer who wants LightRAG running on a server without managing Python environments.
The problemInstalling Python dependencies, a frontend and storage services by hand is slow and error prone.
The outcomeA LightRAG container stack running with your LLM and embedding settings.
What you need first
- Python with uv (recommended) or pip, or Docker Compose
- An LLM and an embedding model configured in .env
- Optional: storage backends such as PostgreSQL, Neo4j or OpenSearch
Steps
- Clone with
git clone https://github.com/HKUDS/LightRAG.gitandcd LightRAG - Run
cp env.example .envand set the LLM and embedding settings - Start everything with
docker compose up - Optionally verify official GHCR images with Sigstore Cosign, as the Docker deployment docs describe
- On Apple Silicon without Docker Desktop, follow the Apple container setup doc instead
Prompt for your agent
Deploy HKUDS/LightRAG with Docker Compose on <server>, configure .env for <LLM> and <embedding model> with authentication turned on, and confirm the WebUI loads. Report the URL and any startup warnings.
Caveat. Historical image versions are on GHCR; pin a version if you need reproducible deployments.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for HKUDS/LightRAG and "Deploy LightRAG with Docker Compose"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer