Practical overview
When it fits
Use PRELUDE when you want a Python codebase for investigating edit-driven preference learning in LLM agents, particularly in summarization or email-writing experiments.
Who it is for
- Researchers studying preference learning from user corrections.
- Developers implementing custom LLM agents with completion and learning methods.
- Experimenters comparing agent approaches on summarization or email-writing tasks.
Documented uses
- Prototype an agent that uses user edits to learn preferences.
- Configure task examples, random seeds and data sources for experiments.
- Reproduce the repository’s paper experiments using its agents and experiment scripts.
- Implement a custom agent using the framework’s completion and learning interface.
Requirements & limits
The public repository identifies the project as MIT-licensed.
- The included task implementations are content summarization and email writing.
- The user component requires TaskConfig and UserConfig, including an LLM model name.
- The documented setup uses Python 3.6, recommends Conda, and requires dependencies plus PyTorch.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the PRELUDE development environment
Prepare the documented Python environment and install project dependencies and PyTorch.
Before you start
- Python 3.6
- Conda is recommended for creating a virtual environment
- The repository’s requirements.txt file
- PyTorch
Steps
Create a Python 3.6 environment; the project recommends using Conda.
Install the dependencies with pip install -r requirements.txt.
Install PyTorch using the instructions at pytorch.org.
Expected outcome
The documented environment and dependencies are installed for working with the PRELUDE codebase.
Guide limitations
- These are setup instructions; they do not specify how to run a particular experiment.
- No compatibility guarantee is stated.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- gao-g/prelude · Official homepage title · retained in its source language

