Directory Compare FCRS-1.0 About /llms.txt

notebooklm-py

$ notebooklm Community Med Risk
teng-lin (OSS) · AI & Media · MIT · macos / linux / windows · Reviewed:

notebooklm-py (teng-lin/notebooklm-py) provides a Python API, notebooklm CLI, and agentic skill exposing Google NotebookLM features—managing notebooks, adding sources, chatting, and generating/downloading audio overviews, study guides, and data tables with --json and --quiet.

FCRS-1.0 Score
78 /100
Good
Medium Confidence
Zero-Friction Install
pip install notebooklm-py
CLI vs MCP Decision CLI Preferred vs MCP

Ships a purpose-built agent skill and --json --quiet subcommands (notebook, source, chat, artifact, download) directly usable in shell loops.

At a Glance

Command
$ notebooklm
FCRS-1.0 Score
78/100 (Good)
Evidence Tier
Medium Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
✓ Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Supports --json paired with --quiet, structured subcommand groups, and a dedicated agent skill.

  • --json --quiet flags and bundled NotebookLM agent skill
Trust & Safety 16 / 25

Relies on unofficial reverse-engineered web session cookies from Playwright login and performs remote Google account writes.

  • Unofficial Google web cookie auth; uploads sources to cloud notebooks
Setup & Portability 11 / 15

Python package on PyPI (pip install notebooklm-py), though initial login requires [browser] extra and Playwright Chromium.

  • PyPI install plus optional notebooklm-py[browser] and Playwright setup
Utility & Efficiency 13 / 15

Automates NotebookLM audio overviews, mind maps, and batch source ingestion not exposed via an official public REST API.

  • Programmatic access to NotebookLM features beyond the web UI
Maintenance & Lineage 7 / 10

Popular community OSS project (teng-lin/notebooklm-py, 20.5k+ stars), though unofficial and tied to Google web internals.

  • Unofficial teng-lin/notebooklm-py repository
Docs & Verifiability 8 / 10

Detailed README covering CLI commands, Python async API, Playwright auth, and agent skill setup.

  • GitHub README and PyPI documentation

Security, Auth & Guardrails

Auth Modes
OAuth Browser Config File
Credential Storage

Stores Playwright browser login cookies and session tokens locally via notebooklm auth login.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MIT open-source CLI; operates against your Google NotebookLM account quota.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# notebooklm-py Agent Rules
- Run `notebooklm auth check` first; if expired, ask the user to run `notebooklm auth login` interactively.
- Always combine `--json --quiet` so progress spinners do not pollute stdout.
- Confirm before creating or deleting shared NotebookLM notebooks or uploading sensitive internal docs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify NotebookLM auth session and list notebooks as JSON
notebooklm auth check && notebooklm notebook list --json --quiet

Validates stored browser cookies and prints existing notebooks as clean JSON.

Controlled Writes & Previews

Add a source URL and generate a study artifact
notebooklm source add https://example.com/paper.pdf && notebooklm artifact list --json

Uploads a new source to the active notebook and inspects generated artifacts as JSON.

Strengths for Agents

  • + Clean --json --quiet support across notebook, source, chat, artifact, and download commands.
  • + Ships an agentic skill tailored for Claude Code, Codex, and OpenClaw.
  • + Unlocks bulk NotebookLM audio overview and artifact automation.

Caveats & Pitfalls

  • ! Unofficial reverse-engineered client; upstream Google web changes can break endpoints or require cookie refresh.
  • ! Initial notebooklm auth login requires interactive browser login via Playwright Chromium.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in AI & Media

View category hub →
Ray 78/100
$ ray

Distributed AI compute CLI for managing Ray clusters, submitting jobs, and querying actor/task state.

SoX 78/100
$ sox

Swiss-army knife for audio conversion, resampling, trimming, and effects: `sox in.wav -r 16000 out.wav`.

$ asciinema

Record, replay, and convert terminal sessions as lightweight NDJSON `.cast` files.

$ wandb

Weights & Biases MLOps CLI (`wandb status`, `offline`, `sync`) for managing experiment runs and artifacts.

$ px

Agent-first Arize Phoenix CLI (`px`) with `--format json`, `--no-progress`, and safety-gated deletes for LLM traces and evals.

ffprobe 93/100
$ ffprobe

Read-only multimedia stream analyzer (`ffprobe -of json`) returning exact codecs, durations, and bitrates.