Work with a local repository

Attach a folder on your computer to a session, have the agent inspect and change the code, and verify the result — from the desktop app or the CLI.

A workstation attachment connects a session to a folder on a computer running the local tbsp client. Shell and file work for that session then runs on your machine, under your credentials, with your repository. This guide sets that up and walks through one change.

Prerequisites

  • The desktop app or the tbsp CLI running on the machine with the repository — workstation work requires the local client to receive and execute jobs. The web client does not attach its filesystem.
  • A repository checked out on that machine.

Attach the folder

In the desktop app: use the execution controls in the composer and bind the intended folder.

In the CLI: run /sandbox to open the execution picker and choose this machine's workstation folder. The hidden compatibility command /workstation <path> also works; /workstation . attaches the current directory.

The binding sets the starting working directory. It is not a filesystem fence — approve commands after reading them, and check the execution location in tool results. A binding change applies to subsequent messages; it does not move an already-running process.

Choose a permission mode

Before asking for changes, pick how far the agent can go:

  • Plan for inspection and a proposed change without writes.
  • Auto for work with per-action approvals.
  • Bypass only where the account permits it and you accept what it skips.

Use /mode in the CLI or the permission controls in the TBSP application. See Permission modes.

Make the change

  1. Start a session and describe the task: the repository, the files or area involved, and what a successful result looks like.
  2. Review proposed commands before approving them. The tool block shows the command, where it ran, and its result.
  3. Steer active work with corrections; the agent adjusts rather than restarting.
  4. Ask it to run the relevant checks — the project's own test suite, type check, or build — and report the outcome.

Verify and keep the result

  • Inspect the diff on your machine before committing. The repository is yours; the agent's tool results describe what changed, but your own git diff is the final check.
  • Generated files appear in the session's artifacts panel and the Artifacts library when the session produces them.
  • Keep the local client connected until workstation work finishes. If it disconnects, the session cannot assume the work completed — reopen the session and inspect the result rather than blindly rerunning a write.

Workstations and jobs explains the job lifecycle and connection limits. Desktop vs. web lists which capabilities need the desktop client, and Reasoning effort, sandboxes, and workstation execution covers the TBSP application execution controls.

On this page