Check the file
The release page lists a .sha256 file next to the APK. Compare it with the checksum of what you downloaded if you want to be sure it is untouched.
HQ starts on an Android phone. A laptop or a server can join it later with a QR code. Choose your device to see what you need, how long it takes and what it costs, before you download anything.
HQ lives on your phone. This is the quickest way to start, and the way the rest of this site assumes you did.
On a computer right now?
Scan this with your phone's camera. It opens this page on the phone, so the download starts there, not here.
Or type agent-hq.online/get into the phone.
Tap Download for Android. Your browser may say this type of file can harm your device. That message appears for every app that does not come from a store. Tap Keep.
Android asks once whether your browser may install apps. Turn on Allow from this source, then press back.
Android asks you to confirm; on an update the button says Update. Google Play Protect may then say App scan recommended, because HQ is not on the Play Store yet. Tap Scan app, wait a few seconds for This app looks safe, then tap Install. More details also offers Install without scanning, which asks for your PIN or fingerprint. The file is signed, and you can check it yourself below.
Welcome, your AI service, then Start. If you are moving from another phone, you can restore a backup from here.
Choose OpenRouter, Anthropic or another service, and paste the key. Tap Check key to make sure it works. HQ keeps it sealed on the phone and never writes it to a file.
The release page lists a .sha256 file next to the APK. Compare it with the checksum of what you downloaded if you want to be sure it is untouched.
Open Settings, then Updates, then Check for updates. HQ also tells you when a new version is ready.
Android can pause apps that run in the background. If you want HQ to reply while you sleep, leave the phone on a charger.
HQ's phone app is Android only for now. We would rather say that here than let you find out after a download.
Set HQ up on an Android phone, a computer or a server you own, then open its web app from your iPhone's browser. We have not tested every iPhone browser yet.
Apple Silicon and Intel both work. Today this takes a few lines in Terminal. We show you where to click and what a good result looks like.
If HQ is already on your phone, it shows you the exact line to paste. On the phone: Helpers, Start a helper, Copy.
Press Command and Space, type Terminal, press Return. A window with a blinking cursor opens. That is all it is.
HQ checks that every download is signed by the project, and a Mac needs one small tool for that. Paste this line and press Return.
brew install minisign
This installs HQ without the web app and shows a code for your phone to scan.
curl -fsSL https://agent-hq.online/install.sh | bash -s -- --pair
The Mac shows a QR code. On your phone, tap Scan the code. The phone shows six digits. Type them on the Mac. No account and no VPN.
Your phone lists this Mac under Helpers. To run HQ on the Mac itself, leave off --pair.
There are two editions. The installer looks at your computer and suggests one, and you can read this first to know what it will ask.
Coding helpers run inside WSL2, the Linux that Windows includes. Windows asks for administrator approval and may restart once or twice. You make a short Linux username and password.
Time: About 20 minutes, mostly waiting.
Needs no administrator rights. Includes the web app, tasks and your Vault. No coding helpers. Windows may refuse it because the file is not code-signed yet. The installer tells you and stops. Nothing is broken.
Time: About 5 minutes.
Press the Windows key, type PowerShell, press Enter.
Right-click in the window to paste, then press Enter. It checks your computer, suggests an edition and asks you to confirm.
irm https://agent-hq.online/install.ps1 | iex
If Windows asks to restart, restart, then run the same line. It picks up where it stopped.
In your browser, go to http://localhost:5678. To add this computer to the HQ on your phone as a helper, follow the pairing steps for Linux inside WSL2.
The Windows guideOne line installs a signed build for 64-bit Intel or ARM. It lives in your home folder and needs no administrator rights.
curl -fsSL https://agent-hq.online/install.sh | bash
hq install && hq env && hq doctor
hq start all
A server keeps HQ awake all day, so it can reply when your phone is asleep. Most people choose the Hetzner form. It is the one a non-developer can finish.
You fill in one form and the server sets itself up in 3 to 5 minutes. It updates itself from signed releases and rolls back if a check fails.
Cost: you pay Hetzner by the hour. A 4 GB server was about 6.50 a month when the guide was written.
Open the deploy formRuns on Intel and ARM. Add your model key as the Docker guide shows. The first run prints a one-time link with a token: run docker logs hq to see it.
docker run -d --name hq --restart unless-stopped -p 127.0.0.1:5678:5678 -v hq-data:/data ghcr.io/calvinmagezi/hq
In the Hetzner Cloud console, open Security, then API tokens, and make one with Read and Write.
Token, a name, where the server lives, its size, your SSH public key and your own IP address.
Open the deploy formWhen setup is done, run the line below, sign in to Tailscale, and note the HQ link it prints.
ssh root@<server-ip> hq-join
Open the link on a device that is on your Tailscale network. HQ asks for your AI key. Then press the button on the form page to close public SSH.
Longer guide: Hetzner in detail. Other ways in: every install option.
After you install
Pick a service, paste the key, set a spending limit.
First run guideSee your first answer and keep it in your Vault.
First run guideOne encrypted file that brings everything back if the phone is lost.
Backup guideNewest build: v0.9.1-main.648. Every download is signed, and the installers check the signature.