What is the Block Terminal
The block terminal is an in-browser terminal that runs AI agent sessions. It lets you interact with an AI agent directly from the Ticket House web UI without switching to a local terminal or IDE. The agent can read and write files, run commands, and interact with your ticket — all within the browser.
Starting a Session
To start a block terminal session:
- Open a ticket in the web UI
- Click the terminal icon or "Open Terminal" button
- The block terminal opens with the AI agent connected to the ticket's workspace
The agent starts with context about the current ticket and has access to the worktree's files.
How It Works
The block terminal uses DCS (Device Control String) terminal integration to communicate between the browser and the AI agent running on the workstation. Commands and responses flow through the workstation's WebSocket connection.
The agent has access to:
- The ticket's worktree files
- Shell commands within the workspace
- MCP tools for ticket management
Use Cases
- Quick investigations — ask the AI to look at a bug without setting up a local environment
- Code generation — have the AI write code directly in the worktree
- Debugging — let the AI run tests and diagnose failures
- Reviews — ask the AI to review changes in the current branch