insaaniManav/prompt-forge
关于
用于编写、测试并系统评估提示词的 AI 提示工程工作台,配备强大的分析工具。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PromptForge 🔨
The AI prompt engineering workbench that generates, analyzes, and systematically tests prompts
Stop writing prompts from scratch. Let AI help you craft better prompts, then systematically validate them. Built with Go for speed and reliability.

Why PromptForge?
Most prompt tools are glorified text editors. PromptForge brings engineering discipline to prompt development:
- ✨ Smart Prompt Generation - AI-powered prompt crafting with intelligent suggestions
- 🔍 Advanced Prompt Analysis - Get optimization feedback before you even test
- 🧪 Systematic Evaluation - Generate comprehensive test suites automatically
- 📊 Performance Analytics - Track what works across different scenarios
- 📚 Version Control - Never lose a working prompt again
Quick Start
One-line Docker setup:
docker run -d -p 8080:8080 -e ANTHROPIC_API_KEY="your-key" ghcr.io/insaanimanav/prompt-forge:main
Or clone and run:
git clone https://github.com/insaanimanav/promptforge.git
cd promptforge && ./start.sh
Open http://localhost:8080 and start crafting better prompts.
Core Features
✨ AI-Powered Prompt Generation
- Smart Crafting: AI assists in building effective prompts from scratch
- Intelligent Suggestions: Context-aware recommendations for prompt improvement
🔍 Advanced Prompt Analysis
- Quick Review: Instant optimization suggestions
- Deep Analysis: Comprehensive prompt evaluation and scoring
- Best Practice Validation: Checks against proven prompt engineering principles
🧪 Systematic Evaluation Engine
Creates comprehensive test suites including:
- Robustness: Edge cases, typos, input variations
- Safety: Bias detection, harmful content resistance
- Accuracy: Factual correctness verification
- Creativity: Novel thinking scenarios
⚡ Professional Testing
- Execute with full parameter control
- Dynamic variable detection and substitution
- Multi-model comparison side by side (Claude, GPT-4, Azure OpenAI, Ollama)
📚 Prompt Management
- Organized library with search and tags
- Complete execution history with filtering
- Export/import capabilities
Supported Models
- Claude 3.5 Sonnet (200K context) - Excellent reasoning
- GPT-4.1 (200K context) - Detailed analysis
- O3 (1M context) - Fast execution
- Azure OpenAI - Enterprise-ready
- Ollama Models - Local AI with Llama, Mistral, Code Llama, and more
Configuration
Docker (Recommended)
# Anthropic (Default)
-e ANTHROPIC_API_KEY="sk-ant-api03-..."
# OpenAI
-e OPENAI_API_KEY="sk-..."
# Azure OpenAI
-e AZURE_OPENAI_API_KEY="your-key"
-e AZURE_OPENAI_BASE_URL="https://your-resource.openai.azure.com"
# Ollama (Local AI)
-e OLLAMA_BASE_URL="http://localhost:11434"
-e DEFAULT_AI_PROVIDER="ollama"
Local Development
# Clone and setup
git clone https://github.com/insaanimanav/promptforge.git
cd promptforge
# Configure environment
cp .env.example .env
# Add your API keys to .env
# Run
cd api && go run main.go
API Reference
Core endpoints for integration:
POST /api/critique- Analyze promptsPOST /api/execute- Test with parametersPOST /api/generate-eval- Create test suitesGET /api/prompts- Manage prompt library
Contributing
Built for the prompt engineering community. Contributions welcome:
- 🌐 Additional AI model integrations
- 📊 Enhanced evaluation metrics
- 🎨 UI/UX improvements
- 🔧 Performance optimizations
- Fork the repository
- Create feature branch:
git checkout -b feature/name - Submit pull request
License
GPLv3 - Built with ❤️ for better AI interactions
Transform prompt engineering from art to science
探索相关项目
加载中…