Jupyter AI
Official JupyterLab extension for chat and magics with your own model keys.
Overview
Jupyter AI adds a chat panel and %%ai cell magics to JupyterLab and notebooks. It supports many providers through LiteLLM-style configuration, including OpenAI, Anthropic, Gemini, Bedrock, Mistral and Ollama, with keys stored in your local settings.
- Chat sidebar
- %%ai magic commands
- Notebook context
- Many providers
Our verdict
What we like
- Maintained by Project Jupyter
- Works in existing notebooks
Watch out for
- Setup varies by provider
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in Jupyter AI
Grade A
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
8 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Jupyter AI FAQ
- Does Jupyter AI support bring your own key?
- Yes. Jupyter AI accepts your own API key from OpenAI, Anthropic, Google Gemini, AWS Bedrock, Mistral, Azure OpenAI, Ollama and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does Jupyter AI store my API key?
- On your device. Requests go directly from Jupyter AI to the provider. Its BYOK Tools Key Safety Score is 100/100.
- Is Jupyter AI free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is Jupyter AI open source?
- Yes. The source code is at https://github.com/jupyterlab/jupyter-ai. It can also be self-hosted.
- Can Jupyter AI run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does Jupyter AI support?
- Web, Self-hosted.
Community reviews
No reviews yet.
Alternatives to Jupyter AI
All coding agents & ides →OpenHands
Coding Agents & IDEs
Open-source autonomous software engineering agent platform.
bolt.diy
Coding Agents & IDEs
Open-source, any-LLM version of Bolt for building full-stack apps.
marimo
Coding Agents & IDEs
Reactive Python notebook with built-in AI code generation using your keys.
Aider
Coding Agents & IDEs
AI pair programming in your terminal with git-aware edits.
Cline
Coding Agents & IDEs
Autonomous coding agent in VS Code that uses your own API keys.
Roo Code
Coding Agents & IDEs
Customizable multi-mode AI coding agent for VS Code.