This is an early release preview. You may encounter bugs.
Notebooklm Py logo
Unclaimed

Tool coding interface

Notebooklm Py

Unofficial Python API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—including capabilities the

B 79/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About Notebooklm Py.

Notebooklm Py is an unofficial Python library, CLI, and agent skill for Google NotebookLM (renamed Gemini Notebook in July 2026). It drives NotebookLM's undocumented web API, so it can create notebooks, add sources, chat with them, and generate and download every artifact type the service produces, including several operations the web UI does not offer. Because the APIs are undocumented, they can change without notice, and heavy use may be rate-limited.

The main use is as a grounded research and memory layer that a coding agent drives: NotebookLM's Gemini reads and analyses the sources server-side and answers with citations, while an agent such as Claude Code or Codex orchestrates the calls. Patterns include offloading analysis of many documents, distilling research into a reusable agent skill, generating quizzes as eval sets for a skill, keeping a notebook as persistent cross-session memory, and exposing internal docs to an agent as a cited knowledge base.

Access comes in several forms: an async Python API, a CLI for scripts and CI, an MCP server (local over stdio, or self-hosted as a remote connector for claude.ai and ChatGPT), and a REST server. A skill installs into Claude Code and generic agent skill directories, with bundled Codex instructions. The default transport is NotebookLM's web RPC, and an opt-in Android backend uses the mobile gRPC service with bearer tokens.

Artifact Options Download format
Audio Overview 4 formats, 3 lengths, 50+ languages MP3
Video Overview 4 formats, 8 visual styles MP4
Slide deck Detailed or presenter format, per-slide revision PDF, PPTX
Infographic 3 orientations, 3 detail levels PNG
Quiz and flashcards Quantity and difficulty JSON, Markdown, HTML
Report Briefing doc, study guide, blog post, custom prompt Markdown
Data table Structure described in natural language CSV
Mind map Note-backed tree or interactive studio map JSON
  • Notebooks and sources: create, copy, rename, and delete notebooks, and add URLs, YouTube, files, Google Drive, or pasted text as sources
  • Chat: questions with conversation history, custom personas, and answers saved as notes
  • Research agents: web and Drive research in fast or deep mode, with found sources imported automatically
  • Artifact generation: audio and video overviews, slide decks, infographics, quizzes, flashcards, reports, data tables, and mind maps
  • Bulk export: batch downloads per artifact type, plus quiz, flashcard, mind map, and data table export in structured formats
  • Agent skill: installs into Claude Code and agent skill directories, with Codex guidance bundled
  • MCP server: local stdio server or a self-hosted remote connector reachable from claude.ai and ChatGPT
  • REST server: guarded HTTP routes for local automation without a CLI process per call
  • Authentication options: interactive browser login, cookies imported from a signed-in browser, or a master token that refreshes sessions unattended
  • Multi-account profiles: switch between Google accounts without signing in again
  • Sharing: public or private links and viewer or editor permissions managed programmatically

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with Notebooklm Py.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get Notebooklm Py →

Browse the catalog