Agent Runner for JupyterLab
Agent Runner for JupyterLab is a standalone JupyterLab 4 prebuilt extension with an authenticated Jupyter Server gateway and a bundled Pi coding agent. It exposes the Agent Runner Project Center and project-bound Chatrooms without requiring the VS Code extension.
The browser only talks to the same-origin Jupyter Server. The Python extension checks
~/.agent-runner/chatbox/websocket.json and reuses a healthy loopback Agent Runner
backend when one already owns the shared state. Otherwise, JupyterLab starts its own
single-owner backend and built-in Pi Manager. Both surfaces use the same project
descriptors and JSONL Chatroom history, while their browser-facing WebSocket routes
remain separate.
A fresh Jupyter-only installation creates Townhall plus a project for the Jupyter
Server root directory. Pi uses the existing OpenAI Codex credentials in
~/.pi/agent/auth.json; when credentials are absent, the Chatroom displays a
Sign in to Pi device-flow action. The bundled agent requires Node.js 22.19 or
newer.
Development
All commands run from this directory and use uv:
uv sync --locked --all-groups
uv run jlpm install --immutable
uv run jlpm build
uv run pytest
uv run jupyter labextension develop . --overwrite
uv run jupyter server extension enable --py jupyter_agent_runner --sys-prefix
uv run jupyter lab
Enter adds a line in the Chatroom composer. Shift+Enter sends. The routing selector
is additive with @agent, @manager, and @channel mentions understood by the Agent
Runner backend.
Build
uv run jlpm build:prod
uv build
The wheel contains the federated frontend assets, server-extension enablement, and
the bundled Pi runtime. The browser never reads ~/.agent-runner directly.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyter_agent_runner-0.1.0.tar.gz.
File metadata
- Download URL: jupyter_agent_runner-0.1.0.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b43b56a40a942f6f31273d1d8658a70ed37e9ae6276a2645c09a183071e8a0
|
|
| MD5 |
e8e9a09a13587b17f91b6e5eb427df17
|
|
| BLAKE2b-256 |
f114786a2002f149adf93aa1076ab52ff1efbf7b872a0165395b2d86f86689f0
|
File details
Details for the file jupyter_agent_runner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jupyter_agent_runner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dab62fd7cb889d2c6ca194312db656cc1187f49de86eaba9d823040141084c6
|
|
| MD5 |
a85b66be99f9a22342d9f90c796e364d
|
|
| BLAKE2b-256 |
3ca7d12d820820d2538ce5ab3a1908af2f81669c0c0b869e1d6a80410dc595ee
|