Get started with the Pieces for JupyterLab extension
Ask questions about your code, save useful scripts, and streamline your workflow.
Installation via CLI
• Install Pieces directly from JupyterLab
• Run this command: pip install jupyter-pieces
3000+
users and counting
5.0
stars average rating
Store useful snippets in your secure, on-device Pieces repository for later reference and reuse.
Expand your code’s context
Experience your code snippets in a detailed Markdown format, making it easier to comprehend the code and its context.
Discover and save snippets automatically
Automatically save every block containing code in a particular notebook. If you have a lengthy code cell, our AI will segment it into multiple manageable snippets.
Leverage the Pieces Copilot in your notebooks
Use our AI copilot, contextualized on your workflow, to ask questions about your code, generate relevant snippets, add comments to code, and much more.
Search, sort, and retrieve snippets with ease
Leverage our blazingly-fast search experience to locate your snippets swiftly. Sort by recent or language for a quicker and more efficient retrieval process.
Use Pieces across your workflow
Experience the power of our “tool in-between tools” throughout your day-to-day projects. Pieces deeply integrates with all of your favorite tools, evolving your interactions with code snippets from end-to-end.