Run coding agents from anywhere over a secure tunnel.
brew install folsomintel/kuma/kumaOr grab a binary from Releases.
To run Kuma, you need to host the relay server, and install our CLI. You will need both Go and just installed.
1. Setting up the relay server
git clone https://github.com/folsomintel/kuma.git
cd kuma
just relay
# Or: KUMA_RELAY_AUTH_SECRET=dev-relay-secret go run ./cmd/kuma-relay2. Using the CLI
export KUMA_RELAY_AUTH_SECRET=dev-relay-secret
export KUMA_RELAY_URL=ws://127.0.0.1:8080
kuma up # Starts the daemon (kumad); creates config + remote "local"
kuma status # Shows the status of the daemon
kuma run # Pick an agent and start a sessionkuma up writes config under your user config dir (e.g. ~/.config/kuma/ or ~/Library/Application Support/kuma/) and registers a local remote when the auth secret is set.
Show credentials anytime:
kuma keys -S "$KUMA_RELAY_AUTH_SECRET"| Command | What it does |
|---|---|
kuma up / down / status |
Start, stop, or inspect the local daemon |
kuma keys |
Print machine id + E2E key (use -S to sync remote local) |
kuma remote |
Manage remotes (interactive, or add / list / remove) |
kuma agent list [remote] |
List agents on a remote |
kuma session … |
List, resume, or remove sessions |
kuma run [remote] [agent] |
Start a session (-W for working directory) |
Bare parent commands (kuma remote, kuma run, …) open interactive prompts. Pass args/flags to skip them.
Useful flags: -C config, -R relay URL, -S auth secret, -M machine id, -K key, -T join token, -W cwd, -V version.
On the remote machine: run a relay it can reach (or point at a shared relay), then kuma up with the same KUMA_RELAY_AUTH_SECRET / join token setup.
On your laptop:
kuma keys -S "$KUMA_RELAY_AUTH_SECRET" # On the remote, copy values
kuma remote add mybox -M … -K … -R wss://relay.example -T …
kuma run myboxOr use kuma remote interactively.
Apache-2.0 — see LICENSE.