Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.5.1
metadata
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
- Select Model: Choose your target LLM (GPT-4, Claude, Gemini, or custom)
- Enter Seed Prompt: Describe your task, constraints, and desired output format
- Add Training Examples: Provide input/output pairs (images optional)
- Configure Optimization: Set evolution rounds, batch size, and enable LLEGO
- 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_KEYANTHROPIC_API_KEYGOOGLE_API_KEY
License
MIT License