● gittrendingglobal

Home › Free AI tools

Free AI tools · 2026-02-15 · 7 min read · Updated 2026-10-16 · By the Git Trending Global team, facts checked against the source

nanobot: Free Self-Hosted AI Assistant You Own (2026)

Quick answer

nanobot is a free self-hosted AI assistant. Run it on your own computer, then chat in your browser, Telegram, Slack, Discord or email. Here's how.

stars: 49.1K · license: MIT · platforms: Mac, Windows, Linux

▶ Watch: nanobot explained in under a minute

nanobot is a free self-hosted ai assistant that runs on your own computer or server. You chat with it in a browser, a terminal, or apps like Telegram, Slack, Discord and email.

It can read your files, remember your preferences and run jobs on a schedule. This guide covers what it does, who it's for, and how to install it with one command.

Key takeaways

What is nanobot?

Most AI assistants live inside someone else's app. You chat on their site, your history sits on their servers, and it only works where they say.

nanobot flips that. It's a small AI "agent," which means an AI that can take actions, not just chat. And it's self-hosted, so it runs on a computer you control.

The README calls it "ultra-lightweight." The core is kept small and readable, so tinkerers can open it up and change things.

It doesn't come with an AI brain. You connect one. That can be a paid online service, or a free model running on your own computer.

What can a self-hosted AI assistant like nanobot do?

From the README, nanobot can:

How the nanobot self-hosted AI assistant works: install with one line, connect an AI model, then chat from your browser, Telegram, Slack or email

How to use nanobot (real examples)

💡 Tip: When you first try file tasks, pick a practice folder and the Restricted access option. That keeps nanobot away from everything else.

Who is nanobot for?

There's even a guide in the repo called "Start Without Technical Background," for people new to terminals.

Is nanobot free?

Yes. nanobot is free and open source under the MIT license.

The AI model is your choice and your cost. The README is clear: "nanobot does not supply a model account." A paid AI service bills you for use. A local model through Ollama costs nothing per message, but needs a strong enough computer.

How to install nanobot

You need Python 3.11 or newer. The installer sets up the rest and opens the setup page for you.

On Mac or Linux, open Terminal. Copy and paste this:

curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh

On Windows, open PowerShell. Copy and paste this:

irm https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.ps1 | iex

⚠️ Heads up: These commands download and run a script from the internet. The README links to both scripts so you can read them first, and offers a --dry-run option to preview what they'll do.

If the browser page doesn't open by itself, copy and paste this:

nanobot webui

Keep that terminal window open while you use it. Then follow the README's first three steps:

  1. Open Settings, then Models, and save your AI provider and model.
  2. Start a new topic and send Hello! to check it works.
  3. Try a file task in a practice folder with Restricted access.

Already use uv (a Python app installer)? Copy and paste this instead:

uv tool install nanobot-ai

To keep nanobot running after you close the window, copy and paste this:

nanobot gateway --background

nanobot at a glance: free MIT license, self-hosted, works in Telegram Slack Discord and email, bring your own AI model, 49.1K stars

Let Claude or Codex set it up for you

Claude Code and OpenAI Codex are AI helpers that can run setup steps on your computer. You paste a request, they do the work, and you approve each step.

Copy and paste this:

Please help me install nanobot from github.com/HKUDS/nanobot.
1. Check I have Python 3.11 or newer.
2. Show me the official install script for my system, explain what it does, then run it.
3. Open the nanobot WebUI and walk me through Settings > Models.
4. Help me pick an AI provider. Tell me if a local model with Ollama would run on my computer.
5. Send "Hello!" to test it.

Then try asking:

Connect my nanobot to Telegram and allow only my own account to talk to it.
Set up a nanobot automation that sends me a short summary every weekday at 8 am.
Keep nanobot running in the background and show me how to check its status.

Is a self-hosted AI assistant private?

More private than most, with one big catch. nanobot runs on your computer, and your chats and memory are saved there.

But your messages still go to whatever AI you connect. If that's an online service, they see what you send. For the most privacy, use a local model through Ollama.

⚠️ Heads up: When you connect a chat app like Telegram, limit who can talk to your bot. Otherwise strangers who find it could use your AI credits. The README's own example prompt asks to "allow only my account."

nanobot at a glance

Price Free (your AI model may cost money)
Works offline Yes, with a local model like Ollama
Platforms Mac, Windows, Linux
License MIT
Chat apps Telegram, Discord, Slack, WeChat, email, Teams and more
GitHub stars About 49.1K
Best for People who want their own assistant in the apps they already use

Our take

nanobot is a friendly way to own your AI assistant. One line installs it, a browser page sets it up, and it shows up in the chat apps you already use.

What we like:

What to watch for:

Want a bigger personal AI agent? Compare it with OpenClaw and Hermes Agent. From the same lab, try DeepTutor, a free AI tutor.

FAQ

What is nanobot?

nanobot is a small, free, self-hosted AI assistant. It runs on your computer and talks to you in a browser, terminal or chat apps like Telegram and Slack.

Is nanobot free?

Yes. It's free and open source under the MIT license. The AI model you connect may cost money, unless you run a local one.

Can nanobot run with a local model?

Yes. The README links guides for Ollama, vLLM and other local model servers, so you can run it without an online AI service.

Does nanobot work with Telegram and Slack?

Yes. It connects to Telegram, Discord, Slack, WeChat, email, Mattermost, Linear, Teams and more.

Do I need to be technical to use nanobot?

Not very. A one-line installer opens a browser setup page, and the repo has a guide for people with no terminal experience.

Who made nanobot?

HKUDS, the research group behind DeepTutor. It's shared on GitHub as HKUDS/nanobot.

Get nanobot: github.com/HKUDS/nanobot

Follow @gittrendingglobal on Instagram for one free, useful tool every day.

📲 Watch the 30-second video on Instagram

Keep reading

📲 Like this? Follow @gittrendingglobal on Instagram for one free AI tool and the AI news that matters, every day.