# Best open source AI tools

> The best open source AI tools you can self-host are Ollama, Langflow and RAGFlow. Ollama leads with 182,289 GitHub stars. Candidates: the AI & LLM Tools category plus any app whose own description or topics mention AI, LLMs, RAG or agents (77 apps).

## Key facts

| Fact | Value |
|---|---|
| Question | What are the best open source AI tools you can self-host? |
| Picks | 12 |
| Top pick | Ollama (182,289 stars) |
| Data as of | Oct 7, 2026 |
| Canonical URL | https://appsgit.com/best/open-source-ai-tools |

## Ranked picks

- [Ollama](https://appsgit.com/apps/ollama) (182,289 stars, MIT, Go, Docker, AI features): Ollama has 182,289 GitHub stars, uses the MIT license, ships a Docker image and had 1,083 commits in the last year; it replaces ChatGPT.
- [Langflow](https://appsgit.com/apps/langflow) (155,530 stars, MIT, Python, Docker, AI features): Langflow has 155,530 GitHub stars, uses the MIT license, ships a Docker image and had 2,486 commits in the last year.
- [RAGFlow](https://appsgit.com/apps/ragflow) (91,708 stars, Apache-2.0, Go, Docker, AI features): RAGFlow has 91,708 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 5,821 commits in the last year.
- [OpenHands](https://appsgit.com/apps/openhands) (90,074 stars, MIT, TypeScript, Docker, AI features): OpenHands has 90,074 GitHub stars, uses the MIT license, ships a Docker image and had 3,155 commits in the last year.
- [Dify.ai](https://appsgit.com/apps/dify-ai) (157,921 stars, Dify Open Source License, source-available, TypeScript, Docker, AI features): Dify.ai has 157,921 GitHub stars, is source-available under the Dify Open Source License (modified Apache 2.0) (not an open-source license), ships a Docker image and had 6,112 commits in the last year; it replaces ChatGPT and Lovable.
- [Open-WebUI](https://appsgit.com/apps/open-webui) (154,037 stars, Open WebUI License, source-available, Python, Docker, AI features): Open-WebUI has 154,037 GitHub stars, is source-available under the Open WebUI License (BSD-3-Clause plus branding clause) (not an open-source license), ships a Docker image and had 4,746 commits in the last year; it replaces ChatGPT and Lovable.
- [ComfyUI](https://appsgit.com/apps/comfyui) (136,240 stars, GPL-3.0, Python, AI features): ComfyUI has 136,240 GitHub stars, uses the GPL-3.0 license and had 2,050 commits in the last year.
- [AnythingLLM](https://appsgit.com/apps/anythingllm) (66,738 stars, MIT, JavaScript, Docker, AI features): AnythingLLM has 66,738 GitHub stars, uses the MIT license, ships a Docker image and had 887 commits in the last year; it replaces ChatGPT.
- [LocalAI](https://appsgit.com/apps/localai) (49,405 stars, MIT, Go, Docker, AI features): LocalAI has 49,405 GitHub stars, uses the MIT license, ships a Docker image and had 3,438 commits in the last year; it replaces ChatGPT.
- [LobeHub](https://appsgit.com/apps/lobehub) (83,008 stars, LobeHub Community License, source-available, TypeScript, Docker, AI features): LobeHub has 83,008 GitHub stars, is source-available under the LobeHub Community License (not an open-source license), ships a Docker image and had 7,488 commits in the last year; it replaces ChatGPT and Lovable.
- [SiYuan](https://appsgit.com/apps/siyuan) (46,636 stars, AGPL-3.0, TypeScript, Docker, AI features): SiYuan has 46,636 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 8,702 commits in the last year; it replaces Notion and Evernote.
- [Paperless-ngx](https://appsgit.com/apps/paperless-ngx) (46,308 stars, GPL-3.0, Python, Docker, AI features): Paperless-ngx has 46,308 GitHub stars, uses the GPL-3.0 license, ships a Docker image and had 1,625 commits in the last year.

## How this list was made

- Candidates: the AI & LLM Tools category plus any app whose own description or topics mention AI, LLMs, RAG or agents (77 apps).
- Base score: GitHub stars on a log scale plus commits in the last 12 months (log scale, capped at 1,000).
- Bonus points for a published Docker image, an OSI-approved open-source license and a commit in the last 90 days.
- Source-available apps can rank, but they are labelled and never described as open source.

## FAQ

### Is Ollama free?

Yes. Ollama is open-source software released under the MIT license, so you can self-host it at no cost. You only pay for the server it runs on, and some projects also offer an optional paid cloud plan.

### Can I self-host these apps with Docker?

Yes, 11 of the 12 picks. Ollama, Langflow and RAGFlow publish Docker images, so you can run them on a VPS or home server with Docker Compose. The others install from their own packages or source; follow each project's install guide.

### Are all of these apps open source?

9 of the 12 apps on this list are open source; 3 are source-available. Source-available licenses add conditions, such as limits on hosted or commercial use, so read them before you deploy.

### Which of these apps is the most actively developed?

SiYuan, with 8,702 commits in the last 12 months and a latest release, v3.8.6, from September 2026. Activity is a good sign that bugs and security issues get fixed.

## Related questions

- [What are the best apps to run in a homelab?](https://appsgit.com/best/homelab-apps)
- [What are the best self-hosted apps for privacy?](https://appsgit.com/best/privacy-focused-self-hosted-apps)
- [What are the best self-hosted alternatives to Google services?](https://appsgit.com/best/self-hosted-google-alternatives)
- [What are the best self-hosted alternatives to Microsoft products?](https://appsgit.com/best/self-hosted-microsoft-alternatives)
- [What are the best self-hosted apps written in Go?](https://appsgit.com/best/open-source-apps-in-go)
- [What are the best self-hosted apps written in Rust?](https://appsgit.com/best/open-source-apps-in-rust)
- [What are the best self-hosted apps written in Python?](https://appsgit.com/best/open-source-apps-in-python)
- [What are the best self-hosted apps written in TypeScript?](https://appsgit.com/best/open-source-apps-in-typescript)

## See also

- [All AI & LLM tools apps](https://appsgit.com/categories/ai-tools)
- [Open-source alternatives to ChatGPT](https://appsgit.com/alternatives/chatgpt)
- [Open-source alternatives to Lovable](https://appsgit.com/alternatives/lovable)
- [Open-source alternatives to Notion](https://appsgit.com/alternatives/notion)
- [Open-source alternatives to Evernote](https://appsgit.com/alternatives/evernote)
- [Open-source alternatives to Obsidian](https://appsgit.com/alternatives/obsidian)
- [Ollama vs LocalAI](https://appsgit.com/compare/ollama-vs-localai)
- [Open WebUI vs LibreChat](https://appsgit.com/compare/open-webui-vs-librechat)
- [Paperless-ngx vs Docspell](https://appsgit.com/compare/paperless-ngx-vs-docspell)
- [How to self-host Ollama with Docker Compose](https://appsgit.com/guides/ollama)
- [How to self-host Open WebUI with Docker Compose](https://appsgit.com/guides/open-webui)
- [How to self-host Paperless-ngx with Docker Compose](https://appsgit.com/guides/paperless-ngx)

---

Canonical page: https://appsgit.com/best/open-source-ai-tools
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
