← All apps

Teef

Teef is a hub that runs teams of AI agents on your own computers and shows their work on an infinite canvas. You give goals to an Orchestrator in chat, and it plans the work and sends it to the devices and folders you have shared. When an agent needs a person, it waits in a "Needs You" queue until someone answers.

View on GitHub → Read the guide ↓

Zooming out to the whole canvas, then back in on a running deploy task (screen recording)
Web
runs on your own computers
Go + React
hub and canvas
Mac · Linux · Windows
device builds

Screens · 4

On this page
  1. Set up Teef
  2. What you need
  3. 1. Download teef and teefd
  4. Or build from source
  5. 2. Start the hub
  6. 3. Finish setup and sign in
  7. 4. Pair a device
  8. 5. Share a folder
  9. 6. Give the Orchestrator a goal
  10. Pair devices on other computers
  11. Run the hub with Docker Compose
  12. Keep Teef up to date
  13. Troubleshooting
  14. Command reference

Agents do good work, but a terminal shows one of them at a time. I wanted one place to see the whole team, what each agent is doing and on which machine, and to step in at the moment one of them needs me.

Set up Teef

Teef is two programs. teef is the hub: it serves the canvas in your browser and runs the Orchestrator. teefd is the device daemon: it runs on each computer that does the work and starts the agent CLIs there. You can run both on one laptop to try it.

The short version:

  1. Download teef and teefd.
  2. Run teef start and open http://localhost:8080.
  3. Fill in the setup wizard and sign in.
  4. Pair a device with teefd pair.
  5. Share a folder with teefd share.
  6. Give the Orchestrator a goal.

The code is public at github.com/ayyshim/teef. Anyone can clone it or download a release. You don’t need an account or an invite. This guide follows release v0.2.1.

What you need

  • macOS, Linux or Windows. Releases include macOS (Apple silicon and Intel), Linux (x86-64 and ARM64) and Windows (x86-64).

  • At least one agent CLI on each device, signed in and working in a terminal. teefd looks for these commands:

    Agent Command it looks for
    Claude Code claude
    Antigravity CLI agy or antigravity
    Gemini CLI gemini
    Codex CLI codex
    OpenCode opencode

    It checks your PATH, then ~/.local/bin, /opt/homebrew/bin and /usr/local/bin.

  • Docker (optional, recommended). With Docker running, the hub starts its own PostgreSQL and Redis containers. Without Docker, the hub saves its state to a file, ~/.teef/hub-state.json. That is fine for a first try.

1. Download teef and teefd

On macOS or Linux, this downloads the latest release for your machine, checks it against the published checksums and puts both programs in ~/.local/bin:

bash
OS=$(uname -s | tr '[:upper:]' '[:lower:]')   # darwin or linux
ARCH=$(uname -m)
[ "$ARCH" = x86_64 ] && ARCH=amd64
[ "$ARCH" = aarch64 ] && ARCH=arm64

BASE=https://github.com/ayyshim/teef/releases/latest/download
curl -fsSLO "$BASE/teef_${OS}_${ARCH}"
curl -fsSLO "$BASE/teefd_${OS}_${ARCH}"
curl -fsSLO "$BASE/checksums.txt"

# macOS: shasum. Linux: use sha256sum with the same flags.
shasum -a 256 --check --ignore-missing checksums.txt

mkdir -p ~/.local/bin
mv "teef_${OS}_${ARCH}" ~/.local/bin/teef
mv "teefd_${OS}_${ARCH}" ~/.local/bin/teefd
chmod +x ~/.local/bin/teef ~/.local/bin/teefd

Both checksum lines should end in OK. If your shell can’t find teef afterwards, add ~/.local/bin to your PATH:

bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc   # or ~/.bashrc

Then check both programs:

bash
teef version
teefd version

On Windows, download teef_windows_amd64.exe and teefd_windows_amd64.exe from the latest release. Rename them to teef.exe and teefd.exe and put them in a folder on your PATH. The commands below are the same.

Or build from source

You need Git, Go 1.25 or newer, Node.js 22 with npm, and make.

bash
git clone https://github.com/ayyshim/teef.git
cd teef
git checkout v0.2.1            # or stay on main for the newest code
(cd frontend && npm ci)
make build-prod VERSION=v0.2.1

This builds bin/teef and bin/teefd, with the web app built into teef. Copy them to ~/.local/bin or run them as ./bin/teef and ./bin/teefd. Set VERSION to the release you checked out, because teef update compares against it.

2. Start the hub

bash
teef start

The hub starts in the background and prints its URL, log file and stop command:

text
Teef Hub started in detached mode (pid=48213)
  URL:  http://localhost:8080 (listening on :8080)
  Logs: /Users/you/.teef/teef.log
  Stop: teef stop

The first start can take a little longer while Docker pulls the PostgreSQL and Redis images. To see what the hub is doing:

bash
teef status       # version, PID and log path
teef logs -n 100  # last 100 log lines

Look for connected to PostgreSQL in the logs. If you see using local state file instead, Docker wasn’t available and the hub is saving to ~/.teef/hub-state.json.

To watch the logs in your terminal instead of running in the background, use teef start --foreground.

3. Finish setup and sign in

Open http://localhost:8080. The first time, the hub shows the Initial Teef Hub Setup wizard. It asks for:

  1. Instance title, Public URL and your admin email. Leave the Public URL as http://localhost:8080 if everything runs on this computer. If other computers will connect, see Pair devices on other computers first.
  2. How to send email. Choose Local Console, SMTP, AWS SES, Resend or Postmark. Each option has a button to send a test email.
  3. Discord webhooks (optional). Teef can post goals, Needs You requests, steering and device events to a Discord channel.

Click Initialize Teef Hub.

Teef signs you in with a magic link sent to your email. The link works once and lasts 15 minutes. With Local Console there is no real email: the sign-in page shows the link with a Complete Magic Link Sign-In button, and the hub also writes it to its log (teef logs).

You can turn on two-factor sign-in (TOTP) at any time from the shield icon in the top bar.

4. Pair a device

In the hub, open Hub Studio → Devices & Folders → Pair New Device, then click Generate live teefd pair code. Teef copies a command like this to your clipboard:

bash
teefd pair --hub http://localhost:8080 --token TEEF-XXXX-XXXX --name "MacBook Pro"

Run it on the computer that should do the work. The code works for 15 minutes. teefd pair saves the device’s settings to ~/.teef/device.json and starts the daemon in the background. The device then shows up in Hub Studio.

Check what the daemon found:

bash
teefd status

It lists the daemon’s PID, the agent CLIs it found and your shared folders. If no CLI appears, check What you need.

5. Share a folder

Agents only work in folders you share:

bash
teefd share ~/code/my-project --label my-project

The folder appears under the device in Hub Studio right away. You can share more folders at any time. To stop sharing one:

bash
teefd unshare ~/code/my-project

6. Give the Orchestrator a goal

Open the #teef-orchestrator chat on the canvas and say what you want done:

text
Add a dark mode toggle to the settings page in my-project and write tests for it.

To point the work at a folder, type @ and pick the device, then type > and pick one of its shared folders. Teef suggests both as you type. A device name with no spaces, such as --name macbook when you pair, is the easiest to type.

The Orchestrator plans the work, puts a team of agents on the canvas and sends each task to a device. When an agent needs a decision or a permission from you, it stops and waits in Needs You until you answer.

Pair devices on other computers

Every device connects to the hub using the hub’s Public URL. Pairing codes and sign-in links use that address too. localhost only works on the hub’s own computer.

To use a second computer on the same network:

  1. Find the hub computer’s local address, such as 192.168.1.20.

  2. Start the hub with that address. If you haven’t run the setup wizard yet, enter the same address as the Public URL there.

    bash
    teef stop
    teef start --public-url http://192.168.1.20:8080
  3. Download teefd on the second computer (step 1) and run the pair command from Hub Studio there.

The hub listens on port 8080 on all network interfaces. Sign-in is on by default. Keep it that way, and keep the hub on a network you trust. This guide doesn’t cover putting Teef on the public internet.

Run the hub with Docker Compose

If you’d rather run the hub in containers, the repo has a Compose file that starts the hub, PostgreSQL and Redis together:

bash
git clone https://github.com/ayyshim/teef.git
cd teef
docker compose up --build

The hub is then at http://localhost:8080. Devices still run teefd directly on each computer, as in steps 4 and 5.

Keep Teef up to date

Both programs update themselves from GitHub Releases and check the SHA-256 checksums before replacing anything:

bash
teef update --check        # see if a new version exists
teef update                # install the latest release
teef stop && teef start    # restart to use it

teefd update
teefd stop && teefd start

To install a specific release, add --version v0.2.1.

Troubleshooting

Port 8080 is already in use. Start the hub on another port and match the Public URL:

bash
teef start --addr :9090 --public-url http://localhost:9090

Docker is running but the hub still uses the state file. The hub’s database and cache containers use ports 5439 and 6389. Check that nothing else uses them, then look at teef logs for the reason.

You want to use your own PostgreSQL. Pass a connection string. The hub then skips its own PostgreSQL container:

bash
teef start --db "postgres://user:pass@host:5432/teef?sslmode=disable"

The device shows no agent CLIs. Run the CLI once in a terminal on that computer to make sure it works and is signed in. Then run teefd stop && teefd start and check teefd status again.

The magic link or pairing code expired. Both last 15 minutes. Request a new one.

An agent task needs a browser. teefd downloads Chromium the first time a task needs it. To download it ahead of time, run teefd browser install.

Where Teef keeps its files. Everything is in ~/.teef/: the hub’s log (teef.log) and fallback state (hub-state.json), and the device’s settings (device.json) and log (teefd.log).

Command reference

Command What it does
teef start Start the hub in the background (--foreground to stay attached)
teef stop Stop the hub
teef status Show version, PID and log path
teef logs -n 100 Show the last 100 log lines
teef update Update to the latest release (--version, --check)
teefd pair --hub <url> --token <code> Connect this computer to a hub and start the daemon
teefd share <path> --label <name> Share a folder with the hub
teefd unshare <path> Stop sharing a folder
teefd start / teefd stop Start or stop the device daemon
teefd status Show PID, agent CLIs found and shared folders
teefd logs Show the daemon’s recent log lines
teefd browser install Download Chromium for browser tasks
teefd update Update to the latest release

Run teef help <command> or teefd help <command> for every flag. Found a problem? Open an issue on GitHub.

GoReact 19TypeScriptPostgreSQL