cli-anything-notebooklm

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

cli-anything-notebooklm

cli-anything-notebooklm

Experimental NotebookLM harness for CLI-Anything.
一款适用于CLI-Anything的实验性NotebookLM工具包。

Installation

安装

This package is intended to be installed from the harness directory:
bash
cd notebooklm/agent-harness
python3 -m pip install -e .
Install the upstream NotebookLM CLI if needed:
bash
python3 -m pip install --user 'notebooklm-py[browser]'
python3 -m playwright install chromium
本包需从工具包目录进行安装:
bash
cd notebooklm/agent-harness
python3 -m pip install -e .
若需要,安装上游NotebookLM CLI:
bash
python3 -m pip install --user 'notebooklm-py[browser]'
python3 -m playwright install chromium

Requirements

要求

  • notebooklm
    command installed locally
  • Valid local NotebookLM login session
  • 本地已安装
    notebooklm
    命令
  • 有效的本地NotebookLM登录会话

Usage

使用方法

Basic Commands

基础命令

bash
undefined
bash
undefined

Show help

显示帮助信息

cli-anything-notebooklm --help
cli-anything-notebooklm --help

Start with a notebook context

以指定笔记本上下文启动

cli-anything-notebooklm --notebook nb_123 source list
cli-anything-notebooklm --notebook nb_123 source list

Prefer JSON for agent use

优先使用JSON格式供Agent调用

cli-anything-notebooklm --json notebook list
undefined
cli-anything-notebooklm --json notebook list
undefined

Command Groups

命令组

GroupPurpose
auth
login and auth validation
notebook
notebook list, create, summary
source
source listing and URL add
chat
ask questions and inspect history
artifact
list and generate artifacts
download
fetch generated outputs
share
inspect sharing state
分组用途
auth
登录与身份验证校验
notebook
笔记本列表、创建、摘要
source
数据源列表与URL添加
chat
提问与查看历史记录
artifact
制品列表与生成
download
获取生成的输出内容
share
查看共享状态

Agent Workflow

Agent工作流

  1. Check auth with
    cli-anything-notebooklm auth status
  2. Discover notebook IDs with
    cli-anything-notebooklm --json notebook list
  3. Use explicit
    --notebook
    for follow-up commands
  4. Prefer
    --json
    only where the upstream
    notebooklm
    command supports it
  1. 使用
    cli-anything-notebooklm auth status
    检查身份验证状态
  2. 使用
    cli-anything-notebooklm --json notebook list
    发现笔记本ID
  3. 在后续命令中使用明确的
    --notebook
    参数
  4. 仅在上游
    notebooklm
    命令支持的情况下优先使用
    --json
    格式

Agent Guidance

Agent使用指南

  • Prefer explicit notebook IDs with
    --notebook
    .
  • Use
    --json
    for machine-readable output only on commands that support it upstream.
  • Treat this harness as experimental and unofficial.
  • Do not expose auth files or cookies in logs.
  • NotebookLM is a Google product; this harness is unofficial and not affiliated with Google.
  • 优先使用带明确笔记本ID的
    --notebook
    参数。
  • 仅在上游命令支持的情况下,使用
    --json
    格式获取机器可读输出。
  • 将此工具包视为实验性、非官方工具。
  • 请勿在日志中暴露身份验证文件或Cookie。
  • NotebookLM是Google的产品;本工具包为非官方工具,与Google无关联。

References

参考链接