LEANN: Private RAG App
Run a fast and private RAG app on your device.
"A founder wants to build a chatbot for their company's website. They install LEANN, add their company's knowledge base to the app, and then deploy it to their self-hosted server. After a 30-minute setup, the chatbot is live, answering user queries quickly and accurately without draining device resources."
- β’When you need to deploy AI models on devices with limited storage capacity
- β’When you require a high level of data privacy for your AI application
- β’When you want to reduce the latency and improve the responsiveness of your RAG application
python -m leann.run --model-name my_rag_model --dataset my_dataset --storage-size 0.03
Skip the builder β one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/leann && curl -fsSL https://workflowstacks.com/api/skills/leann/claude-skill -o ~/.claude/skills/leann/SKILL.mdOpens the app with this repo with the prompt ready to go β no copy-paste needed.
LEANN: Private RAG App is a large Python project (~41k lines across 131 code files, plus 50 test files). Setup is light: runs with Docker. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here β what it does and how to install it
- 2CLAUDE.mdThe instructions the AI actually follows
- 3pyproject.tomlDependencies and the commands it exposes
- 4skills/leann-memory/README.mdInside skills/ β an example of what the AI is told to do
- 5examples/__init__.pyA worked example β copy this to get going
Skip the builder β one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/leann && curl -fsSL https://workflowstacks.com/api/skills/leann/claude-skill -o ~/.claude/skills/leann/SKILL.mdOpens the app with this repo with the prompt ready to go β no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/leann?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work β importable n8n templates, outcome guides and Claude Desktop configs.
AI Support Agent (Chat)
A chat agent that answers customer questions from YOUR business info β with conversation memory. It never invents policies; anything it doesn't know, it hands to a human.
MCP configPostgreSQL MCP config
Let Claude run read-only queries against your Postgres database.
MCP configBrave Search MCP config
Give Claude live web search via the Brave Search API.
Related skills
More ai-agent tools founders pair with this one.