SADataCopilotSADataCopilot is a VS Code extension for working with AI agents directly inside Jupyter notebooks. It adds a Prompt cell type to ordinary ObjectiveSADataCopilot keeps AI assistance inside the notebook workflow. Instead of copying notebook state into a separate chat, users can ask questions in place and let the agent inspect variables, run Python, and reason over results directly in the notebook. Key FeaturesPrompt CellsUse the + Prompt toolbar button to add an AI prompt to any Jupyter notebook. Ask questions, request analysis, generate code, or inspect notebook state without leaving the notebook. Live Python ExecutionPrompt cells can run Python through the same session used by notebook cells. Variables created earlier, such as Inline Results and Tool TranscriptAgent responses appear inline below the prompt cell, along with a readable transcript of tool calls, executed Python, and results. Context AwarenessUsers can include or exclude cells from the agent's context. Excluded cells still run normally, but the agent will not use them when answering future prompts. Multiple Agent BackendsSADataCopilot supports multiple backend options:
Choose the backend from Settings -> SADataCopilot -> Backend or by updating Per-Cell Model SelectionEach prompt cell can use its own model setting. Available models depend on the selected backend:
Notebook Context HeaderThe extension maintains a compact header at the top of each notebook showing token usage, estimated cost, prompt turns, and excluded cells. Persistent HistoryFor saved notebooks, prompt history and usage information are preserved across reloads. Basic Workflow
Example prompts:
|