Self-hosted AI agent: open-source platforms (2026)
Our pick
Start with QwenPaw if you want a self-hosted AI assistant you can run in a container. It installs with pip install qwenpaw, a one-line install script or a Docker image, and you then set up the model in a web console on port 8088 of your own machine. It is Apache-2.0 licensed and connects to chat apps such as DingTalk, Lark, Discord and Telegram. The table shows its last commit and latest release, and how the other agents compare.
Best for
- A Python agent you keep running as a service
HKUDS/nanobotInstalls with pip or uv and opens a web UI with nanobot webui. It can be deployed with Docker Compose, Docker, Linux systemd or a macOS LaunchAgent, and one gateway serves the web UI, terminal UI and chat apps.
- Running on a small VPS or a serverless backend
NousResearch/hermes-agentA curl install script sets it up. Its terminal tools can run locally, in Docker, over SSH or on Modal, and one gateway process serves Telegram, Discord, Slack, WhatsApp and Signal.
- Each agent isolated in its own container
nanocoai/nanoclawAgents run in their own Linux containers. You clone the repo and run bash nanoclaw.sh, which installs Docker if it is missing and pairs a first channel such as Slack or Telegram.
- A single binary with no Node or Python
open-octo/octo-agentOne MIT-licensed Go binary installed with a curl script. It works with any model on an OpenAI or Anthropic compatible endpoint and offers a terminal, web, desktop and chat app interface.
- A bot platform with a plugin library for chat apps
AstrBotDevs/AstrBotInstalls with uv tool install astrbot or with Docker. It has a WebUI, MCP and skills support, plugins, and links to QQ, Feishu, DingTalk, Telegram and Slack.
- Agents that work on code in Docker sandboxes
OpenHands/OpenHandsAgent Canvas runs the OpenHands agent, or Claude Code, Codex and Gemini CLI, locally, in a Docker container or on a server, and can run automations on a schedule or from webhooks.
- A team of agents managed from a dashboard
paperclipai/paperclipA Node.js server and React UI where you set goals, assign work to agents and track tasks and costs. It starts with npx paperclipai@latest onboard --yes and needs no Paperclip account.
The repos compared
Checked on Dec 1, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| agentscope-ai / QwenPaw A personal AI assistant you run locally or in Docker, with a web console and chat app channels. | 38,380 GitHub (opens in new tab) | Active Dec 2, 2026 | v2.3.0.post1, Nov 18, 2026 | Apache-2.0 | |
| HKUDS / nanobot A self-hosted Python agent with one gateway for its web UI, terminal UI and chat apps. | 50,486 GitHub (opens in new tab) | Active Dec 2, 2026 | v0.4.2, Nov 21, 2026 | MIT | |
| NousResearch / hermes-agent An agent that runs on a server or locally and is reached through a terminal or chat apps. | 267,544 GitHub (opens in new tab) | Active Dec 2, 2026 | v0.23.4, Nov 24, 2026 | MIT | |
| zhayujie / CowAgent A personal AI agent you run on your computer, a server or Docker, managed from a web console. | 48,171 GitHub (opens in new tab) | Active Dec 2, 2026 | 2.3.0, Nov 26, 2026 | MIT | |
| AstrBotDevs / AstrBot An agent chatbot platform that connects to messaging apps, with a WebUI and plugins. | 47,821 GitHub (opens in new tab) | Active Dec 2, 2026 | v4.30.0-beta.2, Nov 26, 2026 | AGPL-3.0 | |
| nanocoai / nanoclaw A self-hosted AI assistant that runs each agent in its own container and connects to messaging apps. | 31,199 GitHub (opens in new tab) | Active Nov 30, 2026 | v2026.11.0, Nov 20, 2026 | MIT | macOS or Linux (Windows via WSL2); About 4 GB of RAM (setup warns below that); git… |
| ClickHouse / nerve A self-hosted agent runtime built on the Claude Agent SDK, with memory, cron jobs and a web UI. | 122 GitHub (opens in new tab) | Active Dec 1, 2026 | - | Apache-2.0 | Python 3.13+; uv (recommended package manager); Node.js 22.12+ (for web UI build) |
| open-octo / octo-agent A self-hosted AI agent shipped as one Go binary, usable as a coding agent or personal assistant. | 159 GitHub (opens in new tab) | Active Nov 29, 2026 | v1.17.24, Nov 13, 2026 | MIT | |
| OpenHands / OpenHands A self-hosted control center for running OpenHands and other coding agents locally, in Docker or on servers. | 94,706 GitHub (opens in new tab) | Active Dec 2, 2026 | v1.47.0, Nov 29, 2026 | MIT | |
| paperclipai / paperclip A Node.js server and React UI for managing a team of AI agents, their tasks and costs. | 118,741 GitHub (opens in new tab) | Active Dec 2, 2026 | v2026.1117.0, Nov 18, 2026 | MIT | |
| khoj-ai / khoj A self-hostable personal AI app with custom agents, scheduled automations and answers from your documents. | 38,319 GitHub (opens in new tab) | Active Aug 2, 2026 | 2.0.0-beta.28, Mar 26, 2026 | AGPL-3.0 |
Install commands
Copied from each repo. Read its setup steps before you run anything.
agentscope-ai/QwenPaw
pip install qwenpaw
qwenpaw init --defaults
qwenpaw appHKUDS/nanobot
curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh NousResearch/hermes-agent
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash Questions
What is a self-hosted AI agent?
An AI agent whose software runs on a machine you control, such as a home computer or a VPS, instead of a vendor's cloud. It still calls the language model you choose, which can be a cloud API or a local model. nanobot, for example, is a self-hosted personal AI agent that works with cloud or local models.
How do I run a self-hosted AI agent in Docker?
QwenPaw publishes a Docker image (agentscope/qwenpaw) that you start with docker run and open at port 8088. nanobot can be deployed with Docker Compose or Docker, AstrBot with Docker or Docker Compose, and OpenHands offers a Docker sandbox option for its Agent Canvas.
Can I run these agents on a cheap VPS or a home computer?
Yes, several are built for it. Hermes Agent can run on a small VPS or on serverless infrastructure, nanobot runs on a laptop or a modest VPS, and octo is a single binary you copy to a server. Check each repo for the Python, Node.js or Docker version it needs.
Do these agents need a paid model API?
Not always. nanobot works with local servers such as Ollama, vLLM and LM Studio, and Khoj chats with local or online models. nerve is built on the Claude Agent SDK and can use a Claude subscription as an alternative to an API key. Hosted models are billed by their provider.
Is this the same as an AI agent framework?
No. Frameworks are libraries for developers who build their own agents, and they are listed on the best AI agent frameworks page. The tools here are ready-to-run agents with their own web UI or chat channel.
Can I build my own AI agent for free?
Yes. The agents on this page are open-source software you run yourself: QwenPaw, the pick on this page, is Apache-2.0 licensed and installs with pip install qwenpaw, nanobot is MIT licensed, and octo is an MIT-licensed Go binary that works with any OpenAI or Anthropic compatible endpoint. QwenPaw needs an API key only for cloud model APIs, its local models through QwenPaw Local, Ollama or LM Studio need none, and libraries for writing an agent from code are on the best AI agent frameworks page.
Which AI agent is totally free?
QwenPaw, the pick on this page, is Apache-2.0 licensed and includes a local runtime that needs no API key. nanobot (MIT) works with local servers such as Ollama, vLLM and LM Studio, and Khoj (AGPL-3.0) chats with local or online models. Khoj also has a cloud app next to the self-hosted version.
Is Paperclip AI free?
Paperclip is open source under the MIT licence and is self-hosted, so it needs no Paperclip account. It is a Node.js server and React UI where you bring your own agents and track their work and costs. Paperclip Cloud, a hosted version, is separate.
