← all repositories
alishobeiri/thread-notebook

Jupyter with an AI copilot that actually lives in your notebook

Thread wraps a local LLM around Jupyter so you can generate cells, edit code by talking, and debug without leaving the notebook.

1.1k stars JavaScript Coding AssistantsAgents
thread-notebook
Velocity · 7d
+1.5
★ / day
Trend
steady
star history

What it does Thread is a Jupyter alternative that layers an AI assistant directly into the notebook interface. You install it with pip, run thread-notebook, and get the familiar cell-based environment plus a sidebar chat, natural-language code generation, and automatic error fixing. It works locally with Ollama or with your own API keys.

The interesting bit Most AI coding tools bolt a chat window onto the side and call it integration. Thread treats the notebook itself as the conversation: you ask a question in plain English, it spawns a new code cell with the answer, and the context-aware chat knows what you’ve already computed. The error-fixing flow is particularly well thought out — it doesn’t just explain the traceback, it offers to rewrite the offending cell.

Key highlights

  • Runs entirely local via Ollama for offline use, or plug in OpenAI/Anthropic keys
  • Natural-language cell generation: ask a question, get an executable answer
  • In-place code editing by describing what you want changed
  • Context-aware chat sidebar that understands your notebook state
  • Auto-explain and auto-fix for runtime errors

Caveats

  • Development setup requires running both a Jupyter server and a Next.js frontend separately, plus a proxy server if you want AI features locally
  • The README is heavy on screenshots and light on architecture details — it’s unclear how gracefully it handles large notebooks or kernel restarts

Verdict Data scientists who live in Jupyter and are tired of context-switching to ChatGPT should try this. If you’re already happy with VS Code’s notebook support or need enterprise-grade collaboration, it’s probably not a migration target yet.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.