InstructFlow: Adaptive Symbolic Constraint-Guided Code Generation for Long-Horizon Planning
October 13, 2025 ยท View on GitHub
This is the official implementation of our work "InstructFlow: Adaptive Symbolic Constraint-Guided Code Generation for Long-Horizon Planning" (NeurIPS 2025).

Setup
conda create -n "instructflow" python=3.10
conda activate instructflow
python -m pip install -e .
Add your OpenAI Key
echo "OPENAI_KEY='<YOUR-KEY-HERE>'" > .env
Example commands
python eval_policy.py --config-dir . --config-name=instructflow_draw_star.yaml
Acknowledgement
Our method is developed based on PRoC3S, and we gratefully acknowledge their invaluable code and prompt. Please refer to the original PRoC3S paper for environment setup and further implementation details.