Jupyter AI integration with Claude Code persona for enhanced development capabilities.
- 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
This project uses pixi.sh for dependency management and environment setup.
Install pixi.sh:
curl -fsSL https://pixi.sh/install.sh | bash- Clone the repository:
git clone <repository-url>
cd jupyter-ai-claude-code- Enter the pixi shell environment:
pixi shellpixi run startThis will start JupyterLab with the Jupyter AI extension and Claude Code persona available.
- Open JupyterLab
- Open the Jupyter AI chat panel
- Select "Claude" persona
- Interact with Claude Code's development tools
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
ClaudeSDKClientsession. - Subsequent messages reuse the same client to maintain conversation context.
- The client persists until you start a new session in the chat window.
The package is automatically installed in editable mode during pixi shell. To manually build:
pixi run python -m buildThe package source code is located in src/jupyter_ai_claude_code/.
- 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
Revised BSD