Back to home

Compare

Comparing: Charts Changed, AI Still Reads Old Data: Agents Need Interface Awareness & 图表已切换,AI 仍解释旧数据 — Agent 正补上界面感知缺口

AEN
DatasetteSimon Willisonsqlite-utils·

Charts Changed, AI Still Reads Old Data: Agents Need Interface Awareness

One of the most common Agent failures is now reducible to a single sentence: the user moves to the next chart, while the assistant keeps explaining the previous one. The problem is not that the language model is not intelligent enough; the application never told it what the “current interface” contains.

What this is

Consider Datasette’s public demo. An Agent first plots the sqlite-utils download curve. The user then switches to a different statistical target in the sidebar. The chat history still contains the old curve, while the page now displays a new chart. A model relying only on past messages and system prompts cannot accurately determine which chart “this chart” refers to.

The reliable approach is to pass interface state to the Agent—to have the application proactively provide the context the model needs to understand the user’s current action. At minimum, this should include the current object, active filters, and the version of the data on display. Any selected items and loading states should also be included. In short, chat history records “what happened,” while interface state describes “what the user is seeing now.” The two cannot be treated as interchangeable.

Industry view

We believe this is a critical gap closer to real-world product deployment than further expanding model parameters. The value of an enterprise Agent often comes not only from its reasoning capabilities, but also from whether it can pick up the action the user has just completed. Otherwise, every time a user switches charts, selects a document, or changes a filter, they must return to the chat box and repeat the same instructions, reducing collaboration efficiency rather than improving it.

The risks are equally clear: interface state may fall out of sync with data loading. A user may select “the last 7 days” while the old curve remains on screen and new data is still loading in the background. Pairing stale data with a new title at that moment makes the error harder to detect. Scenarios involving multiple charts, delayed responses, and focus changes also require chart IDs, request sequence numbers, and state validation. Knowing more does not mean an Agent will necessarily cite the correct version.

Impact on regular people

For enterprise IT: Enterprise systems need an interface layer for exchanging state with Agents, recording the active object, filters, and loading progress. This is not a matter of adding a few more prompt templates. It requires business operations to become reliably readable and verifiable by the model.

For individual professionals: In the future, selecting a chart, editing a table, or highlighting a document and then asking AI to act will feel more natural. Users will also become more dependent on systems that provide clear signals about the object, time range, and version. Their verification burden will shift from reading the answer to checking its underlying evidence.

For the consumer market: Charting, document, and presentation tools will gradually reduce the burden of repeating instructions. The real differentiator may not be how fluently a model answers, but whether it understands the screen the user is looking at right now.

Source: juejin.cn
BZH
DatasetteSimon Willisonsqlite-utils·

图表已切换,AI 仍解释旧数据 — Agent 正补上界面感知缺口

一个最常见的 Agent 失误已经具体到一句话:用户切到下一张图,助手却在解释上一张。问题不在语言模型不够聪明,而在应用没有告诉它“当前界面”是什么。

这是什么

以 Datasette 的公开演示为例,Agent 先画出 sqlite-utils 下载曲线,用户随后在侧栏改看另一个统计对象。此时,聊天记录仍保留旧曲线,页面却已展示新图。模型只靠历史消息和系统提示,无法准确理解“这张图”指哪一张。

可靠做法是把界面状态传给 Agent(让应用主动提供模型理解当前操作所需的上下文),至少包括当前对象、筛选条件、正在显示的数据版本;有选中项和加载状态,也应一并交代。简单说,聊天历史记录“发生过什么”,界面状态则描述“用户现在看到了什么”,两者不能混用。

行业怎么看

我们认为,这比继续扩充模型参数更接近产品落地的关键缺口。企业 Agent 的价值往往不只来自推理能力,还取决于它能否接住用户刚刚完成的动作。否则,用户每次切图、选中文档、修改筛选条件,都要回到聊天框重复说明,协作效率反而下降。

风险也很明确:界面状态可能与数据加载不同步。比如用户选择“近 7 天”,旧曲线尚未消失,新数据仍在后台加载;此时若把旧数据配上新标题,错误会变得更隐蔽。多图并存、请求延迟返回、焦点切换等场景,还需要图表 ID、请求序号和状态校验。Agent 知道得更多,不等于它一定引用了正确版本。

对普通人的影响

对企业 IT:企业系统需要增加一层界面与 Agent 的状态接口,并记录对象、筛选条件和加载进度。它不是多放几段提示词,而是让业务操作能被模型可靠读取和复核。

对个人职场:未来选图、改表格、圈选文档后直接让 AI 处理会变得更自然。但使用者也会更依赖系统提供对象、时间范围和版本线索,核对成本会从“读答案”转向“检查依据”。

对消费市场:图表、文档和演示工具会逐渐减少重复描述指令的负担。真正形成差异的,可能不是模型回答得多流畅,而是它是否理解你当下正在看的那一屏。

Source: juejin.cn