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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hdsp_jupyter_extension-2.0.87-py3-none-any.whl
Algorithm Hash digest
SHA256 e9c7f70d1d5dd7c686911dfa3173dc46507e37ba6cd8392730868a81b1820fac
MD5 432cd3e7b5be5b90338fe78eb59fcf11
BLAKE2b-256 298220e3b7e6efaaef6cb0dd9d3d12186686eb6b8c266cbbdbf791c5166f8957

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