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

This version

2.1.5

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hdsp_jupyter_extension-2.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0375ab499778f329cfc5e282d0f81f4e9de3f4bb4f2e7aa5d5de383af7c70781
MD5 22140aec5c81301e9f3c9c4b88f7fa90
BLAKE2b-256 c94b68b53f2d27832c296081af026aa356673ae15a42d74f448724851210e34e

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