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.0.80-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hdsp_jupyter_extension-2.0.80-py3-none-any.whl
Algorithm Hash digest
SHA256 60279eb5c5d96d476b714828b5919ddeb97345bf9768d7942079163be1a988e9
MD5 f34cc731319974e662e8d62cf11c8fdd
BLAKE2b-256 7b95315a30b5c1db33441763e32e195758723084b60d4a48ec07e1321069d1f6

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