Automate grounded NotebookLM research and artifact export with notebooklm-py
Lets agents operate Google NotebookLM/Gemini Notebook through a Python API, CLI, skill, MCP server, or REST server to create notebooks, add sources, ask cited questions, generate artifacts, and download exports.
Prerequisites
notebooklm-py CLI or Python package, Google NotebookLM/Gemini Notebook account, browser authentication or master-token authentication, optional MCP or REST server
Installation
Install or set up from the source-backed instructions:
Install the CLI with uv tool install "notebooklm-py[browser]" or pipx install "notebooklm-py[browser]", run notebooklm login, verify with notebooklm auth check --test --json, then install the agent skill with notebooklm skill install or npx skills add teng-lin/notebooklm-py.