Your AI connector for JupyterLab
JupyterLab is the gold standard for exploratory programming, data science, and reproducible research. But when your project grows or your questions get more complex, context can disappear fast.
Pieces is your AI connector for JupyterLab: a seamless extension that embeds smart code understanding, personalized AI assistance, and long-term memory directly into your notebook workflow.
Whether you’re running on macOS, Windows, or Linux, Pieces transforms JupyterLab into a smarter, more supportive environment for any technical project.
Why use Pieces as your AI connector for JupyterLab?
Stay in the flow with AI where you work
Pieces adds context-aware AI features directly into JupyterLab through its native extension, no copying code to another window, no pasting back results. With Copilot built in, you can ask questions, get explanations, and debug your notebooks in real-time.
Ask what a function does
Get help fixing a bug
Annotate or comment code automatically
Stay focused inside your cell, not in a separate tab
Designed for reproducibility and transparency
Pieces for JupyterLab is offline-first and privacy-respecting. Everything you save, search, and generate is stored locally unless you explicitly opt into cloud sync. It's a perfect companion to the open, inspectable spirit of the Jupyter ecosystem.
Smart snippet memory for technical teams
Beyond AI, Pieces gives you a personal, searchable snippet system right in your notebook interface. Save frequently used functions, enrich code with metadata, and share snippets with collaborators.
Set up your AI connector for JupyterLab
Step 1: Install PiecesOS
PiecesOS powers all context, AI enrichment, and local storage across Pieces tools. You must install it separately for the extension to work.
Compatible with macOS (Intel & ARM), Windows 10+, and Ubuntu 22.04+
Download PiecesOS
Or install via Snap:
Once installed, launch it from your terminal or desktop.
Step 2: Install the extension via pip
Use this pip command:
pip install jupyter-pieces
Make sure JupyterLab extensions are enabled. The extension is compatible with JupyterLab 4.0.0 and higher.
Note: Pieces for JupyterLab is currently in beta.
Step 3: Sign in and start using Pieces
Sign in to your Pieces account the first time you launch the extension to unlock advanced features like Copilot, cloud sync, and metadata enrichment.
What else is there?
Copilot: context-aware AI assistant
Powered by qGPT, Copilot lives inside your Jupyter notebook and interacts directly with your cells and project history.
Click the Copilot icon to open the chat
Highlight code → right-click → Ask Copilot
Get contextual answers based on your notebook, not generic suggestions
Whether you're exploring a dataset or writing documentation, Copilot is always ready to help.
Enrich selected code
Right-click any code snippet and choose Enrich with Description to get a clear explanation of what your code is doing ideal for learning, collaboration, or memory.
Real-time syncing across tools
Any code you save or edit in JupyterLab syncs in real time. No manual exports or copy-pasting needed.
Works completely offline by default
Saves metadata: language, timestamp, related tags, usage notes
Blazingly fast search via text, tags, or neural context
Optional sharing via secure, link-based snippets
Privacy and control, by design
Pieces for JupyterLab was built with offline-first principles and on-device machine learning in mind.
No cloud required: All data is stored locally unless you opt in
No tracking or telemetry: We don’t see your code, ever
ML runs on your device: Over 80% of AI enrichment happens offline
Control cloud features: Enable or disable sync at the snippet level
You decide what stays private and what gets shared.
Try Pieces for JupyterLab today
Whether you're exploring how to use AI in JupyterLab, looking for a Jupyter Copilot alternative, or managing research projects with better documentation, Pieces helps you do it faster, with more context.