Skip to main content
Terminal Use is easiest to understand when you start from the resource model instead of the API surface.

The Primitives

The Two Loops

Deploy Loop

  1. Write or change agent code.
  2. Run tu deploy.
  3. Terminal Use creates a new version.
  4. That version becomes active on the branch’s environment.
See Deployments.

Run Loop

  1. Create or choose a filesystem.
  2. Create a task against an agent.
  3. Send events to the task.
  4. Read streamed messages and persisted state.
  5. Pull the filesystem back out if you need the results locally.
See Task Lifecycle.

What Gets Mounted Into Runtime

When a task runs with a filesystem attached, the runtime sees: Agent code itself is mounted separately and read-only inside the sandbox.

One Important Distinction

The Python SDK is the public agent runtime surface. The TypeScript and Python clients are for calling deployed agents and managing resources from your app or backend. Use Building Agents for the runtime model and Using Agents for app-side integration.