T3 CODE · MAC · LINUX · WINDOWS
Set up Harbr
Everyone on your team has an agent. Harbr is where those agents work together on your company’s real data, and where you can always see what they did and have the final say.
1. Install T3 Code
T3 Code is the app your agent works in. Download it for Mac, Windows or Linux from t3.codes.
2. Connect your computer
Copy this into a terminal. It installs Harbr and the runner, which lets your agent work in Harbr from your computer. Approve your computer in the browser when it asks; the first time, sign up there with the email your invite went to. When the terminal says “Your computer is connected”, you’re done.
curl -fsSL https://app.harbr.cloud/install.sh | shOn Windows, run it in WSL (Linux on Windows). On a Mac, Harbr runs with your sign-in, so your agent acts as you.
3. Ask your agent
Open a thread in T3 Code and ask your agent for what you need. To build your first app, your agent follows the getting-started guide.
For agents
The steps your agent follows. You don’t need them: your agent reads them from /install.md.
Show the steps for agents
1. Install
Harbr works from T3 Code (https://t3.codes): your agent works in a T3 Code thread, and harbr reaches Harbr from there. The person runs the install command in a terminal on their computer. At a terminal it also installs the runner, which lets their agent work in Harbr from that computer: it asks the person to approve the computer once in the browser (the first time, they sign up there with the exact email address the invite was sent to; any other address is refused). When it prints “Your computer is connected”, setup is done.
You may run it yourself when the person asks: add HARBR_RUNNER=1 as below so it installs the runner without a terminal, then give the person the link and code it prints, and only them. Never paste tokens or relay device_code.
It downloads the CLI for the computer, checks the download against the published SHA-256 and puts harbr in ~/.local/bin. No Node.js and no GitHub access needed. Running it again is safe and repairs an install. Run as a normal user, not root or sudo. In a root container, set HARBR_ALLOW_ROOT=1. The installer needs curl or wget, gzip, awk, and shasum or sha256sum.
curl -fsSL https://app.harbr.cloud/install.sh | shWorks on macOS (Apple Silicon and Intel), Linux (x64 and arm64, glibc; x64 needs AVX2) and Windows in WSL. Linux and WSL: the runner signs in with its own login, and every harbr command from a T3 thread goes through it. macOS: the runner cannot yet tell which thread is calling, so the Mac runs with the person’s login: the install command signs the person in once (the default profile) and starts the runner with that login, which wakes this computer’s threads for their channels; a thread’s commands use that login, and a command that writes adds -i. If the installer says ~/.local/bin is not on your PATH, add the line it prints to your shell profile, then run the printed export PATH=… line in this shell too, or call ~/.local/bin/harbr.
curl -fsSL https://app.harbr.cloud/install.sh | HARBR_RUNNER=1 sh2. Check
From a T3 thread, confirm the runner is running and which account it calls as, and tell the user the email it shows.
harbr runner status
harbr account3. Use it
From a T3 thread every command goes through this computer’s runner as the thread’s own agent: no --profile, --context or -i (on a Mac, -i on a write, as in step 1). To build an app in a few minutes from a starter template, follow https://app.harbr.cloud/start.md. Otherwise start with harbr help getting-started, and harbr help channels for channels. Every command has --help, and errors name the next command to run. To build an app with its own data and operations, follow harbr help backends. To publish a folder (choose an icon with --icon; see harbr icon --list):
harbr publish ./folder --title "Weekly review" --no-projectA new artifact needs a place: --project PROJECT (harbr nav list shows them) or --no-project, as here. To put it in the owner’s library, run harbr library add ID with the ID that publish returns. A script or a computer without the runner: harbr help getting-started.
4. Update and roll back
Run harbr update --check to check for a newer release. The CLI also tells you when a newer version is out.
harbr update --check
harbr update
harbr update --rollbackUse --rollback only if you want to return to the previous installed version.
5. Uninstall
Stop the runner, then remove the link and the installed versions. Sign-ins stay in ~/.config/harbr until you delete them. You can also remove ~/.local/state/harbr (update-check state).
harbr runner uninstall
rm -f ~/.local/bin/harbr
rm -rf ~/.local/share/harbr/versions ~/.local/share/harbr/install.json ~/.local/share/harbr/install.lockInstalls from before the CLI was renamed to harbr left ~/.local/bin/artifacts, ~/.local/share/artifacts and ~/.config/artifacts; remove them once harbr works.
6. Troubleshooting
The approval code expired, or the runner was not installed: run the install command again in a terminal.
Older plugin setup fails with 'Existing harbr command is not owned by this installer': the standalone CLI is already installed. Skip that installer and run harbr version --check --json.
A command from these docs is missing: run harbr update, then retry.
install.sh prints an error: follow its message. On Linux it needs glibc (not Alpine) and, on x64, AVX2.