Skip to content

Getting started

This tutorial starts xtralab in a project folder, runs a coding agent, and reviews the changes that the agent makes.

Before you start:

In a terminal, go to the project folder and start JupyterLab:

Terminal window
cd my-project
jupyter lab

JupyterLab opens in your browser. The file browser shows the project folder, and the launcher opens in the main area.

Area Contents
Top bar The menu button (☰), the sidebar toggles, and the omnibox (Search…)
Left sidebar Terminals, the file browser, the Git panel, and search and replace
Main area The launcher, editors, notebooks, terminals, and diffs
Right sidebar The Prompt Queue panel, after you queue a prompt
  1. In the launcher, type a prompt in the Start an agent box. For example: Add type hints to src/acme/metrics.py.

  2. Select an agent, for example Claude.

    The agent starts in a new terminal tab with your prompt.

The launcher: a prompt box, one button per installed agent, the Open section, and the list of changed files
  1. Go back to the Launcher tab. The Changes list shows the modified and untracked files in the repository.

  2. Select a file. Its diff opens in a new tab.

  3. To correct a line, edit it on the right side of the diff. xtralab saves the change to the file.

A side-by-side diff of metrics.py with added lines highlighted on the right
  1. Open a file and select some lines.

  2. Press Cmd/Ctrl+..

  3. Type an instruction, then select the running agent as the destination.

  4. Press Enter.

    The prompt, with the file path, the line range, and the selected code, goes to the agent in its terminal.