What is Sphinx?
Sphinx is an AI assistant for data science that lives inside your code editor. It understands Jupyter notebooks, executes Python code, and helps you analyze data through natural conversation.Installation
Get Sphinx installed in VS Code, Cursor, or Windsurf in minutes.
Getting Started
Follow our quickstart guide to run your first AI-powered analysis.
Supported Editors
Sphinx works with any VS Code-compatible editor:| Editor | Marketplace |
|---|---|
| VS Code | VS Code Marketplace |
| Cursor | Open VSX Registry |
| Windsurf | Open VSX Registry |
Sphinx requires VS Code 1.96.0 or later (or equivalent editor version). The Microsoft Jupyter extension is automatically installed as a dependency.
Key Features
Notebook Integration
Sphinx deeply integrates with Jupyter notebooks. It can:- Create and edit cells — Add new code or markdown cells, modify existing ones
- Execute code — Run cells and observe outputs, including DataFrames and visualizations
- Understand context — Track variables, imports, installed packages, and the current working directory
- Manage checkpoints — Automatically save notebook state for easy recovery
Operation Modes
Choose how much autonomy Sphinx has:Agent Mode
Sphinx works autonomously, executing and iterating until the task is complete.
Plan Mode
Sphinx creates a plan first, letting you review before execution begins.
Safe Mode
Every code execution requires your explicit approval.
AI Capabilities
- Web search — Query the web for documentation, tutorials, and current information
- File search — Find, list, and read files in your workspace
- Memories — Sphinx learns about your data and preferences over time
- Rules — Configure custom instructions to guide Sphinx’s behavior
Keyboard Shortcuts
| Action | macOS | Windows/Linux |
|---|---|---|
| Open Sphinx | Cmd+T | Ctrl+T |
Commands
Access these commands through the Command Palette (Cmd+Shift+P / Ctrl+Shift+P):
| Command | Description |
|---|---|
| Sphinx: Open Chat | Open the Sphinx chat panel |
| Sphinx: New Conversation | Start a fresh conversation |
| Sphinx: Open Sphinx Rules | Configure custom rules for Sphinx |
| Sphinx: Create Streamlit App | Convert your notebook into a Streamlit dashboard |
| Sphinx: Collapse Exploratory Cells | Hide intermediate exploration cells |
| Sphinx: Restart | Restart the Sphinx extension |
| Sphinx: Log Out | Sign out of your Sphinx account |
| Sphinx: Open Welcome Tour | Replay the onboarding walkthrough |
Settings
Customize Sphinx behavior in your editor settings (Cmd+, / Ctrl+,):
Notebook Behavior
Notebook Behavior
| Setting | Default | Description |
|---|---|---|
sphinx.autosave | true | Automatically save the notebook after each step |
sphinx.enable-checkpoints | true | Keep notebook checkpoints for recovery |
sphinx.collapse-exploratory-cells | false | Auto-collapse exploratory cells when generated |
AI Features
AI Features
| Setting | Default | Description |
|---|---|---|
sphinx.memory-read | true | Use learned insights to inform actions |
sphinx.memory-write | true | Learn new insights about your data |
sphinx.web-search | true | Allow web searches for information |
sphinx.require-web-search-approval | false | Require approval before each web search |
File & Package Access
File & Package Access
| Setting | Default | Description |
|---|---|---|
sphinx.file-search | true | Search, list, and read workspace files |
sphinx.package-installation | true | Allow Sphinx to install new packages |
sphinx.ripgrep-installation | true | Install ripgrep for faster file search |
Execution Control
Execution Control
| Setting | Default | Description |
|---|---|---|
sphinx.enable-runtime-interrupts | true | Interrupt cells that run too long |
sphinx.show-edit-cell-wand | true | Show the edit wand icon in cells |
Architecture
Sphinx consists of three components working together:Your code runs locally in your Jupyter kernel. Sphinx sends code snippets to the server for AI analysis, but execution happens on your machine.
Next Steps
Install Sphinx
Step-by-step installation for VS Code, Cursor, and other editors.
Configure Rules
Set up custom rules to guide how Sphinx works with your projects.
Connect Data Sources
Link Snowflake, Databricks, and other data warehouses.
Explore Capabilities
Learn about the Sphinx Python library and AI capabilities.