ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions

Bufang Yang, Lilin Xu, Liekang Zeng, Kaiwei Liu, Siyang Jiang +5 more
5/20/2025
cs.AIcs.CLcs.HC

Official code: openaiotlab/ContextAgent (50 stars, last commit 2025-12-07). 1 more implementation below.

Abstract

Recent advances in Large Language Models (LLMs) have propelled intelligent agents from reactive responses to proactive support. While promising, existing proactive agents either rely exclusively on observations from enclosed environments (e.g., desktop UIs) with direct LLM inference or employ rule-based proactive notifications, leading to suboptimal user intent understanding and limited functionality for proactive service. In this paper, we introduce ContextAgent, the first context-aware proactive agent that incorporates extensive sensory contexts surrounding humans to enhance the proactivity of LLM agents. ContextAgent first extracts multi-dimensional contexts from massive sensory perceptions on wearables (e.g., video and audio) to understand user intentions. ContextAgent then leverages the sensory contexts and personas from historical data to predict the necessity for proactive services. When proactive assistance is needed, ContextAgent further automatically calls the necessary tools to assist users unobtrusively. To evaluate this new task, we curate ContextAgentBench, the first benchmark for evaluating context-aware proactive LLM agents, covering 1,000 samples across nine daily scenarios and twenty tools. Experiments on ContextAgentBench show that ContextAgent outperforms baselines by achieving up to 8.5% and 6.0% higher accuracy in proactive predictions and tool calling, respectively. We hope our research can inspire the development of more advanced, human-centric, proactive AI assistants. The code and dataset are publicly available at https://github.com/openaiotlab/ContextAgent.

View on arXivView PDF

Code Implementations(2)

[NeurIPS'25] ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions

502Shell, PythonOct 23, 202510 months ago

[NeurIPS'25] ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions

30Shell, PythonMay 23, 202510 months ago

Similar Papers

Cite this paper

@article{yang2025contextagent,
  title  = {ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions},
  author = {Bufang Yang and Lilin Xu and Liekang Zeng and Kaiwei Liu and Siyang Jiang and Wenrui Lu and Hongkai Chen and Xiaofan Jiang and Guoliang Xing and Zhenyu Yan},
  year   = {2025},
  eprint = {2505.14668},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14668v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.14668.svg)](https://codeofpaper.com/paper/2505.14668)

Discussion