Automating NotebookLM with Hermes Agent: From Research to Multi-Platform Content A developer automated the process of extracting content from Google's NotebookLM by wiring it directly into the Hermes Agent, reducing a 30-minute manual workflow to about two minutes. The engineer bypassed Google's bot detection by exporting cookies from a real Chrome browser session, enabling programmatic access to create notebooks, add sources, and generate artifacts like podcasts and infographics. The solution uses a custom Python wrapper (`notebooklm-py`) that provides a CLI and API, allowing the agent to handle the entire pipeline from research to multi-platform publishing without manual intervention. NotebookLM made the writing smarter — analyzing sources, generating podcasts, building visuals. But getting those artifacts out of Google and into my publishing pipeline still took 30 minutes of manual clicking and downloading. I fixed that by wiring NotebookLM directly into Hermes Agent. Now research turns into publish-ready content in about two minutes. NotebookLM is one of the best research tools Google has shipped. Drop in a PDF, a few URLs, or a research query and it builds a notebook — a living summary you can chat with, quiz, or turn into artifacts. But here is where it breaks for daily publishing. After NotebookLM generates a podcast, a mind map, or a slide deck, you are back to manual mode. Visit the site. Click each artifact. Download. Rename. Move to the right folder. Format for the platform you are posting to. I was spending nearly half an hour on this for every article. The AI did the creative work; I did the file management. Worse, the standard approach for automating this — browser automation via Playwright — hits a wall. Google detects headless Chromium and Firefox instantly. The login page throws "browser not secure" and you are done. Every automation script I tried failed at authentication. I needed a way to run NotebookLM from code, download artifacts programmatically, and route them into my publishing pipeline. Hermes Agent already handled the platform distribution. I just needed the bridge. The only authentication method that survived Google's bot detection was exporting cookies from my real Chrome browser. No headless browsers, no Puppeteer tricks. Just real cookies from a real session. Here is what works reliably: notebooklm.google.com in your normal Chrome or Edge google.com and notebooklm.google.com as Netscape format using any cookie-export extension storage state.json format notebooklm-py wrapper reads that state file and gets a valid token python convert netscape cookies.py — one-time setup, reusable import json, sys, datetime, urllib.parse netscape lines = open sys.argv 1 .readlines cookies = for line in netscape lines: line = line.strip if not line or line.startswith " " : continue parts = line.split "\t" if len parts < 7: continue domain, flag, path, secure, expiry, name, value = parts :7 cookies.append { "name": name, "value": value, "domain": domain.lstrip "." , "path": path, "expires": int expiry if expiry.isdigit else None, "httpOnly": "HttpOnly" in flag or "httponly" in flag, "secure": "Secure" in flag or "secure" in flag, "sameSite": "Lax" } storage = {"cookies": cookies, "origins": } with open "storage state.json", "w" as f: json.dump storage, f, indent=2 print f"Converted {len cookies } cookies, saved to storage state.json" Usage: python convert netscape cookies.py exported cookies.txt I run this once per session. 23 cookies are enough for full API access. Until Google rotates their auth, this is the only reliable path. Once authenticated, notebooklm-py exposes a clean CLI and Python API. I wrapped this into Hermes skills so the agent can create notebooks, add sources, generate artifacts, and poll for completion without me touching the browser. Create a notebook python -m notebooklm create "Philosophy Notes" → returns notebook ID Add sources — URLs, files, research queries python -m notebooklm source add