#432432nd of 432 in Coding agents and AI editorsFor data and documents, data analysis

genai

IPython extension that sends notebook context to OpenAI for code and error help

Stars
353
License
BSD-3-Clause
Last commit
Mar 2026
Last release
Jul 2023
Language
Python
Stars, last 29 weeks+2
13 May 2026: 351 stars20 May 2026: 351 stars27 May 2026: 351 stars3 Jun 2026: 351 stars10 Jun 2026: 351 stars17 Jun 2026: 351 stars24 Jun 2026: 351 stars1 Jul 2026: 351 stars8 Jul 2026: 351 stars15 Jul 2026: 351 stars22 Jul 2026: 351 stars29 Jul 2026: 351 stars5 Aug 2026: 351 stars12 Aug 2026: 351 stars19 Aug 2026: 351 stars26 Aug 2026: 352 stars2 Sept 2026: 352 stars9 Sept 2026: 353 stars16 Sept 2026: 353 stars23 Sept 2026: 353 stars30 Sept 2026: 353 stars7 Oct 2026: 353 stars14 Oct 2026: 353 stars21 Oct 2026: 353 stars28 Oct 2026: 353 stars4 Nov 2026: 353 stars11 Nov 2026: 353 stars18 Nov 2026: 353 stars25 Nov 2026: 353 stars2 Dec 2026: 353 stars

351 on 13 May 2026353 on 2 Dec 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

genai is an IPython extension, loaded with `%load_ext genai`, that passes notebook context to OpenAI models. It adds an `%%assist` cell magic for generating or explaining code and SQL, and replaces exception output with a model-written suggestion. It runs in IPython, JupyterLab, Jupyter Notebook and Noteable, and needs `OPENAI_API_KEY` set.

Who it is for: Data scientists and Python users working in Jupyter or IPython notebooks

Strengths

  • Two-line setup: pip install, then %load_ext genai
  • Uses IPython session context, such as exceptions, when prompting the model
  • Works in IPython, JupyterLab, Jupyter Notebook and Noteable
  • BSD-3-Clause licensed, pure Python 3.8+

Weaknesses

  • Last release was 2023-07-21, well behind the latest commit
  • Only OpenAI is documented as a backend; no local or other providers
  • Feature set is limited to %%assist and exception suggestions
  • Suggestions are text output; it does not run commands or edit files itself

What it needs

  • no GPU
  • Needs OpenAI API key (OPENAI_API_KEY), IPython or Jupyter
  • Models: OpenAI LLMs

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Coding agents and AI editors

See all 432
Also in Coding agents and AI editors
RankProjectScore
#42710xTerminal coding assistant that chains models in multi-step workflows1.4k starsMIT17 out of 100
#428typedaiTypeScript platform for autonomous agents, code editing and PR review1.2k starsMIT17 out of 100
#429hephaestusMulti-agent orchestrator where agents spawn tasks across phases on a Kanban board1.2k starscustom licenseno commits in a year15 out of 100
#430gptstudioRStudio addins and Shiny chat app for using LLMs inside R projects991 starscustom license13 out of 100
#431flame-code-vlmResearch code for training a screenshot-to-React vision-language model563 starsApache-2.013 out of 100