Nanobot
A small, fast personal assistant with its own web workbench. Chats in Telegram, Discord, Slack, WhatsApp and email, reads your documents, remembers you and runs scheduled tasks, on smaller computers too.
- Best for
- A light assistant on a smaller computerTelegram, Discord or email assistantSummarizing documentsReminders and scheduled reports
- Not for
- Heavy web browsing tasks (use OpenClaw)Large software projects (use OpenHands)Offline use without an AI service
- Needs
- 2 GB memoryAn AI service (or a local model)A chat app account to reach it from your phone
Overview
Nanobot, from the HKUDS team on GitHub, is an ultra-lightweight, open-source personal assistant. It does the same everyday jobs as bigger assistants (answering you in chat apps, reading files, searching the web, remembering your preferences and running scheduled tasks) with a small, readable core. It starts quickly and needs little memory, so it suits a smaller computer or running several assistants side by side.
Nanobot runs a gateway: the always-on part that connects chat apps, runs the AI and delivers scheduled results. You manage it from its WebUI, a browser workbench with separate conversations (topics), Channels for chat apps, Skills, Apps for extra tools, Automations and Settings.
In deputyOS, Nanobot runs in its own agent with about 2 GB of memory. You can talk to it in:
- Chat: deputyOS’s chat, with file uploads.
- WebUI: Nanobot’s own workbench, already signed in. Connect chat apps, approve people, add skills and manage automations here.
- Your chat apps: Telegram, Discord, Slack, WhatsApp, email and more.
The Terminal tab gives advanced users the nanobot command.

Key ideas
- Gateway: the part of Nanobot that keeps running in the background, serving the WebUI, chat apps and schedules.
- Topic: one saved conversation in the WebUI. A temporary chat is not saved to history or memory.
- Channel: a chat app Nanobot is connected to, such as Telegram or email.
- Pairing: when someone new messages your bot, they get a code like
ABCD-EFGH, and only you can approve it. - Skills: reusable instruction packs. Some are built in; more can be found under Skills → Discover.
- Apps and MCP: extra tools from other services (for example Notion) connected through the Model Context Protocol.
- Automations: tasks Nanobot runs later or on a schedule, delivered to the conversation where you created them.
- Dream: Nanobot’s memory tidy-up. It periodically turns recent conversations into lasting notes about you.
Set up
- Create the agent. Choose Add an agent → Nanobot → Create.
- Connect an AI service. In the agent’s Chat tab, choose your AI service and paste its key, or Use AI on this computer. deputyOS writes Nanobot’s settings and starts it.
- Say hello. Send “Hello!” in Chat or in a new topic in the WebUI. A normal reply means the AI service works.
- Look around the WebUI. The models you can use are under Settings → Models; chat apps under Channels; tools under Apps and Skills; schedules under Automations.
- Connect your phone. Follow Connect Telegram below.
Connect Telegram
- Create a bot. In Telegram, open @BotFather, send
/newbot, and follow its prompts for a name and a username. Copy the token it returns and keep it private. - Open the Telegram channel. In the WebUI tab, open Channels → Telegram. If Telegram support isn’t installed yet, turn on its switch and confirm the installation.
- Paste the token. Paste the BotFather token, then save and enable
Telegram. Leave the sender allowlist empty: that keeps pairing on, so
new people must be approved. Don’t set it to
*, which lets anyone in. - Restart if asked. Follow any restart prompt in the WebUI.
- Message your bot. Send “Hello from Telegram”. It replies with a pairing code.
- Approve yourself. The WebUI shows the waiting request: enter the code you received to approve it. Approve only codes from your own chat. Codes expire after 10 minutes.
- Send your message again. Now you get a normal reply.
If the WebUI can’t install Telegram support, run
nanobot plugins enable telegram in the Terminal tab, then restart the
agent. To approve from the Terminal instead of the WebUI, run
nanobot agent -m "/pairing approve ABCD-EFGH" with your code.
Connect Discord, WhatsApp or Slack
The steps are the same: get the app’s credentials, open its page under Channels, save, restart if asked, send a private test message, approve the pairing code.
- Discord: in the Discord Developer Portal, create an application and a bot, turn on Message Content Intent, and invite the bot to your server with permission to read message history and send messages. Paste the bot token under Channels → Discord. DM the bot first to get your pairing code.
- WhatsApp: open Channels → WhatsApp and follow the QR flow. On your phone, scan the code from WhatsApp Settings → Linked Devices. For a first setup, choose mention-only group replies under Advanced.
- Slack, Feishu, WeChat, QQ, Mattermost and others: see Nanobot’s chat app guides.
Add skills and tools
- Skills: open Skills → Installed to see built-in skills, turn them on or off and read what each one does. Skills → Discover browses community skills from skills.sh and SkillHub; installing copies the skill into the agent.
- Apps: open Apps to connect extra tools. MCP has presets (such as Notion and Linear, which sign in with your account) and Add MCP server for others.
- Use them: type
@in a WebUI message to attach an app to that message, or just ask; Nanobot picks a skill when it fits.
Use cases
Chat with it from your phone
Message your assistant from Telegram (or Discord, Slack, WhatsApp) and get answers, summaries and reminders back in the same chat.
You’ll need:
- A chat app connected and your account approved (see Set up).
- The agent running and your computer awake.
Steps:
- Connect Telegram as described in Set up.
- Pin the chat so it’s easy to find.
- Use these commands in the chat:
/newstarts a new conversation,/stopstops the current task,/statusshows the bot’s status and/helplists the rest.
Keep a to-do list for me. Add: call the plumber, renew passport, buy a birthday present for Mia.
What's on my to-do list? Mark "call the plumber" as done.
Summarize this article in five bullet points: <paste link>
Use a free local model
Run Nanobot with an AI model on your own computer: no API key, no bill, and your conversations stay on the computer.
You’ll need:
- Ollama or LM Studio running, set up in Settings → Local AI in deputyOS.
- Enough memory for the model as well as the agent (Nanobot itself needs about 2 GB).
Steps:
- Follow Use AI on your own computer to install an AI app and download a model.
- In the agent’s Chat tab, choose Use AI on this computer, or switch an agent that’s already set up from Details.
- Start with simple chat and to-do lists, then try tasks with tools.
- The WebUI’s Settings → Models shows the model in use;
/modelin a chat shows it too.
Hello! Which model are you running on, and what can you help me with?
Write a short, friendly reply declining a meeting on Thursday and suggesting Friday morning instead.
Reminders and scheduled reports
Get reminders and recurring summaries delivered to the chat where you asked for them.
You’ll need:
- The agent running at the scheduled time (computer on and awake).
- A chat app connected if you want results on your phone.
Steps:
- Ask for the reminder in the chat where you want the result. Nanobot delivers each run back to that conversation.
- Open Automations in the WebUI to see tasks, run one now, pause, rename or delete it, and see past runs.
- To change one, just ask (“Move my daily report from 9am to 10am”).
Tomorrow at 16:00, remind me to send the release notes.
Every weekday at 8:00, send me the weather for Berlin and the three most important tech news headlines.
Show my scheduled tasks and pause the weekday news one until next Monday.
Summarize your documents
Get summaries, key figures and answers from PDFs, Word documents, Excel sheets and PowerPoint decks.
You’ll need:
- The file: upload it in Chat (up to 25 MB) or attach it in a WebUI topic.
Steps:
- Attach the file and say what you want back.
- Ask follow-up questions in the same conversation.
- For many files, start a new topic for each project so histories stay separate.
Summarize the attached report in one page: main findings, numbers that matter, and any risks.
From the attached spreadsheet, which three products had the biggest drop in sales from Q2 to Q3?
Turn the attached slides into a short email for colleagues who missed the presentation.
Research the web
Get current information with sources, then a draft you can edit.
You’ll need:
- Nothing extra: web search (DuckDuckGo by default) and page reading are built in. To use another search provider, open Settings → Capabilities → Web access in the WebUI.
Steps:
- Ask a specific question and say what format you want.
- Ask for the links it used, and check them.
What are the current rules for bringing a dog on a train in Germany? Give me the sources.
Find three well-reviewed Italian restaurants near Alexanderplatz that are open on Sunday evening. Include links.
Answer an email inbox
Give Nanobot its own email address: people you allow can email it questions and it replies.
You’ll need:
- A separate mailbox for the bot, not your personal inbox.
- For Gmail, an app password (not your normal password), and IMAP access.
Steps:
- In the WebUI, open Channels → Email.
- Grant mailbox access, enter the IMAP and SMTP settings (for Gmail:
imap.gmail.comport 993 andsmtp.gmail.comport 587) and the app password. - Restrict allowed senders to your own address(es). Email doesn’t use pairing, so this list is the only gate.
- Under Advanced, set Trusted authentication services to your mail
service’s identity (for Gmail, normally
mx.google.com). - Enable, save, restart if asked, and email the bot from an allowed address. It checks the inbox on a schedule, so allow a little time.
Subject: Weekly plan. Body: Here are my tasks for next week. Sort them by urgency and suggest which day to do each.
Teach it about you
Tell Nanobot your preferences once, and it keeps them across conversations.
You’ll need:
- Nothing extra. Memory is on by default and included in every deputyOS backup.
Steps:
- State a clear preference or fact and ask it to remember it.
- Nanobot’s Dream step folds new facts into its long-term notes on a
schedule. To do it straight away, send
/dream;/dream-logshows what changed. - For a conversation that shouldn’t be remembered, use Temporary chat in the WebUI.
Remember: I write release notes as short bullet points, I'm in the Europe/Berlin time zone, and my team is called Atlas.
What do you know about me and my preferences?
Tips and limits
- Your computer: when you give this agent computer access, deputyOS adds the computer to Nanobot’s MCP servers.
- Costs: every message and every automation run uses your AI service.
Set a spending limit there. Long-running goals (
/goal) keep working until done and can use many more tokens;/stopinterrupts them. - Model choice: tool use (files, web, schedules) works best with strong
hosted models. Switch models in Settings → Models, or per conversation
with
/model. - Local models: good for privacy and cost, weaker at multi-step tasks. See Use AI on your own computer.
- Privacy: conversations, memory and settings stay inside the agent. What you send still goes to your AI service and to the chat apps you connect. Temporary chats aren’t saved to history or memory.
- Who can reach it: keep pairing on and allowlists narrow. Never use
*unless you really mean a public bot. - Limits: no built-in web browser for clicking through websites; for that, use OpenClaw. Nanobot can’t analyze video contents yet.
- Always on: chat apps and schedules only work while the agent runs. On a laptop, see Sleep and power.
- Backups include memory, settings, skills and saved keys.
Troubleshooting
The agent is stopped or can’t answer in Chat
- On All agents, check its state and choose Start or Resume.
- Wait a minute after starting, then try again.
- In the Terminal,
nanobot statusshows whether the model is set up, andnanobot agent -m "Hello!"tests a reply directly.
”The AI service rejected the key” or “ran out of credit”
- Check the key and your credit on the AI service’s website. A key pasted with extra spaces, or under the wrong service, is also rejected.
- Connect it again from the agent’s setup in Chat (or Details).
- With a local model, make sure Ollama or LM Studio is running.
The agent is slow or runs out of memory
- Details → Performance suggests a better size; choose Apply and restart.
- Stop agents you aren’t using, or choose a smaller local model.
My Telegram bot doesn’t answer
- Check the agent is running and the computer awake.
- If the bot sent a pairing code, approve it in the WebUI first.
- Open Channels in the WebUI and check Telegram is enabled and
connected. In the Terminal,
nanobot channels statusshows each channel. - If Telegram rejects the token, copy it again from @BotFather (or make a new one) and save it again.
My Discord bot is online but never replies
- In the Discord Developer Portal, turn on Message Content Intent.
- Check the bot was invited with permission to read message history and send messages.
WhatsApp stopped working
The linked-device login can expire. In the Terminal, run
nanobot channels login whatsapp and scan the QR code again.
I changed a setting but nothing happened
Many settings need a restart. Follow the WebUI’s restart prompt, or restart
the agent (Stop, then Start). If you edited config.json by hand,
check it for missing commas or quotes.
Agents stop when I close the laptop
The computer went to sleep. See Sleep and power.