Backend-Selected RPC Call Paths

Backend-Selected RPC Call Paths A sequence diagram generated by Archify. typed call or WebRawAPI.call executor.rpc_call(method, params) retry policy and idempotency resolve once per call POST batchexecute streamed response decoded result typed call or AndroidRawAPI unary / unary_stream protobuf over gRPC typed result client.rpc_call (deprecated) enter operation_scope; materialize executor.rpc_call return; retain sidecar for reuse root lifecycle closes and reopens its resources; the proxy never starts keepalive Web-selected dispatch Android-selected dispatch Deprecated Web compatibility on Android Caller · CLI · MCP · REST · library · Sequence participant Caller CLI · MCP · REST · library Selected Adapter · typed API · client.raw · Sequence participant Selected Adapter typed API · client.raw Web Executor · WebRuntime.executor · Sequence participant Web Executor WebRuntime.executor LazyWebSidecar · first rpc_call · scoped · Sequence participant LazyWebSidecar first rpc_call · scoped AndroidSession · AndroidRuntime.session · Sequence participant AndroidSession AndroidRuntime.session NotebookLM Services · batchexecute · gRPC · Sequence participant NotebookLM Services batchexecute · gRPC Legend request return security async trace default message

Backend-selected dispatch

  • • Web APIs/WebRawAPI use WebRuntime.executor; Android APIs/AndroidRawAPI use AndroidSession

Retry and write safety

  • • Both backends match retry policy; ambiguous writes scrub traceback, cause, context, and frames

Compatibility guardrail

  • • rpc_call is deprecated; Android pre-registers LazyWebSidecar and builds its WebRuntime only inside operation_scope, with no keepalive