notebooklm-py
Lets Claude Code, Codex and other agents drive NotebookLM (Gemini Notebook): add sources, ask grounded questions, make podcasts, quizzes and decks.
- Author
- teng-lin
- Stars
- ★ 20k
- Updated
- 29 November 2026
- License
- MIT
- Skill
- Research
/ 01What it does
This is an unofficial Python library and CLI for Google NotebookLM, now called Gemini Notebook, plus a skill that teaches an agent to use them. The agent can create notebooks, bulk-add URLs, PDFs, YouTube videos and Drive files, run web research, and ask questions that the service answers from your sources with citations.
It can also generate and download audio overviews, videos, slide decks, quizzes, flashcards, mind maps and study guides in formats the web interface does not offer. The heavy reading happens on Google's side, so the agent only orchestrates and spends fewer tokens.
It relies on undocumented Google APIs that may change, and needs Python 3.10+ and a Google login. It works with Claude Code, Codex and OpenClaw.
/ 02Use it to
- Load 30 PDFs into a notebook and get cited answers from them
- Make an audio overview podcast from your research sources
- Export a quiz and flashcards from course materials
/ 03Install
npx skills add teng-lin/notebooklm-py
/ 04Badge for README
[](https://artificial.kz/en/skills/notebooklm-py/)