NotebookLM Python

Active
GitHub Python MIT

Description

Unofficial Python API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM features including capabilities the web UI doesn't expose, via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw.

Key Features

  • Full programmatic access to Google NotebookLM including features not exposed in the web UI
  • Content generation for Audio Overviews, Videos, Slide Decks, Quizzes, Flashcards, Infographics, and Mind Maps
  • Batch downloads of all generated artifacts in multiple formats (MP3, MP4, PDF, PNG, CSV, JSON, Markdown)
  • CLI, Python API, and AI agent integration supporting Claude Code, Codex, and OpenClaw
  • Multi-source import from URLs, YouTube, Google Drive, PDFs, and pasted text with web/Drive research agents
  • Programmatic sharing and permission management without the NotebookLM UI

Use Cases

💡 Research automation with bulk source import and programmatic insight extraction
💡 Building AI agent tools that leverage NotebookLM's document understanding capabilities
💡 Automated content generation pipelines for podcasts, videos, and study materials
💡 Batch processing and export of NotebookLM artifacts for archival or integration
💡 CI/CD integration for automated knowledge base updates from document sources

Categories

Quick Start

Install with `pip install "notebooklm-py[browser]"`, run `playwright install chromium`, authenticate via `notebooklm login`, create a notebook with `notebooklm create "My Research"`, add sources, then chat or generate content with `notebooklm ask` and `notebooklm generate`.

Related Projects