Backend Split and Shared Mechanisms

Backend Split and Shared Mechanisms An architecture diagram generated by Archify. Web Namespaces · _web/*.py · _web/ · default backend · wire hooks Web Namespaces _web/*.py wire hooks WebRuntime · executor · transport · kernel · _web/ · default backend · cookies · uploader WebRuntime executor · transport · kernel cookies · uploader Web Wire · params · rows · codec · _web/ · default backend · position-sensitive Web Wire params · rows · codec position-sensitive NotebookLM Web · batchexecute RPC · Architecture component NotebookLM Web batchexecute RPC NotebookLMClient · conditional assembly · Architecture component · one selected graph NotebookLMClient conditional assembly one selected graph Neutral Bases · shared workflow owners · Architecture component · no wire shapes Neutral Bases shared workflow owners no wire shapes Shared Mechanisms · _runtime · _idempotency · Architecture component · auth · epoch · transfer Shared Mechanisms _runtime · _idempotency auth · epoch · transfer Android Namespaces · _android/*.py · _android/ · opt-in backend · protobuf hooks Android Namespaces _android/*.py protobuf hooks AndroidRuntime · session · upload · assets · _android/ · opt-in backend · bearer · phenotype AndroidRuntime session · upload · assets bearer · phenotype Retry + Epoch · retry_policy.py · epoch.py · _android/ · opt-in backend · manifest · ContextVar Retry + Epoch retry_policy.py · epoch.py manifest · ContextVar NotebookLM PA · notebooklm-pa.googleapis.com · Architecture component NotebookLM PA notebooklm-pa.googleapis.com assembles uses Web subclass Android subclass attaches dispatches HTTPS POST attaches replay · fence gRPC TLS _web/ · default backend _android/ · opt-in backend Legend Backend Cloud Security

Hoisted mechanisms

  • • Neutral bases own workflows; helpers cover refresh, epoch fences, transport-loss tags, and backoff
  • • Scotty upload and guarded download are shared without sharing wire transport

Web graph

  • • Web namespaces receive WebRuntime and its executor, kernel, auth and upload collaborators
  • • Positional encoding and strict row decoding remain Web-only; Web stays the compatibility default

Android graph

  • • AndroidRuntime owns bearer, gRPC session, uploads, assets and Phenotype
  • • retry_policy.py and epoch.py add parity and fencing without constructing full Web transport