jupyter-ai-chat-commands
Package providing the set of default chat commands in Jupyter AI.
What it is and what it does
jupyter-ai-chat-commands is a JupyterLab extension that adds two built-in chat commands to Jupyter AI: @file: for attaching files to chat messages, and /refresh-personas for reloading locally-defined personas from the .jupyter/personas directory. It consists of both a Python server extension and a frontend NPM package that integrate with the Jupyter AI ecosystem.
The package requires JupyterLab >= 4.0.0 and Python >= 3.10. It depends on jupyter-ai-persona-manager, jupyter-ai-router, jupyter-server, and jupyterlab-chat. Installation is straightforward via pip, and the extension is enabled automatically; troubleshooting involves checking jupyter server extension list and jupyter labextension list if the commands do not appear.
Use it for:
- Attach local files to AI chat messages without manual copy-paste in JupyterLab notebooks.
- Reload custom AI personas from .jupyter/personas directory without restarting JupyterLab.
- Extend Jupyter AI chat interface with file-based context for code review or documentation tasks.
- Manage multiple AI personas for different workflows within a single JupyterLab session.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides default chat commands for Jupyter AI, including file attachment and persona management within JupyterLab.
Yes, if you use Jupyter AI and need file attachment or persona management in chat. The package is actively maintained, has low install friction, carries a permissive BSD 3-Clause License, and has no known vulnerabilities. It is a straightforward extension to core Jupyter AI functionality with no notable blockers.
Install
jupyter-ai-chat-commands on PyPI
pip
pip install jupyter-ai-chat-commandsuv
uv add jupyter-ai-chat-commandspoetry
poetry add jupyter-ai-chat-commandsInstalling jupyter-ai-chat-commands
Before you install
Low install friction with a pure Python wheel. Active maintenance as of 2026-08-11. Depends on jupyter-server and jupyterlab-chat, which are standard Jupyter ecosystem packages.
License in practice
BSD 3-Clause License permits commercial and private use with minimal restrictions; you may use, modify, and distribute provided you retain copyright notices and disclaimers.
Quickstart
pip install jupyter_ai_chat_commands
Then verify installation:
jupyter server extension list
jupyter labextension list
Requires JupyterLab >= 4.0.0 and Python >= 3.10
Verify before relying
- Whether the @file: command supports all file types or has size/format restrictions.
- Whether personas in .jupyter/personas are auto-discovered or require explicit registration.
- Performance impact when managing large numbers of custom personas.
Package facts
| License | BSD 3-Clause License Copyright (c) 2025, Project Jupyter All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — jupyter-ai-persona-manager, jupyter-ai-router, jupyter-server, jupyterlab-chat |
| Maintenance | actively maintained — 283 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 80,125/month — #14,320 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jupyter_ai_chat_commands-0.0.4-py3-none-any.whl
Keywords: jupyter, jupyterlab, jupyterlab-extension
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
jupyter-ai-persona-managerProvides the foundational infrastructure for…
permissive · top 15,000 on PyPI
jupyter-ai-routerProvides the core message routing layer for…
permissive · top 15,000 on PyPI
jupyterlab-chatA JupyterLab extension that adds a chat…
permissive · top 15,000 on PyPI
jupyterlab-commands-toolkitExposes JupyterLab commands to Python code and…
permissive · top 15,000 on PyPI
jupyter-ai-acp-clientProvides a JupyterLab extension that integrates…
permissive · top 15,000 on PyPI
jupyter-archiveA JupyterLab extension that adds archive…
permissive · top 15,000 on PyPI
jupyter-aiJupyter AI is a JupyterLab extension that…
permissive · top 15,000 on PyPI
jupyter-ai-magicsJupyter AI Magics provides a JupyterLab…
permissive · top 15,000 on PyPI
jupyter-server-documentsA JupyterLab extension that moves document…
permissive · top 15,000 on PyPI
jupysql-pluginA JupyterLab 4 extension that integrates…
permissive · top 15,000 on PyPI