LLM-based agent framework for user behavior simulation
Top 79.1% on sourcepulse
This project provides a framework and sandbox environment for simulating realistic user behavior using Large Language Models (LLMs) as agents. It addresses the challenge of generating high-quality user behavior data for human-centered applications, enabling researchers to study social phenomena like information cocoons and user conformity.
How It Works
RecAgent employs an LLM-based agent framework with a human-like memory mechanism, mimicking sensory, short-term, and long-term memory. This approach allows agents to efficiently manage and recall relevant information, leading to more consistent and believable behavior simulations. The system supports large-scale, parallel multi-agent simulations, integrating with OpenAI APIs for up to 1000 concurrent agents.
Quick Start & Requirements
pip install -r requirements.txt
(note: faiss-cpu
may require conda install faiss-cpu -c pytorch
).config/config.yaml
.Highlighted Details
Maintenance & Community
The project has been accepted by TOIS and is nearing completion. Key contributors include Lei Wang, Jingsen Zhang, and Hao Yang.
Licensing & Compatibility
MIT License. All data and code are restricted to academic purposes only.
Limitations & Caveats
The project is primarily for academic use due to licensing restrictions. Fabricated user data may not fully represent real-world user populations.
4 months ago
1 day