NotebookLM Automation Complete programmatic access to Google NotebookLM—including capabilities not exposed in the web UI. Create notebooks, add sources (URLs, YouTube, PDFs, audio, video, images), chat with content, generate all artifact types, and download results in multiple formats. Installation From PyPI (Recommended for AI agents — Python-version-aware): pip install "notebooklm-py[browser]"
mandatory; errors must propagate
[cookies] (rookiepy) is optional and known to FAIL TO BUILD on Python 3.13+.
Skip it deliberately on 3.13+ rather than swallowing the error — that lets
real install failures (typos, network, PyPI outages) surface for the agent.
if python -c "import sys; sys.exit(0 if sys.version_info < (3, 13) else 1)" ; then pip install "notebooklm-py[cookies]"
errors propagate
else echo "Skipping [cookies] on Python 3.13+ (rookiepy unavailable). Use 'notebooklm login' interactively." fi Show more Installs 7.2K Repository teng-lin/notebooklm-py GitHub Stars 17.8K First Seen Jan 21, 2026 Security Audits Gen Agent Trust Hub Pass Socket Fail Snyk Warn