使用 notebooklm-py 自动化 NotebookLM 研究及工件导出 是做什么的?
让智能体通过 Python API、CLI、技能、MCP 服务器或 REST 服务器操作 Google NotebookLM / Gemini Notebook,支持创建笔记本、添加来源、提出引用问题、生成工件及下载导出内容。
前置条件
- notebooklm-py CLI 或 Python 包
- Google NotebookLM / Gemini Notebook 账户
- 浏览器认证或主令牌认证
- 可选的 MCP 或 REST 服务器
安装
根据源代码说明进行安装或配置:
使用 uv tool install "notebooklm-py[browser]" 或 pipx install "notebooklm-py[browser]" 安装 CLI,运行 notebooklm login,用 notebooklm auth check --test --json 验证,然后通过 notebooklm skill install 或 npx skills add teng-lin/notebooklm-py 安装 agent skill。