Self-Hosted AI Guide

Best self-hosted AI tools on GitHub

This page is built for teams that want control. Instead of browsing generic AI repositories, you can use this shortlist to compare self-hosted AI tools that are actually earning developer attention across local LLM workflows, agent runtimes, RAG stacks, and deployable inference layers.

Private RAG and internal knowledge search
Local copilots and model gateways
Agent workflows with deployment control

Why Teams Care

Self-hosted AI tools matter when you need more control over data handling, compliance, model choice, deployment topology, and cost.

What To Look For

Prioritize active maintenance, clear deployment docs, practical architecture, and evidence that teams are adopting the project beyond demos.

Best For

Platform teams, AI product teams, privacy-sensitive organizations, and builders who want to run AI infrastructure on their own stack.

Top Self-Hosted AI Tools

A practical shortlist of open source AI repositories for teams that care about deployment control and infrastructure ownership.

See full AI board
#1

langgenius/dify

TypeScript AI

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
152.9K
Forks
24.1K
Signal
Fresh signal
#2

HKUDS/nanobot

Python AI

Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
47.2K
Forks
8.3K
Signal
Fresh signal
#3

moeru-ai/airi

TypeScript AI

💖🧸 Self hosted, you-owned Grok Companion, a container of souls of waifu, cyber livings to bring them into our worlds, wishing to achieve Neuro-sama's altitude. Capable of realtime voice chat, Minecraft, Factorio playing. Web / macOS / Windows supported.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
48.1K
Forks
4.8K
Signal
Fresh signal
#4

siyuan-note/siyuan

TypeScript AI

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
45.9K
Forks
3K
Signal
Fresh signal
#5

odysseus-dev/odysseus

Python AI

Self-hosted AI workspace.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
85.7K
Forks
535
Signal
Fresh signal
#6

khoj-ai/khoj

Python AI

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
36.6K
Forks
2.4K
Signal
Fresh signal
#7

Anil-matcha/Open-Generative-AI

JavaScript AI

Unrestricted Open-source alternative to AI video platforms — Free AI image & video generation studio with 500+ models (Flux, Midjourney, Kling, Sora, Veo). No content filters. Self-hosted, MIT licensed.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
26.7K
Forks
4.7K
Signal
Fresh signal
#8

topoteretes/cognee

Python AI

Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
30.1K
Forks
2.9K
Signal
Fresh signal
#9

airbytehq/airbyte

Python AI

Open-source data movement for ELT pipelines and AI agents — from APIs, databases & files to warehouses, lakes, and AI applications. Both self-hosted and Cloud.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
21.9K
Forks
5.3K
Signal
Fresh signal
#10

TabbyML/tabby

Rust AI

Self-hosted AI coding assistant

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
33.8K
Forks
1.8K
Signal
Fresh signal
#11

n8n-io/self-hosted-ai-starter-kit

AI

The Self-hosted AI Starter Kit is an open-source template that quickly sets up a local AI environment. Curated by n8n, it provides essential tools for creating secure, self-hosted AI workflows.

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
15.2K
Forks
3.8K
Signal
Fresh signal
#12

blinkospace/blinko

TypeScript AI

An open-source, self-hosted personal AI note tool prioritizing privacy, built using TypeScript .

Breakout Fresh signal
Decision note

Fresh pushes are keeping momentum high.

AI builders Pushed today
Stars
10.9K
Forks
770
Signal
Fresh signal

How To Evaluate Self-Hosted AI Tools

The best self-hosted AI tool is not always the largest repository. In practice, teams care more about deployment clarity, control surfaces, maintainability, and whether the project can fit into a real operating environment.

A good evaluation flow is simple: shortlist by momentum, inspect the repository detail page, review recent updates, and compare alternatives. That is the fastest way to narrow a noisy category into a usable shortlist.

Common Categories On This Page

You will usually see self-hosted copilots, local LLM runtimes, agent frameworks, RAG stacks, inference gateways, and private AI development platforms.

If you want broader discovery, open Best Open Source AI Tools or the live AI tools board to compare this niche against the wider AI ecosystem.

FAQ

What counts as a self-hosted AI tool?

In practice this includes open source AI agents, local LLM runtimes, RAG stacks, model gateways, inference layers, and developer tools that teams can deploy and operate on their own infrastructure.

Why use a self-hosted AI tool instead of a hosted API product?

Teams often choose self-hosted AI tools for more control over data, infrastructure, deployment patterns, customization, and long-term cost structure.

How does GHTrending rank self-hosted AI tools?

The ranking emphasizes recent momentum, activity, and developer interest so teams can discover self-hosted AI projects that are actively moving now, not only the oldest or biggest repositories.

Who is this page for?

It is useful for engineering teams, platform teams, AI builders, indie hackers, and technical evaluators comparing self-hosted AI software they may deploy themselves.