En 30 secondes
A proactive agent does more than wait for a prompt: it observes context, infers a user’s needs and decides whether an interruption is worth the cost. Stanford’s Diyi Yang shows how user models and feedback can support those decisions, but also why more context exposes more private information. In one benchmark, a fine-tuned model still raised false alarms about half the time; in a separate 10-person study, a personalized agent improved a timing metric over a week. Yang proposes limited capture, contextual privacy checks and confirmation before sharing as possible safeguards.
- 1Proactivity means inferring needs before a user asksA reactive assistant waits for an instruction; a proactive one observes context and decides whether to offer help. The user may still approve the resulting action.
- 2An interrupt gate is separate from noticing an eventYang separates perception, user modeling, prediction and action, and adds a decision about whether and when the agent should speak.
- 3User models infer preferences with uncertaintyHer example turns computer activity into propositions and confidence estimates, while recognizing that the same observation can support several explanations.
- 4Interruption can be framed as a benefit-and-cost decisionThe GUMBO example weighs the chance and value of useful help against false interruptions and missed opportunities.
- 5Better benchmark scores still left many false alarmsOn one synthetic benchmark, a fine-tuned model’s false-alarm rate remained around 50%, illustrating how difficult it is to time useful help.
- 6A local observer can be separated from an execution agentYang describes Coco, which uses feedback to adapt its local observer. In a one-week study of 10 users, a proxy timing F1 rose from about 0.2 to 0.5.
- 7Personalization also exposes information about other peopleYang discusses contextual privacy, bystander data and sensitive inferences, alongside options such as local capture and confirmation before sharing.
À retenir
- Separate recognizing a possible need from deciding whether and when to interrupt.
- Compare the expected benefit of useful help with the costs of an unwanted interruption and a missed opportunity.
- Treat inferred preferences as uncertain and changeable, rather than facts about a person.
- Measure timing and the usefulness of the proposed help separately.
- Limit data collection, consider bystander consent and confirm sensitive disclosures.
Lire le texte remanié, chapitre par chapitre
What proactive agents do before a request
Yang contrasts waiting for an explicit instruction with anticipating a need. She explains why context, tools and timing make the difference.
A proactive agent starts helping before a user explicitly asks. If I am still working on slides for a talk tomorrow, the question is what the agent would need to notice and know before offering useful help.
Recent assistants differ in what they can observe and do without an instruction. Better models, cheaper background computation, access to applications and memory across sessions have made this kind of system more practical to explore.
A reactive agent waits for the user to state a goal and supply the relevant context. A proactive agent tries to infer the goal, context and preferences, and decides when to offer help. The distinction depends on how well it models the user and when it chooses to speak.

Consider a meeting request in an email. In a reactive workflow, the person asks an assistant to schedule it. In a proactive workflow, the assistant notices the request and offers help; the person still decides whether to add the meeting to the calendar.
Background help could reduce both routine work and the burden of knowing exactly what to ask. Yang shows a research comparison in which proactive variants completed more tasks than a baseline, while emphasizing the broader design question of what the system should observe.
Older user models and mixed-initiative systems
Earlier interfaces modeled user behavior and the costs of intervening. Yang connects those ideas to current personal agents.
The idea of modeling a user is not new. Earlier researchers argued that a system needs some model of what it regulates; later interfaces considered what a user already knows and how that should change an explanation.
Models of computer use in the 1980s described alternative ways to accomplish a goal, such as saving a document through a menu or a keyboard shortcut. A keystroke-level model could estimate how long a sequence would take an experienced user.
In the 1990s, interface agents explored learning by watching repeated computer activity. Such an agent also needed to decide how confident it was before suggesting an action, an issue that reappears in today’s screen-aware systems.
Mixed-initiative systems consider both whether a person has a goal and whether the assistant takes action. Each combination has a potential benefit or cost. The decision is not just whether a model can perform an action, but whether its intervention helps at that moment.
Yang points to principles that remain relevant: reason about uncertainty in user goals, attention and timing; account for the cost of a bad guess; and use socially appropriate behavior. A system can also learn from recent interactions and observation.

Recommendation systems offer a related example. Suggesting a film, song or friend already involves a model of a person’s likely interest, even if the context is narrower than a personal agent operating across many applications.
Perceive, model, predict and act
Yang separates the steps of observing a user, inferring preferences, anticipating actions and deciding whether to help. Event triggers and interruption decisions are different components.
Yang proposes four components: perceive what the person is doing, model preferences and goals, predict what may happen next, and act by deciding whether, when and how to help. Prediction is optional; a system can also perceive, model and act without explicitly forecasting the next action.

Alongside familiar agent components such as tools, memory and reasoning, she highlights three additions. A trigger wakes the system, an interrupt gate decides whether and when to speak, and feedback from accepted or rejected suggestions can inform later behavior.

Always-on does not mean running a model continuously
Event- and timer-driven agents can sleep between sessions while retaining state. Permission boundaries and the channel back to the user matter when no one is watching.
One example uses a personal device as a gateway for messages and application access while calling a remote model for inference. Access to local files and applications can be useful, but Yang notes that it is also a source of risk.
Instructions can define the agent’s job and limits; skills and tools describe work it may perform; and schedules can trigger work. A lightweight controller can keep expensive computation asleep for routine checks and wake the agent for a new event.
An always-on assistant need not run a large model continuously. It can wait, start a short session when an event arrives, write down state needed later and return to sleep. The next message or scheduled event starts another run.
Permissions define what can happen while the user is away, and an outbox determines how results reach the user. Without appropriate limits, background access could lead to consequential actions that the person did not intend.
When an event arrives, an agent can read its memory and permissions before selecting allowed tools. If it has something to report, it sends the result through the user-facing channel; the person’s response may itself become the next event.
Infer a user model from computer activity
A general user model turns observations into uncertain propositions about habits and preferences. Yang shows how such a model can make suggestions and why its knowledge must be updated.
Yang next introduces a general user model built from computer activity. Unlike an agent that wakes only for a message or timer, this approach can use ongoing observations to infer propositions about the user, each with an associated confidence.
For instance, seeing someone watch ice-cream recipes could indicate an interest in ice cream or cooking, but it could also be random browsing. A proposition and a confidence score are an inference, not proof of the person’s preference.
The model can build and update many such propositions as a person works. Some may describe habits or current concerns, with different confidence levels. The same observation can admit more than one explanation.
In one example, Yang is working on slides and receives a message asking about them. The model notices the context and suggests a draft message to a student who often helps with her presentations. The proposal reflects an inferred workflow rather than merely offering to write the slides itself.
At each step, a system might capture an observation, decide whether it is appropriate to use, retrieve related information and revise earlier propositions. Over time those updates form a local user model that a proactive assistant can consult.
Weigh the costs and benefits of an interruption
GUMBO frames intervention as a decision under uncertainty. A small user study explores the experience of suggestions informed by a user model.
Yang’s GUMBO example returns to mixed initiative: at a decision point, should the assistant interrupt? The question combines its confidence that help is useful with the benefit if it is right, the cost of a false interruption and the cost of missing a useful opportunity.
Earlier approaches often built separate estimates for those variables, allowing errors to compound. Yang describes using the user model to estimate the relevant quantities, with better information potentially improving later decisions.
One evaluation of the general user model examined 3,600 emails from 18 users. Yang says participants generally considered the inferences accurate and describes conservative confidence as desirable when the system is making claims about a person.
In a separate, qualitative study, five people tried the proactive system for more than a week. The researchers examined the propositions and suggestions it produced rather than relying only on a benchmark score.
One participant moving for an internship reported that the system drew together details such as timing, budget and concerns to suggest a plan. Yang contrasts that with the work of explicitly explaining each detail to a reactive assistant, including across languages.
A student asks what happens when a proposition becomes stale or conflicts with later information. Yang says the system updates recent information and can retain contextual descriptions and confidence, but evolving preferences and boundary cases remain difficult.
Predict what a person may do next
Yang presents a model trained on screen-use data to forecast actions. The approach retrieves relevant history and scores predictions against what later happens.
The next question is whether an agent can predict what a person will do on a computer. Not every proactive system needs an explicit prediction stage: scheduled triggers and standing goals are alternatives. Prediction is one possible way to decide what help might be useful.
If the user is already about to fix a typo, suggesting the same correction may add little value. A forecast can consider both what a person is likely to do and what they might not do, given a recent context window and a chosen future horizon.
Training such a model requires data. Yang describes screen recordings and associated interaction signals from a research dataset, including about 1,800 hours of use and 1.9 million screenshots in the material discussed. Later she says their sample included 20 users from a larger Stanford dataset.
New observations should inform predictions quickly. The approach retrieves relevant past reasoning for a particular user and uses it as context for the current forecast, rather than relying only on slow changes to model weights.
A prediction can be scored by waiting and observing what the person actually does. The system retrieves relevant past context, reasons about the current situation, predicts possible actions and compares them with later behavior; useful traces can return to memory.
Yang reports that the LongNAP approach performed better than the comparison methods on two models in the evaluation she shows. People varied considerably in predictability, and some forecasts drew on relevant activity from days earlier.
A student asks about the discomfort of having a system describe personal behavior. Yang says the intended inference happens in the background and discusses a local-model design, but acknowledges that unwanted descriptions would not be the goal.
More context can help while exposing more data
A class discussion compares user models with recommenders and raises concerns about personal descriptions. Yang describes a utility and privacy trade-off.
More context may improve the user model but also exposes more personal information. Yang presents this as a design trade-off, not a recommendation to collect everything for every application.
Another student compares user models with social-media recommendation. Yang agrees that both infer interests from past behavior, while noting that a cross-application assistant could combine more kinds of context than a recommender confined to one service.
A student asks whether improved user models could help create simulated users. Yang says they might support more realistic simulations of workflows, while the earlier question of how much personal information to use remains.
Measure timing and content separately
A simulated benchmark tests whether agents offer help at useful times. Yang cautions that improved scores can coexist with high false-alarm rates and uncertain labels.
Timing remains difficult. An assistant that interrupts every few seconds is annoying; one that stays silent all day may be unhelpful. An urgent, high-value message may justify interrupting focused work, while a trivial promotion may not.
Researchers can evaluate a proactive suggestion as a decision with a reward or cost: would the person accept the help or reject it? Because real user data is difficult to collect, some studies build simulated environments and users to generate examples.
In one simulation, a user agent performs everyday tasks while an environment records events. A proactive agent observes them and proposes help. Repeating this process generated about 6,000 training events, and human judgments were used to train a reward model.
Yang shows that fine-tuning improved the displayed F1 score from about 60 to 67 for one model. But the false-alarm figure remained around 50%, so many suggestions were still rejected. A better aggregate score did not make timing a solved problem.

Timing and content can be evaluated separately: when should the assistant intervene, and what help should it offer? The first can use classification measures; the second asks whether the proposed help matches the person’s intention.
In another displayed evaluation, timing scores were higher than measures of what help to provide; the best shown intention accuracy was about 38%. Yang also questions using the moment a person opens an AI tool as an exact label, since help might have been welcome earlier or later.

A local observer and an on-demand helper
Coco separates an always-on observer from an execution agent. Feedback and workflow signals support personalization in a small user study.
The Coco system combines several ideas. An always-on observer on the local device learns from activity across applications and decides when enough context exists to offer support. A separate execution agent is called on demand and can run elsewhere.

The observer can learn from whether a suggestion is accepted, ignored or edited. It can also consider patterns in the workflow, such as whether a person appears focused or stuck, when deciding whether to offer help.

In a one-week study with 10 people, Yang reports that a proxy F1 score for appropriate timing rose from about 0.2 to 0.5 after personalization. She presents this as a small user study of that particular measure.
Protect users and the people around them
Yang discusses contextual information flows, sensitive inferences and bystander data. Possible safeguards include minimal local capture, opt-in controls and confirmation before sharing.
A participant in one study said they would not have installed the system without knowing and trusting the researchers. Yang uses the comment to illustrate the tension: more context can help an assistant know a person, but it also exposes more of their data.
Contextual integrity offers a way to reason about information flows. Some details may be appropriate for one audience or purpose and inappropriate for another. An audit can examine what a system observes, uses and outputs in a particular context.
The data may also belong to people other than the user: contacts in messages, email or meetings have their own interests in consent. Yang raises questions about sensitive inferences involving health or finances, unintended disclosures, incorrect recipients and prompt injection.

Possible mitigations include limiting capture, processing observations locally, removing third-party information, letting users opt in or out of sensitive inferences, and asking for confirmation before sharing. Yang frames these as choices to evaluate for each risk.
For Coco, Yang describes a locally running observer paired with an execution agent that may use external models or APIs. Local observation is one part of the architecture; it does not mean every subsequent computation must occur locally.
Open questions about control and incentives
Timing, affordability, what an agent should remember and whose interests it serves remain design questions. Yang closes by considering bystanders and platform incentives.
The remaining questions include when interruption is worthwhile, what the agent should remember or never use, and how it can act safely. Always-on systems also have costs in computing, memory and energy.
Yang asks whose interests a personal agent serves: a platform may optimize engagement or purchases rather than only the user’s goals. Bystanders appearing in a user’s screen, calendar or conversations also need consideration. She closes the course by leaving those questions for system builders.
Sur la même chaîne
23:23EN
34:51EN
1:22:31EN
1:17:10EN
1:48:06EN
1:22:20EN