Who it is forSomeone who finds the long env.example intimidating and wants a guided, safe setup.
The problemHand-editing a large config file is easy to get wrong, especially auth and storage settings.
The outcomeA configured .env, optional compose services for storage, and a security audit of the result.
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
- Install from source with
git clone https://github.com/HKUDS/LightRAG.git,cd LightRAGandmake dev - Run
make env-baseto set the LLM, embedding and reranker - Add storage backends and databases with
make env-storageif you need them - Set port, auth and SSL with
make env-server - Audit the result with
make env-security-check, then launch withlightrag-server
Prompt for your agent
Set up HKUDS/LightRAG from source using the setup wizard: run make env-base for <LLM>, make env-storage for <backend>, make env-server with auth on, then make env-security-check. Fix anything the check flags before starting lightrag-server.
Caveat. make dev installs the test toolchain, the offline stack and builds the frontend, so the first run downloads a lot.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for HKUDS/LightRAG and "Configure LightRAG safely with the setup wizard"
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