graph TD Q[User query] --> F[Query fan-out] F --> S1[Sub-query 1] F --> S2[Sub-query 2] F --> S3[Sub-query N] S1 --> R[Retrieval from index] S2 --> R S3 --> R R --> G[LLM synthesis with grounding] G --> C[Citation attribution] C --> A[AI Mode answer] A --> U[Follow-up question] U --> F
The loop has five stages:
- Entry. The user opens AI Mode explicitly (tab, app entry, or Chrome).
- Query fan-out. The system decomposes the query into related sub-queries to cover the topic from multiple angles.
- Retrieval. Each sub-query retrieves candidate passages from Google's index.
- Synthesis. Gemini composes a longer answer constrained to the retrieved passages, with inline citations.
- Follow-up. The user can ask a follow-up; the loop restarts with context preserved.