---
title: "Tato docs"
description: "Learn Tato by building in Tato Studio. Start from what you want to make, follow the tutorial, or go straight to the reference."
type: "docs-page"
url: "https://tatolab.com/docs"
site: "Tatolab"
section: "Docs"
---

# Docs

Learn Tato by building in Tato Studio. Start from what you want to make, follow the tutorial, or go straight to the reference.

## Start with what you want to make

Each of these is one of the examples. Open it to see it run, or go to the pages that cover its parts.

- **[Visuals for a live show](https://tatolab.com/examples#afterglow)**: Screens that follow the sound from the desk, like the Afterglow example. Uses [Audio](https://tatolab.com/docs/build/audio), [Streams as compositions](https://tatolab.com/docs/studio/streams).
- **[A wall that reacts to people](https://tatolab.com/examples#tide-room)**: A camera watches the room, a model finds the people, and the picture moves around them. Uses [Use your model](https://tatolab.com/docs/build/models), [GPU effects](https://tatolab.com/docs/build/gpu-effects).
- **[Train a robot in simulation](https://tatolab.com/examples/pick-cell)**: A simulator, a detector and a policy in one loop, like the Pick Cell example. Uses [Make nodes](https://tatolab.com/docs/studio/nodes), [Build with an agent](https://tatolab.com/docs/studio/agents).
- **[A generative painting](https://tatolab.com/examples#slow-weather)**: A piece that reads the world outside and changes over hours, like Slow Weather. Uses [Write a node](https://tatolab.com/docs/build/nodes), [Deploy](https://tatolab.com/docs/run/deploy).

## New to Tato

1. [Install Tato Studio](https://tatolab.com/docs/install): On a Mac or on Linux.
2. [Run the quickstart](https://tatolab.com/docs/quickstart): Drop in nodes, connect their pins, play it.
3. [Add from the Marketplace](https://tatolab.com/docs/tutorial/scaffold): The camera, audio, codecs and more.
4. [Write your first node](https://tatolab.com/docs/tutorial/first-node): A few lines of Python, made in Studio.
5. [Build with an agent](https://tatolab.com/docs/tutorial/agents): Claude Code beside Studio, on the same project.

## Tato Studio

- [A tour of Tato Studio](https://tatolab.com/docs/studio)
- [Projects](https://tatolab.com/docs/studio/projects) (make, import, share)
- [Build a graph](https://tatolab.com/docs/studio/graph) (nodes, pins, wires)
- [Streams as compositions](https://tatolab.com/docs/studio/streams)
- [Make nodes](https://tatolab.com/docs/studio/nodes)
- [Library and assets](https://tatolab.com/docs/studio/library)
- [Marketplace and modules](https://tatolab.com/docs/studio/marketplace)
- [Run and watch](https://tatolab.com/docs/studio/run)
- [Build with an agent](https://tatolab.com/docs/studio/agents) (MCP)

## Build

- [Write a node](https://tatolab.com/docs/build/nodes) (Python and Slang)
- [GPU effects](https://tatolab.com/docs/build/gpu-effects) (Slang)
- [Use your model](https://tatolab.com/docs/build/models) (PyTorch and more)
- [Audio](https://tatolab.com/docs/build/audio)
- [Encode and save](https://tatolab.com/docs/build/recording)
- [Virtual camera](https://tatolab.com/docs/build/virtual-camera) (Linux)
- [WebRTC](https://tatolab.com/docs/build/webrtc) (WHIP and WHEP)
- [Share between streams](https://tatolab.com/docs/share/between-streams) (MoQ)
- [Across machines](https://tatolab.com/docs/share/across-machines)

## Code and CLI

- [Streams and graph documents](https://tatolab.com/docs/build/graphs)
- [Manage projects](https://tatolab.com/docs/run/manage) (tatolab)
- [Inspect a running stream](https://tatolab.com/docs/run/inspect)
- [Logs](https://tatolab.com/docs/run/logs)
- [Deploy to a machine](https://tatolab.com/docs/run/deploy)
- [CLI reference](https://tatolab.com/docs/reference/cli)
- [Python SDK reference](https://tatolab.com/docs/reference/python-api) (tatolab.stream)
- [Nodes that ship with Tato](https://tatolab.com/docs/reference/built-in-nodes)
- [Agents and MCP](https://tatolab.com/docs/share/agents)
- [Troubleshooting](https://tatolab.com/docs/reference/troubleshooting)

## How Tato works with live data

Live data tends to stay inside the program that produces it. A camera feed, a microphone, a sensor or the output of a model belongs to the one process that opened it, and everything else that needs it, a recorder, a display, a teammate's script or an agent, needs capture code of its own, a way to move the data, and a way to find out why it stopped.

Tato gives live data one shape and one home on each machine, and **Tato Studio** is where you build with it:

- **A project** holds your work. Make one in Studio, start from a sample, or import one someone shared. See [Projects](https://tatolab.com/docs/studio/projects).
- **A stream** is a composition: a graph of **nodes** joined by wires between their **pins**. Drop nodes in, connect them, and set the values on their pins, while it runs. See [Build a graph](https://tatolab.com/docs/studio/graph) and [Streams as compositions](https://tatolab.com/docs/studio/streams).
- **Every pin has a type**: pictures on the GPU, audio, encoded media, numbers, colours, triggers, assets. A wire only joins pins that fit.
- **Nodes come from the Marketplace or from you.** Add modules for cameras, audio, codecs, WebRTC and MoQ from the [Marketplace](https://tatolab.com/docs/studio/marketplace), or [make a node](https://tatolab.com/docs/studio/nodes) in Studio: a Python class, a function, or a Slang shader that runs on the GPU.
- **Assets live in the project**: pictures, video, scenes and models, in the [Library](https://tatolab.com/docs/studio/library).
- **One runtime per machine**, `tatolabd`, plays every project. Studio runs it while it's open; on a machine nobody sits at, it runs as a service.
- **Agents build with you.** The runtime speaks MCP, so a coding agent works on the project you have open, and each of its edits shows up in Studio as it lands. See [Build with an agent](https://tatolab.com/docs/studio/agents).
- **Everything is files.** A project is a folder of plain files, so git, the `tatolab` command and your own scripts work on it too. See [Code and CLI](#code-and-cli).

## Two streams, sharing

Here, one stream reports motion from a camera and sends the reports to a MoQ relay. A second stream, in another project, reads them there and keeps a log. In Studio, each is a handful of cards; saved, each is a graph document. This is the first, trimmed to its nodes:

```txt title="motion-watcher/streams/main.graph.json"
camerasource   tatolab.camera:CameraSource          video ──▶ detector
detector       nodes.motion_detector:MotionDetector  motion ──▶ send
moqgateway     tatolab.moq:MoqGateway               relay http://127.0.0.1:4443, broadcast "motion-watcher"
motion         tatolab.moq:MoqTrack                 track "motion" of moqgateway
send           tatolab.moq:MoqTrackSend             writes to motion
```

and the second reads the track `motion` of the broadcast `motion-watcher.hang` with a `MoqTrackReceive` into a node of its own. The camera is opened once. Each Python node runs in its own process, so a slow or failing reader can't stall the stream it reads from, and either stream can be stopped, changed and played again without touching the other. The [tutorial](https://tatolab.com/docs/tutorial) builds both, node by node.

![motion-watcher sends its motion reports to a MoQ relay, and motion-log, in another project, reads them there.](https://tatolab.com/media/docs/share-light.jpg)

## What Tato takes care of

| You'd otherwise write | Tato |
|---|---|
| A way for a second program to get the same live data | Send a port to a MoQ relay with the gateway nodes, and any other stream, or any program that speaks MoQ, reads it there. |
| Isolation, so one bad consumer can't take everything down | Every Python node runs in its own process, with your project's packages. A reader that falls behind drops data at its own input, and the drop is counted. |
| A way to see what's happening | Tato Studio shows the graph live, any node's output, and every edit in its History; `tatolab streams` says what's running and why anything failed; `tatolab graph` shows every node, link and counter; each project writes one JSON Lines log. |
| A way for an agent to work with it | The runtime serves MCP. An agent can open and play projects, read the graph and the logs, write nodes, and add, connect and set them, live in Studio beside you. See [Build with an agent](https://tatolab.com/docs/studio/agents). |
| The fiddly media parts | Modules for the camera, microphone, speaker, virtual camera, hardware H.264 and H.265, Opus, WebRTC and the MoQ gateway. Frames stay in GPU memory and reach PyTorch without a trip through the CPU. |

## Code and CLI

Everything Studio does, you can also do from files and the command line: edit graph documents by hand, run projects with `tatolab`, and deploy them to machines with no screen. That's the **Code and CLI** section of these docs:

- [Build in code](https://tatolab.com/docs/build/graphs): graph documents, writing nodes, GPU effects, models, audio, recording and more.
- [Run from the CLI](https://tatolab.com/docs/run/manage): manage projects, inspect a running stream, read logs, and deploy.
- [Reference](https://tatolab.com/docs/reference/cli): the CLI, the Python SDK, the nodes that ship with Tato, and troubleshooting.

## At a glance

- **Platforms.** Linux on x86_64 with a Vulkan GPU (we test on NVIDIA), and Apple silicon Macs with macOS 26 or later. Windows isn't supported.
- **The app.** Tato Studio, on macOS and Linux, carries the runtime and runs it while it's open. See [Install](https://tatolab.com/docs/install).
- **SDK.** Python 3.12 or 3.13, with `tatolab-stream` from PyPI. See [Python SDK](https://tatolab.com/docs/install/python).
- **Sharing.** Through a MoQ relay you run, one from Cloudflare, or a moq.pro project, with the `tatolab-moq` gateway nodes. See [Share between streams](https://tatolab.com/docs/share/between-streams).

## Get help

- Found a bug or a confusing page? Open an issue on [GitHub](https://github.com/tatolab/streamlib/issues), or email [hello@tatolab.com](mailto:hello@tatolab.com).
- Using an AI assistant? Every page here is also Markdown: add `.md` to the address, or point your assistant at [/llms.txt](https://tatolab.com/llms.txt).
