Prerequisites
- Docker, installed and running, on the machine that runs Hummingbot API.
- A machine that meets the requirements below.
- Telegram mode only: a bot token and your Telegram user id. See Create a Telegram Bot.
- Server installs only: a Tailscale account. See Secure Remote Access with Tailscale.
System requirements
System requirements
Cloud server options
Cloud server options
Any cloud provider works. Popular choices:
- AWS EC2: t3.medium or larger
- Google Cloud: e2-medium or larger
- Digital Ocean: Basic Droplet with 4GB RAM
- Hetzner: CX21 or larger
http://hummingbot-api:8000 on your private tailnet.Choose your install
Three paths. All three run the same agents, bots, routines and Workspace. What differs is who can reach them and where alerts go.Local
Your own machine, no Telegram account. Workspace only, no login.
Local + Telegram alerts
Your own machine, plus a bot that pushes alerts to your phone.
Server
A VPS running 24/7. Telegram from anywhere, and the Workspace over Tailscale.
You can switch later. See Start local, grow later.
Local
No bot, no token, no Telegram account. The Workspace runs on the machine you installed on, athttp://localhost:8088, and you are already logged in when you open it.
Alerts (finished routines and delegations, agent notices, update notices) land in the Workspace’s notification bell. To get them as system notifications when no Condor tab is open, turn on Settings → Notifications in each browser. Approval requests appear only in the Workspace chat that asked, and a request nobody answers is denied after 2 minutes.
Local with Telegram alerts
The same install, with a bot attached. You control Condor with commands (/portfolio, /trade, /agent), alerts reach your phone through Telegram, and /web gives you a time-limited link to the Workspace. A chat you start in Telegram also asks for its approvals in Telegram, so you can answer them away from the machine.
Server
Condor and Hummingbot API on a VPS, running whether or not your laptop is on.- Tailscale is required. Hummingbot API binds
127.0.0.1by default, so your laptop can’t reach it on a VPS. Tailscale gives your devices a private path without opening a public port. - Use Telegram mode. The Workspace then listens on the server’s tailnet address, at
http://<tailnet-ip>:8088. Local mode on a server stays on127.0.0.1, so you could reach it only through an SSH tunnel. - Run
make doctoron the VPS after setup. It catches a public bind before it matters.
Quick Install
- Quick Start
- Hummingbot API only
- Manual install
From an empty directory:
What the installer asks
1
How you will use Condor
Telegram or Local. See Choose your install. In Telegram mode it then asks for your bot token and Telegram user id.
2
Tailscale, yes or no
Answer
y for a server or any remote setup. You paste the tskey-auth-... key later, when it is needed. In Telegram mode, Tailscale also puts the Workspace on your tailnet; in Local mode the Workspace stays on 127.0.0.1 either way.In Telegram mode without Tailscale, it also asks for a public IP or hostname. Press Enter if Condor runs on your own machine, or give the server’s public address so /web links work from your phone.3
AI model
The wizard first sets up Condor’s Python environment. On a first install this downloads about 250MB and takes 1–3 minutes. Then it asks Pick an AI model now? Answer yes to choose one and install its CLI bridge, or skip and run
make pick-model later. See Integrating your LLM.4
Hummingbot API
Whether to configure and launch Hummingbot API with Docker. Answer yes if Condor and the API run on the same machine. If the API runs on another server, skip this and enter that API’s URL. If an API is already running on port 8000, the wizard offers to keep it and asks for its credentials.If you said yes to Tailscale, paste your
tskey-auth-... key from the Tailscale admin console. When Condor deploys the API on this same machine, it also asks whether the API should get its own tailnet node. Answer no unless another device needs to reach the API directly.5
Hummingbot API credentials
An admin username, password and config password. They are required and have no defaults. Whatever you enter is written to the API’s
.env and to Condor’s config.yml, so the two sides match.Verify Installation
Runmake doctor first. It exits non-zero only if something is actually broken.
- Local mode
- Telegram mode
Open
http://localhost:8088 in a browser on the machine running Condor. You are logged in already, with no token or login screen.Each time Condor starts, the admin gets “Condor is online and ready.” followed by the branch and commit it is running: in the Workspace’s notification bell, and in Telegram mode as a Telegram message too. If it does not appear within a minute or two, see Troubleshooting.
Next: Adding Credentials
Connect your exchange accounts
Start local, grow later
The common route is to start with Local, attach Telegram once you want alerts on your phone, and involve a server once real capital is on the line. Each hop keeps what you have built. The Telegram/Local choice is stored asCONDOR_MODE in .env (telegram or local). To switch, re-run make setup and pick the other mode. Your TELEGRAM_TOKEN is left in place, so switching back costs nothing. “Server” is not a mode; it is where you run one of the two.
Add Telegram to a Local install
- Create a bot and get your numeric user id. See Create a Telegram Bot.
- Run
make setup. It shows the current mode and asks Keep local mode? Answern, pick Telegram, then enter the token and your id. Everything else is remembered. - Run
make restart, then send/startto your bot.
A Local install that never had Telegram runs as user id 1. Adding a bot switches your login to your Telegram id. The API servers you configured carry over, but Workspace preferences and agent conversations are kept per user and stay behind under id 1. Make this hop early. The reverse switch, Telegram → Local, keeps your id and everything with it.
Keep Condor local, put the API on a server
You don’t have to move Condor to get 24/7 execution. Bots and executors run on the Hummingbot API server, so a laptop Condor driving a VPS API keeps strategies running while the laptop sleeps. Only agents, routines and alerts live in Condor itself.- On the VPS, run the Hummingbot API only installer and answer
yto Tailscale. See On the API server. - On your machine, install Tailscale and sign in to the same tailnet.
- Add the server in Settings → Servers in the Workspace, or
/serversin Telegram: hosthummingbot-api, port8000, and the credentials you set on the VPS. - Run
make doctor. The new server should report reachable, authenticated.
Move Condor itself to the server
When you want agents and routines running around the clock too:-
Install Condor on the VPS (Quick Install) in Telegram mode, and answer
yto Tailscale. Enter the same admin user id as your current install, because conversations and preferences are keyed to it. -
Stop the new install (
make stop) and copy your state over. From the old Condor directory:Don’t copy.env. The VPS’s.envholds its own mode, Tailscale setting and Workspace address. Copy only values you added yourself, such as LLM provider keys. If you setCONDOR_RUNTIME_ROOT,CONDOR_DATA_DIRorCONDOR_REPORTS_DIR, copy those folders instead. See Storage locations. If you wrote your own routines inroutines/, copy those files too. -
On the VPS, run
make doctor, thenmake run. If the API now lives on this same VPS, point the server entry atlocalhostin Settings → Servers (or/servers). -
Retire the old install (
make stopon the laptop) so two Condors are not driving the same accounts.
Create a Telegram Bot
Telegram mode only. Skip this if you chose Local mode.
- Open @BotFather in Telegram.
- Send
/newbotand follow the prompts to name your bot. - Copy the bot token (format:
123456789:ABCdefGHIjklMNOpqrsTUVwxyz).
Get Your User ID
- Open @userinfobot in Telegram.
- Send
/startto receive your user ID.
Secure Remote Access with Tailscale
Hummingbot API can place orders, read balances and manage bots, and AI agents make that surface easier to reach. Tailscale puts the API on a private, encrypted network so only your devices can connect, without publishing port 8000 on a public IP. Use strong API passwords too: Tailscale adds network isolation on top of authentication, it doesn’t replace it. For a full walkthrough, see Securing Condor and Hummingbot API with Tailscale and the Hummingbot API Tailscale guide.Do I Need Tailscale?
Set up your tailnet
Create a free account at tailscale.com, then:- Generate a reusable auth key at Settings → Keys (starts with
tskey-auth-). - Enable MagicDNS so
hummingbot-apiresolves by name. - Install Tailscale on every device that should reach the API (your laptop, the Condor host) and sign in to the same account.
On the API server
- Run the Hummingbot API only installer, or Quick Start with the API enabled.
- When asked Use Tailscale for secure private networking?, answer
y. - Paste your auth key and deploy:
On the Condor machine
- Install Tailscale and sign in to the same account.
- In Telegram, open
/servers, or in Local mode Settings → Servers in the Workspace, and add the API with:- Host:
hummingbot-api(MagicDNS name, not a public IP) - Port:
8000 - Username / Password: same as the API
.env
- Host:
The Workspace under Tailscale
Telegram mode. WithUSE_TAILSCALE=true in .env, Condor binds the Workspace to this machine’s tailnet address instead of 0.0.0.0. You reach it at http://<tailnet-ip>:8088 from any device on your tailnet, and from nowhere else. The installer writes that address to WEB_URL, so /web links point to it.
If Condor can’t find the tailnet address at startup (for example, Tailscale is not up yet), it binds 127.0.0.1 instead. It never falls back to a public bind. It then tries tailscale serve, and logs an error if it can’t confirm that either. Fix Tailscale, then restart Condor so it picks up the tailnet address:
127.0.0.1 whether or not Tailscale is on.
Browser notifications (Settings → Notifications) need a secure connection:
localhost or HTTPS. They don’t work at a plain http://<tailnet-ip>:8088 address, so on a server you get alerts through Telegram.What binds where by default
Every port in the Hummingbot API stack is on loopback out of the box. The only exception is Condor’s own Workspace, and only in Telegram mode, which authenticates.
EMQX’s other listeners (
8883, 8083, 8084, 8081, 61613) are not published at all. None of this replaces the credentials: a loopback bind protects the port, not the machine.
Managing Services
Both installs run Condor in a tmux session namedcondor. From the Condor directory, the Makefile wraps the common operations:
tmux attach -t condor, tmux kill-session -t condor), and upgrade from the directory that contains the condor folder:
hummingbot-api directory (next to condor when the deploy script installed it):

