A powerful AI context engineering tool that helps you build precise, structured prompts for optimal AI responses. Features a beautiful dark slate-blue interface with comprehensive model selection and detailed guidance. Inspired by Andrej Karpathy and this repo - https://github.com/davidkimai/Context-Engineering
- 🛡️ Rule-Based Constraints: Set boundaries and requirements
- 🌐 30+ AI Models: Anthropic, OpenAI, Google, DeepSeek, Qwen, Meta, Mistral + more
- ✨ Example Prompts: Get started quickly with pre-built prompt templates for various tasks.
- 🆓 Free Models: Mix of premium and free models clearly labeled
- 🌙 Dark Theme: Beautiful dark slate-blue interface with aqua accents
- ℹ️ Comprehensive Help: Detailed hover tooltips with examples and guidance
- 📱 PWA Ready: Install as a native app on any device
- 📋 Copy Responses: Easy copy buttons for AI responses
- Click the "Deploy to Netlify" button above
- Connect your GitHub account
- Deploy automatically
- Get your OpenRouter API key from OpenRouter.ai
- Start building better prompts!
- Fork this repository
- Connect your GitHub to Netlify
- Deploy the
client
folder - Your personal Context Engineer is ready!
- Node.js (v16+)
- OpenRouter API key from OpenRouter.ai
# Clone the repository
git clone https://github.com/your-username/context-engineer.git
cd context-engineer
# Install dependencies
npm run install-all
# Start development server
npm start
# build
npm run build
This starts:
- Client: http://localhost:3000
- (Optional) Load an Example: Choose a pre-built prompt from the "Examples" menu as a guide to get started quickly.
- 🎭 Define Persona: Set the AI's role and expertise (hover ℹ️ for examples)
- 📝 Write Prompt: Clearly state your task (hover ℹ️ for guidance)
- 🔍 Add Context: Include constraints and background (hover ℹ️ for tips)
- 💡 Provide Examples: Show desired input/output patterns
- 📐 Specify Format: Define response structure and style
- 🛡️ Set Rules: Add specific boundaries and requirements
- 🚀 Send to Model: Choose from 30+ AI models and get results
- 📋 Copy Results: Use copy buttons to save responses
Hover over any ℹ️ icon for detailed guidance with examples!
The app now includes a selection of pre-built prompts to help you get started. Find them in the "Examples" dropdown.
- Persona: An expert in Python and data structures, specializing in writing clean, efficient, and well-documented code.
- Prompt: "Create a Python function to find the second largest number in a list of integers."
- Result: A well-structured function with code examples.
- Persona: An expert writer, specializing in humor and satire.
- Prompt: "Write a short story about ducks."
- Result: A fun short story on topic.
- Persona: A certified financial analyst with 15 years of experience in portfolio risk assessment for retail clients.
- Prompt: "Analyze the risk profile of the provided stock portfolio [x] and provide recommendations."
- Result: A clear and concise summary risk analysis in Markdown format.
- Anthropic: Claude 3.5 Sonnet, Claude 3.5 Haiku
- OpenAI: o1-pro, o1-mini, GPT-4o
- Google: Gemini 2.5 Pro, Gemini 2.0 Flash
- DeepSeek: R1 (latest reasoning model)
- Qwen: QWQ-32B Preview (advanced reasoning)
- Meta Llama 3.1 8B
- Mistral 7B
- Google Gemma 2 9B
- Microsoft Phi-3 Mini
- And more in the "Free Models" section!
- Frontend: React 19, Tailwind CSS, PWA-ready, with OpenRouter integration
- Deployment: Netlify-optimized with auto-deploy
- Storage: Client-side API key storage (secure & private)
context-engineer/
├── client/ # PWA Frontend
│ ├── public/
│ │ ├── manifest.json # PWA manifest
│ │ └── sw.js # Service worker
│ ├── src/
│ │ ├── components/ # React components
│ │ └── App.js # Main application
│ └── package.json
|
├── netlify.toml # Netlify configuration
└── README.md
- Client-side API keys: Your OpenRouter API key stays in your browser
- No data collection: Zero tracking or analytics
- HTTPS only: Secure communication
- Open source: Fully auditable code
- Fork this repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
MIT License - feel free to use this for personal or commercial projects!
- ⭐ Star this repo if you find it useful
- 🐛 Report bugs via GitHub Issues
- 💡 Suggest features via GitHub Issues
- 🔀 Submit Pull Requests for improvements
Built with ❤️ for the AI community