Deploy to a machine
Put a project on a server or a small box by the door, keep it running without anyone logged in, update it, and manage it remotely.
There’s no separate deployment system in Tato. A machine runs its own runtime, and every project it opens stays open, playing or stopped as it was, across the runtime’s restarts. Deploying means getting the project onto the machine, opening it there, and keeping the runtime running.
This page assumes a Linux machine you reach over ssh: a server, a small box next to a camera, or a cloud machine with a GPU.
1. Install the runtime
Section titled “1. Install the runtime”On the machine:
curl -fsSL https://get.tatolab.com/install.sh | shThe installer puts tatolab and tatolabd in ~/.local/bin and starts nothing. To keep the runtime up on a machine nobody sits at, run it as a systemd user service, and turn on lingering so it runs while nobody is logged in: Install on Linux has the unit file. Then check:
tatolab streams2. Copy the project
Section titled “2. Copy the project”A project is just files, so use what you already use: git clone, rsync, scp. Leave .venv/ and .tatolab/ out; they belong to the machine they were made on.
git clone https://github.com/your-org/door-camera.gitcd door-cameraThe runtime makes the project’s .venv on this machine when it opens the project, with the uv it carries, from your pyproject.toml and uv.lock. Commit uv.lock so the machine gets exactly the versions you tested with.
If a node needs files that aren’t in the repository, such as model weights, put them in place now, so the node doesn’t download them while it starts.
3. Open it and play it
Section titled “3. Open it and play it”tatolab open --playRk3x9q2m7v1c8b4n6p0w5z2ty-1 queued: open of /home/ops/door-camera follow it: tatolab logs -f --dir /home/ops/door-cameraThat’s the deployment. tatolab open returns at once; the runtime makes the .venv, loads every stream in streams/, and plays the project, now and every time it starts again. The first .venv downloads Python and your dependencies, so follow it with tatolab logs -f until the streams start, and check tatolab streams shows them running. To check they survive a reboot, reboot and run tatolab streams again.
Machines without a screen
Section titled “Machines without a screen”A server has no desktop and no Tato Studio, so plan the stream for that:
- See the picture from elsewhere. Encode the video and send it to a MoQ relay with the
tatolab-moqnodes, and read it from any other machine. See Across machines. - Edit it from elsewhere. The graph document is in the project: edit it where you develop, commit it, and pull it here. Or let an agent edit the running stream over
ssh. - Audio: with no sound devices,
MicrophoneSourceproduces silence andSpeakerSinkdiscards its input, so the stream still runs.
Choose the right camera
Section titled “Choose the right camera”A machine with several cameras needs to say which one. On Linux, list them with v4l2-ctl --list-devices (from the v4l-utils package), then set the camera node’s device_id in its input_values:
{ "name": "camera", "type": "tatolab.camera:CameraSource", "input_values": { "device_id": "/dev/v4l/by-id/usb-Logitech_C920-video-index0" } }A device_id that can’t be opened is refused by name when the stream starts, instead of silently falling back to another camera. /dev/video numbers can change when cameras are plugged in a different order; the stable names under /dev/v4l/by-id/ don’t.
Update
Section titled “Update”cd door-cameragit pulltatolab reloadA reload reads the project from disk again and keeps its playback, and each stream keeps its ID. When pyproject.toml or uv.lock changed, the runtime syncs the .venv first.
Manage it from your laptop
Section titled “Manage it from your laptop”Every tatolab command works over ssh. A command run over ssh doesn’t get ~/.local/bin on its PATH on Debian and Ubuntu, so give the path where the installer put tatolab, relative to your home folder there:
ssh door-box .local/bin/tatolab streamsssh door-box .local/bin/tatolab logs --dir door-camera --level warn -fssh door-box .local/bin/tatolab stop --dir door-cameraTo let an agent manage the machine, run tatolab mcp over ssh:
claude mcp add door-box -- ssh door-box .local/bin/tatolab mcpControl never travels over the network by itself: the runtime only listens on a local socket, and remote access is always ssh, with ssh’s keys and permissions. On a Tailscale tailnet, ssh to your machines by their tailnet names, from anywhere, without opening ports.
Containers
Section titled “Containers”Where there’s no systemd, as in most containers, run tatolabd as the container’s main process. It runs in the foreground until it gets a stop signal. Giving the container the GPU and camera devices is your container runtime’s job (for NVIDIA GPUs, the NVIDIA Container Toolkit). A container that shares the host’s network counts as the same machine as the host, so only one of them can run a runtime.
Keep an eye on it
Section titled “Keep an eye on it”tatolab streamsshows every stream’s state. A stream that can’t load, or keeps taking the runtime down, is listedfailed, with the reason, and the runtime runs the others without it.tatolab logs --dir <project> --level warnshows a project’s problems;journalctl --user -u tatolabdshows the runtime’s own output.tatolab graphshows whether frames are being dropped, and where.
Several machines
Section titled “Several machines”Each machine runs its own runtime and its own projects. You deploy to each the same way. Streams on different machines share through a MoQ relay they can all reach. See Across machines.
Checklist
Section titled “Checklist”- Runtime installed and running as a service, lingering on,
tatolab streamsanswers - Project copied, model weights and other files in place
- Cameras chosen by stable
device_id -
tatolab open --play, then a reboot, thentatolab streamsshows every streamrunning