AI Mode Patent: What Google's “Search with stateful chat” Application Really Describes
The patent application that SEOs call “the AI Mode patent” has a priority date of February 28, 2023. Google introduced AI Mode on March 5, 2025, more than two years later…
Eugenio Tommasi
Founder of SEO SRL
Published Updated 9 min read
Google's patent application US20240289407A1, “Search with stateful chat”, describes a chat that sits alongside search, remembers the session and generates additional searches with a generative model.
Table of contents (9 sections)
- The document at a glance
- Why SEOs call it “the AI Mode patent”
- What the document describes, step by step
- What the document does not say
- What Google has said about AI Mode: what matches and what doesn't
- What it changes for a website
- Related documents
- A document to read, not to apply
- Frequently asked questions
In brief
- The “AI Mode patent” is Google's patent application US20240289407A1, “Search with stateful chat”: pending according to Google Patents as of October 9, 2026.
- Priority date February 28, 2023, two years before AI Mode was introduced (March 5, 2025). The text never mentions AI Mode.
- It describes a chat that remembers the session: it creates synthetic queries, selects documents, classifies the question and decides which model answers.
- Figures 2 to 6 reuse patent US11769017B1 on generative summaries: source links and “familiarity” do not originate here.
- No weights or ranking factors. For a website, what matters is covering the sub-questions and offering details beyond the basics.
The patent application that SEOs call “the AI Mode patent” has a priority date of February 28, 2023: the text on Google Patents is public. Google introduced AI Mode on March 5, 2025, more than two years later. For what AI Mode is and how to optimize for it, see the guide to Google AI Mode.
The document at a glance
Data read on Google Patents on October 9, 2026.
| Item | Data |
|---|---|
| Number | US20240289407A1 |
| Title | Search with stateful chat (search with a chat that keeps its state) |
| Type | US patent application |
| Status | Pending according to Google Patents as of October 9, 2026 |
| Assignee | Google LLC |
| Inventors | Mahsan Rofouei, Anand Shukla, Qing Wei, Chi Tang, Ryan Brown, Enrique Piqueras |
| Priority | February 28, 2023 (provisional application US202363448923P) |
| Filing | February 27, 2024 (application US18/589,371) |
| Publication | August 29, 2024 |
| Claims | 20, of which 3 independent (1, 17 and 20) |
| Family | WO2024182453A1, international application published on September 6, 2024: “Ceased” |
No granted patent appears in the family. The status is an estimate by Google Patents, not a legal conclusion.
Why SEOs call it “the AI Mode patent”
The nickname spread in late May 2025, a few days after AI Mode rolled out to all US users. For Olaf Kopp, “this patent could be the foundational patent for the Google AI Mode”. Mike King uses it to explain AI Mode and calls it “the primary system architecture for AI Mode”. In June, Moz published “What I Learned From Analyzing Google’s AI Mode Patent”.

The text, however, never mentions AI Mode, nor Google or Gemini. The abstract talks about a generative companion that sits alongside search with a chat that keeps its state (stateful chat). In our catalog of 109 Google patents and patent applications related to search, it is one of the 28 nicknames we consider a stretch compared with the abstract.
Part of the text comes from a 2023 patent
Figures 2 to 6 describe the same methods as US11769017B1, “Generative summaries for search results”, a patent granted on September 26, 2023. Many paragraphs are identical. King points to it as the architecture of AI Overviews: I cover it in the note on the AI Overview patent. Mahsan Rofouei is among the inventors of both.
Figures 8 and 9, on the generative companion, are new. According to Google Patents data, the application claims only the priority of the 2023 provisional application, not that of US11769017B1. Moz attributes two methods from that text to AI Mode: linking sentences to sources and “familiarity”, meaning an answer adapted to what the user already knows.
What the document describes, step by step
In plain terms: an assistant sits alongside search and remembers what you asked, saw and read. With that memory it runs further searches on your behalf and chooses what kind of answer to give you. Claim 1 reads as eight steps.
- It receives the question: typed, spoken, as an image or a mix.
- It retrieves the context: previous searches and results, pages viewed, location. Claims 5 and 6 add the schedule from calendar and email, yours or another person's.
- It processes the question and context with a generative model.
- It creates synthetic queries: rewordings and follow-ups written by the model. In the document's example, for someone searching for a camera for a friend's wedding, it suggests “what is the average price range?”.
- It selects the documents that answer the question and the synthetic queries.
- It classifies the question by reading the whole state: question, context, synthetic queries, documents.
- It chooses the “downstream” models suited to the class and generates the answer.
- It shows the answer, which becomes part of the context for later turns (claims 15 and 16).
The state can be a set of embeddings, numbers that represent meaning, or a list of words. The document's example: you ask for a hotel in Boise, Idaho, then add Wi-Fi and a pool. The state becomes {hotel, Boise, Idaho, Wi-Fi, pool}.
SEOs link synthetic queries to query fan-out: I cover it in the article on query fan-out, which compares five documents.
The seven question classes
The description lists seven example classes. Each triggers a different model, or none.
| Class | What happens |
|---|---|
| Creative text | Writes a poem or a story. |
| Creative media | Creates images or audio, including from your photos if you allow it. |
| Summary of the open page | Summarizes the document you are reading. |
| Summary of the results | Summarizes the text, titles and metadata of the results page. |
| Next step | Suggests the next searches, such as three categories to narrow the results. |
| Clarification | For someone who types only “New York”, asks “what do you want to know about New York?”. |
| Do not interfere | No model: only the results page, for people looking for a specific document. |
One detail: the companion can be “offered as a selectable element on the front page of a web search engine”. In other words, an element of the home page, next to image, video and shopping searches.
What the document does not say
- It is not a granted patent. It is a pending application according to Google Patents as of October 9, 2026. Even a granted patent would not prove the method is in use.
- It does not describe a product. It talks about possible implementations, almost always in the conditional. As example models it mentions PaLM, BERT, LaMDA and Meena.
- It gives no weights or ranking factors. It lists types of measures for choosing documents: position, selection frequency, locality, language, reliability (author, domain, inbound links), popularity, freshness. It does not say how much they weigh.
- It does not explain how to get cited. It describes how to link a sentence in the answer to the document that “verifies” it, by comparing meaning. There are no rules for websites.
What Google has said about AI Mode: what matches and what doesn't
Google does not cite this application in any official document. Its statements, compared:
| In the document | What Google has said | Does it match? |
|---|---|---|
| Synthetic queries | Query fan-out: multiple related searches across subtopics and sources, at the same time | Yes, in principle |
| State between one turn and the next | Follow-up questions; since May 2026 “your context stays with you” | Yes, in principle |
| Schedule from calendar and email | Personal Intelligence: you connect Gmail and Google Photos if you want, Google Calendar “soon” | Partly: Google only talks about your own apps |
| Next to images, video and shopping | May 20, 2025: “a new AI Mode tab” in Search and the Google app | Yes, in the interface |
| Do not interfere | Without high confidence in the quality of the answer, AI Mode shows a set of web links | Partly, for other reasons |
On question classification and model selection, Google gives no details. It says AI Mode and AI Overviews may use different models and techniques, as it writes on the AI features page. Matches in principle do not prove that AI Mode uses this method.
What it changes for a website
This is how I read it: the document does not change the basics of SEO, it changes the unit of competition. You don't compete on a keyword, but inside a conversation.
- You compete on sub-questions. The selected documents answer the question and the synthetic queries (claim 1). Cover costs, alternatives and edge cases: I explain how to map them in the AI Mode guide.
- Not everyone sees the same sources. In the document, previous searches, location and pages read change the state. Repeat your tests in different sessions and check Search Console, which also includes AI Mode.
- What the user has already read is worth less. The document treats the content of an already viewed page as “known” and can look for the missing details. After the essential answer, offer data, exceptions and comparisons.
- Format matters. The state can record whether a user prefers text or video, and the synthetic queries look for that format. Text and video on the same topic cover both cases.
For people looking for a specific page, the “do not interfere” class remains, with classic results only. There, the usual SEO applies.
Related documents
Five documents in our catalog are close in topic; no abstract mentions AI Mode. Data from Google Patents as of October 9, 2026.
| Document | What it describes (from the abstract) | Status according to Google Patents |
|---|---|---|
| US12158907B1, “Thematic search” | Extracts themes from the documents found and shows them in the results. Mahsan Rofouei is among the inventors. | Granted on December 3, 2024, active |
| US11663201B2, “Generating query variants using a trained generative model” | Generates variants of a search with a generative model (priority 2017). | Granted on May 30, 2023, active |
| WO2025102041A1, “User embedding models for personalization of sequence processing models” | Uses a user's historical data to personalize a model's answers. | International application pending |
| US20250124067A1, “Method for Text Ranking with Pairwise Ranking Prompting” | Orders results by asking a generative model to compare them in pairs. | Application pending |
| US20240362093A1, “Query response using a custom corpus” | Bases a language model's answer on an external collection of documents. | Application pending |
A document to read, not to apply
The “AI Mode patent” is a pending application, not the AI Mode manual. It is worth reading because, with a 2023 priority date, it describes ideas similar to those Google later launched: multiple searches, memory, personal context.
Want to know whether your pages answer the sub-questions AI Mode can generate? Find out what's wrong with your site with the SEO audit: you get the 5 things to fix first, covering technical SEO, content, AI visibility and performance.
Frequently asked questions
What does “stateful chat” mean?
It means a chat with state: a conversation that remembers context from one turn to the next. In the document, the state collects previous questions, results shown, pages opened and answers already given. It can be a list of words or a set of embeddings, meaning numbers that represent meaning. Example from the text: you ask for a hotel in Boise, then add Wi-Fi and a pool, and the state becomes hotel, Boise, Idaho, Wi-Fi, pool.
How does query fan-out relate to this document?
Query fan-out is the name Google uses: AI Mode runs several related searches across different subtopics and sources, then merges the results. The document instead talks about synthetic queries, created by a generative model from the question and the user's context. SEOs link the two, but Google does not cite this patent application. I cover it in the article on query fan-out.
