Talk it through, then let it run
Two-stage sessions: Chat to shape the plan, Execute to run it end-to-end. The chat stage holds no execution tools — it can only talk, read, and hand off.
ACowork is a multi-user, distributed, AI-native collaboration platform.
Declarative .bot packages, multiple devices
on one protocol, one address or a cloud relay.
Philosophy
Automation tries to pull the human out of the loop. ACowork is designed the other way — no sub-bots, no orchestration trees to babysit. Just a chat-session to think the work through, and an execute-session to carry it out, with you in the loop.
Download
Pre-built binaries for desktop, plus Android. Alpha channel — see releases for the latest.
Windows 10/11 · x64 · .msi / .exe
macOS 12+ · Universal · .dmg
x86_64 / arm64 · .deb · .rpm · .AppImage
Android 9+ · arm64 · .apk
iOS 15+ · arm64 · .ipa
Or build from source — component by component:
# 0) Get the source (cross-platform; same on every OS)
$ git clone https://github.com/acowork/ACowork
$ cd ACowork
# 1) Core — Gateway + Runtime + Node Service (release profile)
$ ./dev/common/build_core.sh
# 2) Desktop App — macOS (.app / .dmg)
$ ./dev/desktop/macos/package_desktop_macos.sh
# 3) Mobile App — Android (signed release)
$ ./dev/android/build_mobile.sh
# 0) Get the source (cross-platform; same on every OS)
$ git clone https://github.com/acowork/ACowork
$ cd ACowork
# 1) Core — Gateway + Runtime + Node Service (release profile)
$ .\dev\common\build_core.ps1
# 2) Desktop App — Windows (.msi / NSIS)
$ .\dev\desktop\windows\package_desktop_windows.ps1
# 3) Mobile App — Android (signed release)
$ .\dev\android\build_mobile.ps1
# 0) Get the source (cross-platform; same on every OS)
$ git clone https://github.com/acowork/ACowork
$ cd ACowork
# 1) Core — Gateway + Runtime + Node Service (release profile)
$ ./dev/common/build_core.sh
# 2) Desktop App — Linux (.deb / .rpm / AppImage)
$ ./dev/desktop/linux/package_desktop_linux.sh
# 3) Mobile App — Android (signed release)
$ ./dev/android/build_mobile.sh
Need prebuilt convenience? Watch / star the GitHub repo to be notified when release artifacts ship.
Features
Two-stage sessions: Chat to shape the plan, Execute to run it end-to-end. The chat stage holds no execution tools — it can only talk, read, and hand off.
.bot packages — manifest + prompts + skills, no executable code, signed and verified at install time.
One contract for runtimes, nodes, and devices. PC, phone, pad, or embedded devices — anything that speaks it joins the network.
One protocol, every topology. Direct to a server address, or through a cloud relay — the same contract, no branches.
acowork-pm and acowork-doc as first-class services — REST + MCP, real-time multi-user editing.
Admin/user roles · per-node, per-bot, and per-session visibility with explicit user grants. Least privilege, by default.
Get Started
A client picks a transport — Direct or Relay. Direct is just a server address; Relay adds a cloud tunnel on top of it. Everything else stays the same contract.
Transports
Both transports run the same Gateway, the same protocol, the same bots. Only the path differs.
The client asks for exactly one thing: a Gateway address. 127.0.0.1, a LAN host, a hostname — the same setting either way. “Local” and “remote” are not two modes you pick; they are two answers to “is this address on this machine?”
$ ./acowork-gateway
✓ HTTP API listening on http://127.0.0.1:19876
✓ MQTT broker confirmed started
✓ Local node agent spawned
$ .\acowork-gateway.exe
✓ HTTP API listening on http://127.0.0.1:19876
✓ MQTT broker confirmed started
✓ Local node agent spawned
$ ./acowork-gateway
✓ HTTP API listening on http://127.0.0.1:19876
✓ MQTT broker confirmed started
✓ Local node agent spawned
The Gateway auto-spawns one name=local Node Service, so a single machine is already a complete deployment — nothing to enroll by hand. To reach it from the LAN, bind it wide: --addr 0.0.0.0:19876 --mqtt-addr 0.0.0.0:19875 --advertise-host gw.lan.
A new machine joins with a one-time enrollment token — that token is what binds the machine to your account. Only a Gateway you already trust can mint one, so the new box never sees your password. Three ways to get one:
On first-run setup, or in the bot library whenever it says there is no node yet, open Start a node on another machine. It mints the token and prints the command below with the host, MQTT port and token already filled in. Copy it, paste it on the target box.
Leave --token off on a fresh machine: acowork-node start --gateway gw.lan:19875 prompts for your account, mints its own one-time token over the Gateway HTTP API, and spends it on the spot — it never appears in argv, config files, or logs.
For CI and bulk deploys, mint it yourself. Sign in, then ask for a token; the plaintext is returned exactly once.
$ curl -s -X POST http://gw.lan:19876/api/auth/login \
-H 'content-type: application/json' \
-d '{"username":"ops","password":"…"}'
{"access_token":"…"}
$ curl -s -X POST http://gw.lan:19876/api/nodes/enrollment-tokens \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{"ttl_seconds":3600}'
{"token":"…"}
$ ./acowork-node start \
--gateway gw.lan:19875 \
--token <pasted-from-the-guide>
Node Agent starting
Node MQTT (re)connected — running bootstrap
Node enrollment request published
✓ Node token persisted to identity.json
$ .\acowork-node.exe start `
--gateway gw.lan:19875 `
--token <pasted-from-the-guide>
Node Agent starting
Node MQTT (re)connected — running bootstrap
Node enrollment request published
✓ Node token persisted to identity.json
$ ./acowork-node start \
--gateway gw.lan:19875 \
--token <pasted-from-the-guide>
Node Agent starting
Node MQTT (re)connected — running bootstrap
Node enrollment request published
✓ Node token persisted to identity.json
A token is single-use and expires in an hour (24h ceiling) — reopen the guide to mint another. Once a machine has enrolled it keeps its own long-lived node credential and reconnects by itself, so you enroll each box exactly once. Bots then run on whichever node you schedule them on — the Gateway routes, the node executes.
Desktop — Settings → Gateway → Gateway Connection → Direct, then pick or type the address. http://127.0.0.1:19876 is the first entry in the list, and if no Gateway is listening there the app starts one for you. · Mobile — the same address; works on the phone over Wi-Fi.
Behind NAT, or a home Gateway you want on the go? The Gateway dials out to a cloud relay and the client connects to its device domain over TLS — no open port, no VPN, no inbound firewall rule.
[relay]
enabled = true
url = "wss://relay.example.com/tunnel"
The file lives in the Gateway directory — config/gateway.toml under the ACowork home folder. Restart the Gateway to bring the tunnel up; it reconnects on its own if the relay drops. Operators can also flip it at runtime with POST /api/relay/enable, which needs a signed-in account token.
The tunnel mints a device id on first connect and keeps it in relay_identity.json. Read it from the Gateway’s /api/relay/status, or straight from the Desktop settings panel. The client address is that id plus your relay domain: https://<gw-id>.relay.example.com. A relay address is always https:// — it carries the WSS MQTT bridge, and a plain-http address would answer /health while realtime stayed dead.
Desktop — Settings → Gateway → Gateway Connection → Relay, then enter the device domain. · Mobile — the same device domain; ideal for on-the-go access to a home gateway. Relay only rewires the inbound path — the Nodes, the bots and the Gateway keep talking exactly as before.
More in the upstream design docs and AGENTS.md.