HDSP Jupyter Extension
JupyterLab extension for AI-powered code assistance with embedded agent services.
Architecture
This extension runs agent services in-process:
- Provides the JupyterLab frontend UI
- Handles Jupyter-specific integration (kernel communication, notebook manipulation)
- Runs LLM-based agent services directly via
hdsp_agent_core
Prerequisites
- JupyterLab: Version 4.0 or higher
Installation
Development Installation
# Install dependencies
yarn install
# Build extension
yarn build
# Install in JupyterLab (development mode)
pip install -e .
jupyter labextension develop . --overwrite
Starting the Development Environment
cd extensions/jupyter
jupyter lab
Configuration
Configure LLM settings in ~/.jupyter/hdsp_agent_config.json:
{
"provider": "vllm",
"vllm": {
"endpoint": "https://openrouter.ai/api/v1",
"apiKey": "",
"model": "openai/gpt-4o"
}
}
Development
Watch Mode
# Terminal 1: Watch TypeScript
yarn watch:src
# Terminal 2: Watch labextension
yarn watch:labextension
Testing
# Run UI tests
yarn test:ui
# Run UI tests with browser visible
yarn test:ui:headed
License
MIT
Release files for hdsp-jupyter-extension 2.1.61
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hdsp_jupyter_extension-2.1.61-py3-none-any.whl | Python 3 | none | any | Details |
Release files / hdsp_jupyter_extension-2.1.61-py3-none-any.whl
| Download URL | hdsp_jupyter_extension-2.1.61-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e987562fdf331a514deb022656ac79f90a8175d641cc5a4ccc4a027b555deafb
|
|
BLAKE2b-256 checksum How to use checksums |
961f6d9c0cf1e28cbbbcb754c9f2fc66a48eb5807eb7cf6e99d3ada03564c2c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|