Suhasdev's picture
Update Gradio to 6.1.0 for security fixes
38577fa
---
title: Universal Prompt Optimizer
emoji: 🧬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.1.0
app_file: app.py
pinned: false
license: mit
---
# Universal Prompt Optimizer
A powerful genetic evolutionary prompt optimization tool built with GEPA (Genetic Evolutionary Prompt Agent). Optimize your prompts using genetic algorithms with optional LLEGO crossover for faster convergence.
## Features
- 🧬 **Genetic Algorithm Optimization**: Evolve prompts through multiple iterations
- 🎯 **Multi-Model Support**: Works with OpenAI, Anthropic, Google, and custom models
- 📊 **Real-time Metrics**: Track optimization progress and improvements
- 🖼️ **Multi-modal Support**: Include images in your training examples
-**LLEGO Crossover**: Advanced genetic operations for faster convergence
## How to Use
1. **Select Model**: Choose your target LLM (GPT-4, Claude, Gemini, or custom)
2. **Enter Seed Prompt**: Describe your task, constraints, and desired output format
3. **Add Training Examples**: Provide input/output pairs (images optional)
4. **Configure Optimization**: Set evolution rounds, batch size, and enable LLEGO
5. **Start Optimization**: Watch as the genetic algorithm evolves your prompt
## API Keys
API keys are stored in-session only and never logged. You can provide them in the UI or set them as environment variables:
- `OPENAI_API_KEY`
- `ANTHROPIC_API_KEY`
- `GOOGLE_API_KEY`
## License
MIT License