teng-lin/notebooklm-py
Unofficial Python API/CLI/skill for NotebookLM (Gemini Notebook)
What
Unofficial Python API, CLI and agent skill for NotebookLM (now Gemini Notebook): notebooks, sources, chat, and generating audio/video/quizzes, including things the web UI doesn't expose.
How to use
pip install "notebooklm-py[browser]"
notebooklm login
notebooklm create "My Research"
notebooklm source add "./paper.pdf"
notebooklm generate audio "make it engaging" --wait
# agent skill: npx skills add teng-lin/notebooklm-pyReach for it when
Automating NotebookLM (bulk sources, podcasts) from scripts or agents.