security. Keep the WebUI bound to localhost and reach it through the SSH tunnel rather than exposing the port to the internet.
Who it is forA user who wants the agent always on, on a home server or VPS.
The problemA laptop agent stops working when the lid closes.
The outcomeA server-side Nanobot WebUI reachable safely through an SSH tunnel.
What you need first
- Python with uv or pip; install with `uv tool install nanobot-ai`
- A model provider configured through the onboarding wizard, or a local LLM
- Optional chat app accounts such as Telegram or Slack for channels
Steps
- Install Nanobot on the server with
uv tool install nanobot-ai - Start the WebUI there with
nanobot webui --no-open - On your computer forward the port with
ssh -N -L 127.0.0.1:8765:127.0.0.1:8765 user@SERVER - Open the forwarded WebUI locally and finish model setup
Prompt for your agent
Help me run HKUDS/nanobot on <my server>: install it, start `nanobot webui --no-open`, and give me the exact `ssh -N -L 127.0.0.1:8765:127.0.0.1:8765 user@SERVER` command with my host filled in.
Caveat. Keep the server terminal running while you use the tunnel, or switch to the background gateway.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for HKUDS/nanobot and "Run Nanobot on a server and use it from your laptop"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer