LLM agent for anticipating user needs and proactively offering assistance
Top 73.4% on sourcepulse
This project provides a framework for building LLM-powered proactive agents that anticipate user needs and offer assistance without explicit requests. It targets developers and researchers interested in creating more intuitive and helpful AI assistants for coding, writing, and daily life scenarios. The core benefit is enabling agents to act proactively, enhancing user experience and productivity.
How It Works
The system employs a data generation pipeline that includes "Environment Gym" for simulating user activities and "Activity Watcher" for collecting real-world traces. This data is used to train a Proactive Agent and a Reward Model. The Reward Model, achieving a 0.918 F1 score, evaluates the agent's proactive suggestions, aiming to align them with human preferences. The pipeline allows for dynamic data generation, incorporating user feedback to refine future agent behavior.
Quick Start & Requirements
conda create -n activeagent python=3.10
), activate it (conda activate activeagent
), and install dependencies (pip install -r requirements.txt
).http://localhost:5600/#/timeline
.example_config.toml
to private.toml
and update API keys and model settings../agent
folder and follow instructions for running the agent. Proposals are displayed as toasts, with options to accept, reject, or ignore.requirements.txt
.Highlighted Details
Maintenance & Community
The project is from THUNLP and has been accepted by ICLR 2025. Model releases for Proactive Agent and Reward Agent are available. Further improvements to data quality and scenario coverage are planned.
Licensing & Compatibility
Distributed under the Apache License 2.0. This license is permissive and generally compatible with commercial use and closed-source linking.
Limitations & Caveats
The current data focus is limited to coding, writing, and daily life scenarios. The Activity Watcher extension is not tested on Safari. The project is under active development, with some features marked "TO BE UPDATE".
2 months ago
1 day