|
27 | 27 |
|
28 | 28 | ## What You Can Build |
29 | 29 |
|
30 | | -🤖 **AI Agent Tools** - Integrate NotebookLM into Claude Code or other LLM agents. Ships with [Claude Code skills](#agent-skills-claude-code) for natural language automation (`notebooklm skill install`), or build your own integrations with the async Python API. |
| 30 | +🤖 **AI Agent Tools** - Integrate NotebookLM into Claude Code, Codex, and other LLM agents. Ships with a [Claude Code skill](#agent-setup) (`notebooklm skill install`) and repo-level Codex instructions in [`AGENTS.md`](AGENTS.md), or build your own integrations with the async Python API. |
31 | 31 |
|
32 | 32 | 📚 **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. |
33 | 33 |
|
|
41 | 41 | |--------|----------| |
42 | 42 | | **Python API** | Application integration, async workflows, custom pipelines | |
43 | 43 | | **CLI** | Shell scripts, quick tasks, CI/CD automation | |
44 | | -| **Agent Skills** | Claude Code, LLM agents, natural language automation | |
| 44 | +| **Agent Integration** | Claude Code, Codex, LLM agents, natural language automation | |
45 | 45 |
|
46 | 46 | ## Features |
47 | 47 |
|
@@ -95,6 +95,8 @@ pip install "notebooklm-py[browser]" |
95 | 95 | playwright install chromium |
96 | 96 | ``` |
97 | 97 |
|
| 98 | +If `playwright install chromium` fails with `TypeError: onExit is not a function`, see the Linux workaround in [Troubleshooting](docs/troubleshooting.md#linux). |
| 99 | + |
98 | 100 | ### Development Installation |
99 | 101 |
|
100 | 102 | For contributors or testing unreleased features: |
@@ -157,6 +159,8 @@ Other useful CLI commands: |
157 | 159 |
|
158 | 160 | ```bash |
159 | 161 | notebooklm auth check --test # Diagnose auth/cookie issues |
| 162 | +notebooklm agent show codex # Print bundled Codex instructions |
| 163 | +notebooklm agent show claude # Print bundled Claude Code skill template |
160 | 164 | notebooklm language list # List supported output languages |
161 | 165 | notebooklm metadata --json # Export notebook metadata and sources |
162 | 166 | notebooklm share status # Inspect sharing state |
@@ -197,18 +201,34 @@ async def main(): |
197 | 201 | asyncio.run(main()) |
198 | 202 | ``` |
199 | 203 |
|
200 | | -### Agent Skills (Claude Code) |
| 204 | +### Agent Setup |
| 205 | + |
| 206 | +#### Claude Code |
201 | 207 |
|
202 | 208 | ```bash |
203 | 209 | # Install via CLI or ask Claude Code to do it |
204 | 210 | notebooklm skill install |
| 211 | +notebooklm agent show claude |
205 | 212 |
|
206 | 213 | # Then use natural language: |
207 | 214 | # "Create a podcast about quantum computing" |
208 | 215 | # "Download the quiz as markdown" |
209 | 216 | # "/notebooklm generate video" |
210 | 217 | ``` |
211 | 218 |
|
| 219 | +#### Codex |
| 220 | + |
| 221 | +Codex reads repo-level instructions from [`AGENTS.md`](AGENTS.md), so there is no separate install command. After installing dependencies and authenticating, ask Codex to use the `notebooklm` CLI or Python API directly. |
| 222 | + |
| 223 | +```bash |
| 224 | +uv sync --extra dev --extra browser |
| 225 | +notebooklm agent show codex |
| 226 | +notebooklm login |
| 227 | +notebooklm list --json |
| 228 | +``` |
| 229 | + |
| 230 | +For automation, prefer `--json`, pass explicit notebook IDs instead of relying on `notebooklm use`, and set `NOTEBOOKLM_HOME=/tmp/codex-$RUN_ID` when multiple agents may run in parallel. |
| 231 | + |
212 | 232 | ## Documentation |
213 | 233 |
|
214 | 234 | - **[CLI Reference](docs/cli-reference.md)** - Complete command documentation |
|
0 commit comments