GitHub - teng-lin/notebooklm-py: Unofficial Python API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw. · GitHub Skip to content Navigation Menu Toggle navigation Sign in Appearance settings Platform AI CODE CREATION GitHub Copilot Write better code with AI GitHub Spark Build and deploy intelligent apps GitHub Models Manage and compare prompts MCP Registry New Integrate external tools DEVELOPER WORKFLOWS Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes APPLICATION SECURITY GitHub Advanced Security Find and fix vulnerabilities Code security Secure your code as you build Secret protection Stop leaks before they start EXPLORE Why GitHub Documentation Blog Changelog Marketplace View all features AI CODE CREATION GitHub Copilot Write better code with AI GitHub Spark Build and deploy intelligent apps GitHub Models Manage and compare prompts MCP Registry New Integrate external tools GitHub Copilot Write better code with AI GitHub Spark Build and deploy intelligent apps GitHub Models Manage and compare prompts MCP Registry New Integrate external tools DEVELOPER WORKFLOWS Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes Actions Automate any workflow Codespaces Instant dev environments Issues Plan and track work Code Review Manage code changes APPLICATION SECURITY GitHub Advanced Security Find and fix vulnerabilities Code security Secure your code as you build Secret protection Stop leaks before they start GitHub Advanced Security Find and fix vulnerabilities Code security Secure your code as you build Secret protection Stop leaks before they start EXPLORE Why GitHub Documentation Blog Changelog Marketplace View all features Why GitHub Documentation Blog Changelog Marketplace View all features Solutions BY COMPANY SIZE Enterprises Small and medium teams Startups Nonprofits BY USE CASE App Modernization DevSecOps DevOps CI/CD View all use cases BY INDUSTRY Healthcare Financial services Manufacturing Government View all industries View all solutions BY COMPANY SIZE Enterprises Small and medium teams Startups Nonprofits Enterprises Small and medium teams Startups Nonprofits BY USE CASE App Modernization DevSecOps DevOps CI/CD View all use cases App Modernization DevSecOps DevOps CI/CD View all use cases BY INDUSTRY Healthcare Financial services Manufacturing Government View all industries View all solutions Healthcare Financial services Manufacturing Government View all industries View all solutions Resources EXPLORE BY TOPIC AI Software Development DevOps Security View all topics EXPLORE BY TYPE Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills SUPPORT & SERVICES Documentation Customer support Community forum Trust center Partners View all resources EXPLORE BY TOPIC AI Software Development DevOps Security View all topics AI Software Development DevOps Security View all topics EXPLORE BY TYPE Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills Customer stories Events & webinars Ebooks & reports Business insights GitHub Skills SUPPORT & SERVICES Documentation Customer support Community forum Trust center Partners View all resources Documentation Customer support Community forum Trust center Partners View all resources Open Source COMMUNITY GitHub Sponsors Fund open source developers PROGRAMS Security Lab Maintainer Community Accelerator GitHub Stars Archive Program REPOSITORIES Topics Trending Collections COMMUNITY GitHub Sponsors Fund open source developers GitHub Sponsors Fund open source developers PROGRAMS Security Lab Maintainer Community Accelerator GitHub Stars Archive Program Security Lab Maintainer Community Accelerator GitHub Stars Archive Program REPOSITORIES Topics Trending Collections Topics Trending Collections Enterprise ENTERPRISE SOLUTIONS Enterprise platform AI-powered developer platform AVAILABLE ADD-ONS GitHub Advanced Security Enterprise-grade security features Copilot for Business Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support ENTERPRISE SOLUTIONS Enterprise platform AI-powered developer platform Enterprise platform AI-powered developer platform AVAILABLE ADD-ONS GitHub Advanced Security Enterprise-grade security features Copilot for Business Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support GitHub Advanced Security Enterprise-grade security features Copilot for Business Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [-] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name Query To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert teng-lin / notebooklm-py Public Notifications You must be signed in to change notification settings Fork 1.2k Star 9.2k Code Issues 14 Pull requests 21 Actions Projects Security and quality 0 Insights Additional navigation options Code Issues Pull requests Actions Projects Security and quality Insights teng-lin/notebooklm-py main 17 Branches 10 Tags Go to file Code Open more actions menu Folders and files Name Name Last commit message Last commit date ## Latest commit teng-lin Merge pull request #240 from voidborne-d/fix/detect-quota-failure-dur… Open commit details success yesterday abeae92 · yesterday ## History 650 Commits Open commit details 650 Commits .github .github ci: enforce pre-commit in quality workflow last month docs docs docs: update python-api and troubleshooting for storage_path fix 4 days ago scripts scripts style: satisfy pre-commit gate last month src/ notebooklm src/ notebooklm Merge pull request #240 from voidborne-d/fix/detect-quota-failure-dur… yesterday tests tests Merge pull request #240 from voidborne-d/fix/detect-quota-failure-dur… yesterday .env.example .env.example docs: sync documentation with E2E fixture redesign 3 months ago .gitignore .gitignore docs: major documentation restructure and cleanup for v0.2.0 3 months ago .pre-commit-config.yaml .pre-commit-config.yaml feat: add ruff linter/formatter and fix Python 3.10 test compatibility 3 months ago AGENTS.md AGENTS.md docs(agent): add Codex repository guidance 3 weeks ago CHANGELOG.md CHANGELOG.md chore: release v0.3.4 last month CLAUDE.md CLAUDE.md docs: major documentation restructure and cleanup for v0.2.0 3 months ago CONTRIBUTING.md CONTRIBUTING.md refactor: modernize release process with dynamic versioning and CI wo… 3 months ago LICENSE LICENSE Initial commit: Fresh start of notebooklm-client v0.1.0 3 months ago README.md README.md Update README.md 2 weeks ago SECURITY.md SECURITY.md docs: comprehensive cleanup for env var documentation 3 months ago SKILL.md SKILL.md docs: update CLI reference, configuration, SKILL.md, and Python API f… last week notebooklm-py.png notebooklm-py.png docs: add project logo to README 3 months ago pyproject.toml pyproject.toml fix: exclude rookiepy from [all] extra to fix Python 3.13+ CI 2 days ago uv.lock uv.lock style: satisfy pre-commit gate last month View all files Repository files navigation README Contributing More Repository files items MIT license Security MIT license Security notebooklm-py A Comprehensive NotebookLM Skill & Unofficial Python API. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw. Source & Development: https://github.com/teng-lin/notebooklm-py ⚠ Unofficial Library - Use at Your Own Risk This library uses undocumented Google APIs that can change without notice. Not affiliated with Google - This is a community project APIs may break - Google can change internal endpoints anytime Rate limits apply - Heavy usage may be throttled Best for prototypes, research, and personal projects. See Troubleshooting for debugging tips. What You Can Build 🤖 AI Agent Tools - Integrate NotebookLM into Claude Code, Codex, and other LLM agents. Ships with a root NotebookLM skill for GitHub and npx skills add discovery, local notebooklm skill install support for Claude Code and .agents skill directories, and repo-level Codex guidance in AGENTS.md . 📚 Research Automation - Bulk-import sources (URLs, PDFs, YouTube, Google Drive), run web/Drive research queries with auto-import, and extract insights programmatically. Build repeatable research pipelines. 🎙 Content Generation - Generate Audio Overviews (podcasts), videos, slide decks, quizzes, flashcards, infographics, data tables, mind maps, and study guides. Full control over formats, styles, and output. 📥 Downloads & Export - Download all generated artifacts locally (MP3, MP4, PDF, PNG, CSV, JSON, Markdown). Export to Google Docs/Sheets. Features the web UI doesn't offer: batch downloads, quiz/flashcard export in multiple formats, mind map JSON extraction. Three Ways to Use Method Best For Python API Application integration, async workflows, custom pipelines CLI Shell scripts, quick tasks, CI/CD automation Agent Integration Claude Code, Codex, LLM agents, natural language automation Features Complete NotebookLM Coverage Category Capabilities Notebooks Create, list, rename, delete Sources URLs, YouTube, files (PDF, text, Markdown, Word, audio, video, images), Google Drive, pasted text; refresh, get guide/fulltext Chat Questions, conversation history, custom personas Research Web and Drive research agents (fast/deep modes) with auto-import Sharing Public/private links, user permissions (viewer/editor), view level control Content Generation (All NotebookLM Studio Types) Type Options Download Format Audio Overview 4 formats (deep-dive, brief, critique, debate), 3 lengths, 50+ languages MP3/MP4 Video Overview 3 formats (explainer, brief, cinematic), 9 visual styles, plus a dedicated cinematic-video CLI alias MP4 Slide Deck Detailed or presenter format, adjustable length; individual slide revision PDF, PPTX Infographic 3 orientations, 3 detail levels PNG Quiz Configurable quantity and difficulty JSON, Markdown, HTML Flashcards Configurable quantity and difficulty JSON, Markdown, HTML Report Briefing doc, study guide, blog post, or custom prompt Markdown Data Table Custom structure via natural language CSV Mind Map Interactive hierarchical visualization JSON Beyond the Web UI These features are available via API/CLI but not exposed in NotebookLM's web interface: Batch downloads - Download all artifacts of a type at once Quiz/Flashcard export - Get structured JSON, Markdown, or HTML (web UI only shows interactive view) Mind map data extraction - Export hierarchical JSON for visualization tools Data table CSV export - Download structured tables as spreadsheets Slide deck as PPTX - Download editable PowerPoint files (web UI only offers PDF) Slide revision - Modify individual slides with natural-language prompts Report template customization - Append extra instructions to built-in format templates Save chat to notes - Save Q&A answers or conversation history as notebook notes Source fulltext access - Retrieve the indexed text content of any source Programmatic sharing - Manage permissions without the UI Installation If playwright install chromium fails with TypeError: onExit is not a function , see the Linux workaround in Troubleshooting. Development Installation For contributors or testing unreleased features: ⚠ The main branch may contain unstable changes. Use PyPI releases for production. Quick Start 16-minute session compressed to 30 seconds CLI Other useful CLI commands: Python API Agent Setup Option 1 — CLI install: Installs the skill into ~/.claude/skills/notebooklm and ~/.agents/skills/notebooklm . Option 2 — npx install (via the open skills ecosystem): Fetches the canonical SKILL.md directly from GitHub. Documentation CLI Reference - Complete command documentation Python API - Full API reference Configuration - Storage and settings Release Guide - Release checklist and packaging verification Troubleshooting - Common issues and solutions API Stability - Versioning policy and stability guarantees For Contributors Development Guide - Architecture, testing, and releasing RPC Development - Protocol capture and debugging RPC Reference - Payload structures Changelog - Version history and release notes Security - Security policy and credential handling Platform Support Platform Status Notes macOS ✅ Tested Primary development platform Linux ✅ Tested Fully supported Windows ✅ Tested Tested in CI Star History License MIT License. See LICENSE for details. About Unofficial Python API and agentic skill for Google NotebookLM. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw. github.com/teng-lin/notebooklm-py Topics python api sdk skills python-api podcast-generator claude notebooklm claude-skills google-notebooklm agentic-skill openclaw-skills notebooklm-api notebooklm-skill Resources Readme License MIT license Contributing Contributing Security policy Security policy Uh oh! There was an error while loading. Please reload this page. Activity Stars 9.2k stars Watchers 54 watching Forks 1.2k forks Report repository Releases 8 v0.3.4 Latest last month + 7 releases Packages 0 No packages published Uh oh! There was an error while loading. Please reload this page. Contributors 13 Languages Python 100.0% Footer © 2026 GitHub, Inc. Footer navigation Terms Privacy Security Status Community Docs Contact Manage cookies Do not share my personal information You can't perform that action at this time.