Skip to main content

HDSP Agent JupyterLab Extension - Thin client for Agent Server

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hdsp_jupyter_extension-2.1.29-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file hdsp_jupyter_extension-2.1.29-py3-none-any.whl.

File metadata

File hashes

Hashes for hdsp_jupyter_extension-2.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 b25ca200df0880df631b6c8e2a57c8505b80271d2bf877e0c36dc55232eb5032
MD5 fb9f297e48058aea6ac27bd5a2b2bb1e
BLAKE2b-256 5f6bfdbce6fa45139540d92137f03a8499146b3acab0c0f8291a49f3526d952d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page