The rebellious AI prompt enhancement platform that rocks your prompts to the next level!
Prompt Punk is a cutting-edge multi-agent AI system that transforms your basic prompts into powerful, optimized masterpieces. Using a collaborative team of AI agents, it analyzes, improves, and perfects your prompts with punk rock attitude and precision.
Modern dark UI with real-time WebSocket updates, multi-agent collaboration, and beautiful gradient design
- Prompt Engineer Agent: Analyzes and improves your prompts with technical expertise
- Reviewer Agent: Provides quality scoring and detailed feedback
- Lead Agent: Orchestrates the entire improvement process
- Google Gemini (Primary)
- OpenAI GPT (Coming Soon)
- Anthropic Claude (Coming Soon)
- Chain-of-Thought: Step-by-step reasoning approach
- Meta-Cognitive: Self-reflective thinking patterns
- 5-Tier Framework: Comprehensive structured analysis
- Auto: Let the system choose the best approach
- Live Progress Tracking: Watch your prompt get enhanced in real-time
- Background Processing: Powered by Redis and Sidekiq
- Session History: Keep track of all your improvements
- Quality Scoring: Get detailed analysis of prompt effectiveness
- Ruby on Rails 8 - Modern API-only backend
- LangChain Integration - AI agent orchestration
- SQLite - Lightweight database
- Redis - Background job processing
- Sidekiq - Async task management
- React 18 with TypeScript
- Vite - Lightning-fast development
- TailwindCSS - Modern styling
- Glass-morphism UI - Beautiful modern interface
- Docker and Docker Compose
- Gemini API Key (Get one here)
git clone <repository-url>
cd prompt-punk
# Copy environment template
cp .env.docker.example .env.docker
### 3. Launch with Docker Compose
```bash
# Start all services
docker compose up -d
# Or use the convenience script
./start.sh
- Frontend: http://localhost:5173
- Backend API: http://localhost:3000
- Health Check: http://localhost:3000/api/v1/health
- Enter your API key - Add your Gemini API key in the settings
- Write your prompt - Enter the prompt you want to improve
- Choose architecture - Select improvement approach or use "auto"
- Rock and roll! - Watch the multi-agent system enhance your prompt
- Get results - Receive improved prompt with quality analysis
prompt-punk/
βββ rails_backend/ # Rails API backend
β βββ app/
β β βββ controllers/ # API controllers
β β βββ models/ # Data models
β β βββ services/ # Business logic
β β βββ jobs/ # Background jobs
β β βββ langchain/ # AI agents
βββ frontend/ # React frontend
β βββ src/
β β βββ components/ # React components
β β βββ hooks/ # Custom hooks
β β βββ services/ # API clients
βββ docker-compose.yml # Docker orchestration
βββ start.sh # Quick start script
cd rails_backend
bundle install
rails server
cd frontend
npm install
npm run dev
# Start Redis
redis-server
# Start Sidekiq
cd rails_backend
bundle exec sidekiq
POST /api/v1/tasks
- Create new prompt improvement taskGET /api/v1/tasks/:id
- Get task status and resultsDELETE /api/v1/tasks/:id
- Cancel running taskGET /api/v1/tasks/recent
- Get recent tasks
GET /api/v1/health
- System health check
Prompt Punk welcomes contributions! Whether you're fixing bugs, adding features, or improving documentation, your punk spirit is appreciated.
- Fork the repository
- Create your feature branch (
git checkout -b feature/punk-feature
) - Commit your changes (
git commit -am 'Add some punk feature'
) - Push to the branch (
git push origin feature/punk-feature
) - Open a Pull Request
This project is licensed under the Creative Commons Attribution 4.0 International License - see the LICENSE file for details.
Because your prompts deserve to be rebellious, powerful, and unforgettable. We don't just improve prompts - we transform them into punk rock masterpieces that get results and break the mold.
Rock on! π€
Developed as part of the AI Punk project by Netsky