Jupyter AI README
jupyterlab/jupyter-ai · BSD-3-Clause · 源码版本 3c952fdd
上手导读
安装与准备
按项目版本说明安装扩展,启动 JupyterLab 并配置模型提供方。
试用示例
让助手解释一段已有的聚合逻辑,然后用手算样本验证。
Jupyter AI
An open source extension that connects AI agents to computational notebooks in JupyterLab.
Jupyter AI brings agentic AI to JupyterLab. It provides a native chat UI where you can collaborate with frontier AI agents — including Claude, Codex, GitHub Copilot, Gemini, Goose, Kiro, Mistral Vibe, and OpenCode — all integrated through the Agent Client Protocol (ACP). Agents are automatically detected when their dependencies are installed, so getting started is as simple as installing Jupyter AI and the agent of your choice.
Agents in Jupyter AI can read and write files, run terminal commands, and interact with notebooks through a built-in Jupyter MCP server. A permission system gives you guardrails over agent actions — agents request approval before writing files or executing commands. You can also create multiple concurrent chats, drag and drop files or notebook cells as context, and collaborate in real time with other users connected to the same server.
Jupyter AI is designed to be flexible and extensible. You can add custom MCP servers to give agents access to domain-specific tools, resources, and prompts. Developers can build and register their own AI personas using the entry points API. By building on open standards like ACP and MCP, Jupyter AI avoids vendor lock-in and gives you access to the full ecosystem of compatible agents and tools.
Packages
This repository contains two packages, released together:
jupyter-ai: the agent chat for JupyterLab. It includesjupyter-ai-core.jupyter-ai-core: JupyterLab with the extensions that let a coding agent in your terminal work in it.
Quick Links
- Getting Started — installation, agent setup, and first chat
- User Guide — chat features, notebook tools, and custom MCP servers
- Contributor Guide — how to contribute to Jupyter AI
- Developer Guide — building custom agents and MCP servers
- Troubleshooting — common issues and solutions
Governance
Jupyter AI is currently under incubation as part of the JupyterLab organization.
原作者与许可证
文档来自 jupyterlab/jupyter-ai 的上述提交,保留原文并调整了站内排版与链接。
查看仓库许可证原文 ↗BSD 3-Clause License Copyright (c) 2023, Project Jupyter All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

