Skip to main content

Sage Agent - Your Jupyter Notebook Assistant

Project description

Sage Agent — The AI-Powered Assistant for Jupyter Notebooks

Logo


What is Sage Agent?

Sage is an AI-native notebook assistant that supercharges your existing Jupyter workflows.

Built by leading AI and quant researchers from YC, Harvard, MIT, and Goldman Sachs, Sage brings real-time, context-aware assistance directly into JupyterLab.

Use natural language to clean data, write analysis code, debug errors, explore dataframes, and build models—faster and with fewer mistakes.

No hallucinated code. No context switching. Just faster insights.


Why Use Sage Agent in Jupyter?

Whether you’re a quant, data scientist, or analyst living in notebooks, Sage helps you:

✅ Clean and transform messy data in seconds

✅ Visualize trends, rollups, and anomalies from a prompt

✅ Connect your custom databases in one click and easily explore from notebooks

✅ Generate runnable Python or SQL that fits your current cell + variable context

✅ Auto-detect schema changes and debug downstream errors

✅ Stay private: run entirely local-first or in your own secure VPC

✅ Extend JupyterLab without changing how you work


Perfect For:

  • Data scientists cleaning huge CSVs
  • Quant researchers testing ML pipelines
  • Product and analytics teams tired of building dashboards and flaky notebooks
  • Anyone tired of LLM tools that break their code

Installation

📦 Requirements

  • JupyterLab >= 4.0.0
  • NodeJS (for development)

🧠 Install Sage Agent:

pip install jupyterlab sage_agent_internal

❌ Uninstall:

pip uninstall sage_agent_internal

How to Get Started

To unlock full functionality, you’ll need Sage API credentials.

👉 Request your API key or email us at contact@sagebook.ai


Why Sage

  • ✅ Context-aware code gen: understands variables, dataframes, imports, and prior cells
  • ✅ AI that fixes schema issues and silent join bugs
  • ✅ Inline review + diffs before you run any code
  • ✅ Visualizations via natural language (matplotlib, plotly, seaborn supported)
  • ✅ BYO LLM: Anthropic, OpenAI, vLLM, Ollama, or HF endpoints
  • ✅ Built to run in air-gapped / enterprise environments

Local Development Instructions

To contribute or develop locally:

# Clone the repo and enter the directory
git clone https://github.com/sagebook/sage_agent_internal.git
cd sage_agent_internal

# Install in editable mode
pip install -e "."

# Link extension to JupyterLab
jupyter labextension develop . --overwrite

# Rebuild on changes
jlpm build

For auto-rebuild while editing:

# Watch source
jlpm watch

# Run JupyterLab in parallel
jupyter lab

Uninstall in Dev Mode

pip uninstall sage_agent_internal
# Then manually remove labextension symlink from JupyterLab extensions dir.

Want to See Sage in Action?

🎥 Try the demo notebook or explore at https://sagebook.ai


Built for teams working with sensitive data:

  • Zero data retention by default
  • Optional BYO keys for Claude, OpenAI, or local models
  • Notebook-specific controls for what the model can “see”
  • Fine-grained telemetry settings

Contact

Questions? Ideas?

Email: fahim@sagebook.ai

Website: https://sagebook.ai


AI Jupyter Notebook, JupyterLab Extension, Jupyter Assistant, Data Science Assistant, Jupyter LLM, AI code generation, dataframe cleaning, Jupyter AI, Sagebook, Sage Agent, AI for dataframes, Jupyter SQL assistant, notebook extension

Project details


Release history Release notifications | RSS feed

This version

0.4.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sage_agent_internal-0.4.3.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sage_agent_internal-0.4.3-py3-none-any.whl (923.3 kB view details)

Uploaded Python 3

File details

Details for the file sage_agent_internal-0.4.3.tar.gz.

File metadata

  • Download URL: sage_agent_internal-0.4.3.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sage_agent_internal-0.4.3.tar.gz
Algorithm Hash digest
SHA256 c0cf50615d4e7684cf08c3e51bfe721d898b780bcad7f5f96eb6219cfab7210e
MD5 a2a84e7473d9bea228db05190ca70a9a
BLAKE2b-256 f87ec1d1ced127050ddb77d77dc025a64f0c789ea49799efd1a162dcc90a99c7

See more details on using hashes here.

File details

Details for the file sage_agent_internal-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sage_agent_internal-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6f3550477a4f15b228331358ba8e6267d40a2dfa58a2f5e4b96d92d40d77859c
MD5 ba630e6084eab7201d0258f133673c20
BLAKE2b-256 df4546c7a1887e1cdeb3daa4666aca0ac3011610cc029c1506a6d24a88ea2f1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page