Plugin Playground AI Integration for Faster Plugin Prototyping
Learn how we integrated AI into Plugin Playground to help you create, edit, test, package, and share JupyterLab plugins faster in JupyterLite and Binder.
Learn how we integrated AI into Plugin Playground to help you create, edit, test, package, and share JupyterLab plugins faster in JupyterLite and Binder.
Building a JupyterLab plugin usually starts with small experiments - you test your ideas, change a few lines, reload, and repeat. Learn how we integrated AI into the Playground AI to help with this process.
Plugin Playground was built for this kind of fast iteration. The new AI integration makes it even easier by combining AI assistance with Playground actions in one workflow.
AI can help across the full plugin lifecycle, from first idea to a shareable result.
Plugin Playground is a workspace for rapid plugin prototyping inside JupyterLab. Instead of setting up a full extension project first, you can work directly in an editor tab and run your plugin quickly.
Key capabilities include:
This keeps the loop very short: write, load, test, refine.
Plugin Playground supports AI-assisted prototyping in local JupyterLab and in online deployments that require no installation: Binder (a hosted JupyterHub environment) and JupyterLite (a serverless, WebAssembly-based distribution of Jupyter). Once your provider and model are configured, AI can help with all major steps.
You can describe a feature in plain language and ask AI to draft a plugin skeleton. This is useful for:
Instead of starting from a blank file, you start from a working draft and iterate.

As you edit, AI can help with:
This makes iteration smoother, especially in early prototypes where requirements keep shifting.
Plugin Playground already exposes extension context such as tokens, commands, packages, and examples. With AI, that context becomes easier to use during authoring.
You can ask AI to:
This reduces manual searching and speeds up decision-making.
Plugin Playground actions can be used across normal editing, scripting, automation, and agent workflows.
These actions include:
These actions support both authoring and operational tasks across the workflow.

The command insertion modes are available while editing:
Insert in selection for direct placementPrompt AI to insert for context-aware placementThis helps place command calls quickly in the right context.

For readers who want the implementation details, we focused on four design choices.
jupyterlite/ai over jupyter-aiWe wanted one integration layer that works across local JupyterLab, Binder, and JupyterLite with minimal environment-specific branching. As outlined in the Jupyter AI FAQ, both jupyter-ai and jupyterlite/ai support overlapping AI capabilities, including tool calling in Jupyter interfaces. The key architectural difference is that jupyterlite/ai does not require a server component, while jupyter-ai is server-backed and can continue workflows when a browser disconnects.
For this browser-first Plugin Playground workflow, the serverless model of jupyterlite/ai was the better fit.
We integrated a dedicated plugin-creation skill so the assistant can produce a solid first draft of a JupyterLab plugin without guessing project structure each time. This keeps generated code closer to Plugin Playground workflows and reduces repetitive setup.
Tool calling is wired into the same command system that powers JupyterLab UI actions. In practice, that means AI-triggered actions and manual actions both go through familiar command pathways, including create, load, discover, export, and share flows.
This approach keeps behavior consistent, makes debugging easier, and fits naturally into JupyterLab's command-first ecosystem.
jupyterlite/aiWe also contributed improvements upstream while building and validating this workflow:
A simple and practical flow looks like this.
Example goal: create a small plugin that adds a command to the command palette and opens a simple panel.
This gives you a single continuous flow from idea to working plugin, without heavy setup upfront.
The biggest benefit is speed with clarity.
In short, this integration turns Plugin Playground into both:
Even with AI, keep the basics strong:
AI should speed up engineering decisions, not replace verification.
Plugin Playground already made JupyterLab plugin prototyping easier. With broader AI integration, it now helps across creation, refinement, discovery, testing, packaging, and sharing.
If you want to build plugin ideas quickly and collaborate on them early, this workflow is one of the most practical ways to do it.
Benchmarks, deep dives, and lessons from OpenTeams engineers. Leave your email, or follow the feed.