Automatically transforms your input — from zero-shot to advanced prompting — into optimized prompts.
Prompt Engineering Studio is intended for AI practitioners, LLM developers, researchers, students, prompt engineers, UX designers, and hobbyists who want to explore and apply advanced prompt engineering techniques. The tool automatically transforms user input into optimized prompts according to selected techniques — from basic to state-of-the-art — making it useful for both experimentation and integration into real-world applications. It supports both local and cloud-based LLMs, and is accessible to users with or without prior experience in prompt engineering.
Try Prompt Engineering Studio in your browser via Claude artifact: Launch Online
- 20+ Prompt Engineering Techniques - From basic Zero-Shot to advanced Tree of Thoughts
- Multi-Provider Support - Works with Gemini, Ollama (local), and more
- Real-time Generation - Generate enhanced prompts instantly
- Copy & Use - One-click copy of generated prompts
- Academic References - Each technique includes paper citations and arXiv links
- Modern UI - Clean, responsive interface built with modern web technologies
- Zero-Shot Prompting - Direct queries without examples
- Few-Shot Prompting - Learning from input-output examples
- Role Prompting - Assigning expert roles to the model
- Chain-of-Thought - Step-by-step reasoning processes
- Tree of Thoughts - Multiple solution path exploration
- Graph of Thoughts - Complex dependency modeling
- ReAct - Reasoning and Acting in structured cycles
- Self-Consistency - Multiple solution verification
- Self-Critique - Critical evaluation of responses
- Metacognitive Prompting - Thinking about thinking
- Reflection - Post-solution analysis
- Meta-Prompting - LM conducting multiple expert queries
- TextGrad Optimization - Automatic prompt improvement
- System Prompt Optimization - Meta-learning approaches
- Visual Chain-of-Thought - Multimodal reasoning
- Models:
gemini-2.5-flash-preview-04-17
,gemini-pro
, etc. - Setup: Requires API key from Google AI Studio
- Models:
llama3.2
,gemma3:12b
,mistral
, etc. - Setup: Runs locally, no API key required
- Privacy: Complete data privacy, offline capable
- Status: Implementation planned
- Models: GPT-4o, GPT-4o-mini, etc.
- Node.js (v16 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/KazKozDev/prompt-engineering-studio.git cd prompt-engineering-studio
-
Install dependencies
npm install
-
Choose your LLM provider and set it up:
# Create .env.local file
echo "GEMINI_API_KEY=your_api_key_here" > .env.local
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Start Ollama server
ollama serve
# Pull a model (in another terminal)
ollama pull gemma3:12b
-
Start the development server
npm run dev
-
Open in browser
http://localhost:5173
-
Configure LLM Provider
- Select your provider (Gemini/Ollama) from the dropdown
- Enter model name (e.g.,
gemma3:12b
for Ollama) - For Gemini: Enter your API key
- Click "Save LLM Settings"
-
Enter Your Query
- Type your question or task in the text area
- Example: "Explain quantum computing"
-
Select Techniques
- Choose one or more prompt engineering techniques
- Use "Select All" for comprehensive analysis
-
Generate Enhanced Prompts
- Click "Generate Enhanced Prompts"
- Wait for AI to create optimized versions
- Copy and use the generated prompts with any LLM
Input Query:
"Explain machine learning"
Chain-of-Thought Enhanced:
You are an expert in machine learning and data science. I need you to explain machine learning in a comprehensive way using step-by-step reasoning.
Please follow this structure:
1. First, define what machine learning is at its core
2. Then, explain the main types of machine learning
3. Provide concrete examples for each type
4. Explain how the learning process works
5. Discuss practical applications
6. Finally, summarize the key concepts
Please think through each step carefully and show your reasoning process as you build up the explanation from basic concepts to more complex applications.
node test-ollama.js
npm run dev
npm run build
npm run preview
This project implements techniques from cutting-edge research papers:
- Chain-of-Thought: Wei et al. (2022) - arXiv:2201.11903
- Tree of Thoughts: Yao et al. (2023) - arXiv:2305.10601
- ReAct: Yao et al. (2022) - arXiv:2210.03629
- Meta-Prompting: Suzgun & Kalai (2024) - arXiv:2401.12954
- [... and 20+ more techniques with full citations]
- Frontend: TypeScript, HTML5, CSS3
- Build Tool: Vite
- LLM Integration: Google GenAI SDK, Ollama API
- Styling: Modern CSS with responsive design
- Icons: Material Symbols
If you like this project, please give it a star ⭐
For questions, feedback, or support, reach out to: