Skip to main content

Jupyter AI integration with Claude Code

Project description

Jupyter AI Claude Code

Jupyter AI integration with Claude Code persona for enhanced development capabilities.

Features

  • Claude Code Integration: Full Claude Code persona for Jupyter AI
  • Continuous Conversation: Maintains conversation context across multiple messages
  • Development Tools: Access to Claude Code's built-in development tools
  • Seamless Integration: Works with existing Jupyter AI workflow
  • Template Management: Interactive task progress tracking and updates

Setup

This project uses pixi.sh for dependency management and environment setup.

Prerequisites

Install pixi.sh:

curl -fsSL https://pixi.sh/install.sh | bash

Installation

  1. Clone the repository:
git clone <repository-url>
cd jupyter-ai-claude-code
  1. Enter the pixi shell environment:
pixi shell

Usage

Start JupyterLab

pixi run start

This will start JupyterLab with the Jupyter AI extension and Claude Code persona available.

Using Claude Code Persona

  1. Open JupyterLab
  2. Open the Jupyter AI chat panel
  3. Select "Claude" persona
  4. Interact with Claude Code's development tools

Continuous Conversation

The Claude Code persona now supports continuous conversation, which maintains context across multiple messages in a chat session. This allows Claude to:

  • Remember previous questions and answers
  • Build upon earlier context in the conversation
  • Provide more coherent multi-turn interactions

Session Management:

The persona automatically manages conversation sessions. Each time you send a message, it's added to the ongoing conversation context.

How it works:

  • The first message automatically creates a new ClaudeSDKClient session.
  • Subsequent messages reuse the same client to maintain conversation context.
  • The client persists until you start a new session in the chat window.

Build the Package

The package is automatically installed in editable mode during pixi shell. To manually build:

pixi run python -m build

Development

The package source code is located in src/jupyter_ai_claude_code/.

Dependencies

  • JupyterLab: Latest stable version from conda-forge
  • Jupyter AI: Version 3.0.0b5 from PyPI
  • Claude Code SDK: For Claude Code integration
  • Python: >=3.8

License

Revised BSD

Project details


Download files

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

Source Distribution

jupyter_ai_claude_code-0.0.1.tar.gz (45.1 kB view details)

Uploaded Source

Built Distribution

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

jupyter_ai_claude_code-0.0.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_ai_claude_code-0.0.1.tar.gz.

File metadata

  • Download URL: jupyter_ai_claude_code-0.0.1.tar.gz
  • Upload date:
  • Size: 45.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for jupyter_ai_claude_code-0.0.1.tar.gz
Algorithm Hash digest
SHA256 802a0e26362c745b30575876002929a0b8406836914ea81605a69402afa23ae3
MD5 9249b0e6c6be232561d724dbe753624e
BLAKE2b-256 db944e7c23b92234a088bad4b18a2a4a48a42186d1a37bfa36bbf46389db6043

See more details on using hashes here.

File details

Details for the file jupyter_ai_claude_code-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_ai_claude_code-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea8b6e746f2c4fd0032e76e77471ce5972c9d66223fae1a92c7288f38be719d5
MD5 17009eddc3c2999760c60ebd70fe55bf
BLAKE2b-256 579562a70b50b578a72ef124c748687b1d9342de16c5560251fbcc6b6b371d43

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