Get Up and Running in 5 Minutes
# Clone the repo
git clone https://github.com/saurabh-oss/gepa-langchain-lab
cd gepa-langchain-lab
# Setup
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Add your GROQ_API_KEY to .env
# Start MLflow UI
mlflow ui --host 0.0.0.0 --port 5000
# Run the optimization pipeline
python src/app.py # Baseline
python src/eval.py # Evaluate
python src/optimize.py # GEPA prompt optimization
python src/optimize_mega.py # MEGA workflow optimization
That's it! Your system is now optimized. Both prompts and workflows have been automatically improved based on your evaluation set.