xtralab
An opinionated JupyterLab meta-package for coding agents.
xtralab installs JupyterLab with a set of extensions and defaults for work
with terminal coding agents: an agent launcher, side-by-side git diffs for
text files and notebooks, prompts about selected code, and a Model Context
Protocol server that lets agents drive the app. It builds on
ajlab, the agent-ready JupyterLab base.

See the documentation for the
installation, a
getting started tutorial,
the features, and the
desktop app.
Install
Install from PyPI with pip:
pip install xtralab
xtralab
Or create an environment with the
conda-forge package:
conda create -n xtralab -c conda-forge xtralab
conda activate xtralab
xtralab
To run xtralab in any folder using a temporary environment, use
Pixi:
pixi exec --channel conda-forge xtralab
Or use uv:
uvx xtralab
The installation docs also
show how to install xtralab as a uv tool, add it to a Pixi or uv project,
and upgrade it.
To run xtralab in the browser, with no server, build a
JupyterLite site with
xtralite:
pip install xtralite
jupyter lite build
See the JupyterLite docs.
The desktop app (DMG on macOS, AppImage on Linux) is on the
releases page. It
includes its own Python runtime. See the
desktop app docs.
Highlights
Agent launcher
Start any coding agent installed on your machine, with an optional first
prompt. The Changes list opens the diff of each changed file.
Read more.
Git diffs
Review changes side by side, for text files and for notebooks, and edit the
working copy in the diff.
Read more.
Ask an agent
Select code, type an instruction, and send it to a new or running agent. The
prompt includes the file path, the line range, and the selected code.
Read more.
Omnibox
Search files and commands, or send a prompt to an agent, from one search box
(Cmd/Ctrl+K).
Read more.
Terminals panel
See the agent in each terminal and its latest line of output.
Read more.
Connecting agents to JupyterLab (MCP)
xtralab runs a Model Context Protocol server inside JupyterLab,
provided by jupyter-server-mcp, so an agent can open files, run
cells, and read notebooks. For Claude Code, the xtralab plugin registers the
server and installs the agent skills. It starts the proxy with uv:
claude plugin marketplace add jtpio/xtralab
claude plugin install xtralab@xtralab
Without uv, or for another agent, register the bundled proxy from a terminal
inside xtralab:
claude mcp add jupyter -- jupyter-server-mcp-proxy
The launcher shows this command for each installed agent. See the
MCP docs for Codex, GitHub
Copilot, and other agents.
JupyterLite