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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hdsp_jupyter_extension-2.0.92-py3-none-any.whl
Algorithm Hash digest
SHA256 4f9c8f5affd2da0a3b8162a9395b0ba864ad0bc3a8ba2d9b68905b36428dd334
MD5 41eff87d8a288ea43fd2050d4a989835
BLAKE2b-256 fc2c8a9284579b47552f7f1c223ae37abbdbe028ffbf99bbb6dd399546b3da05

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