Get instant advice from 5 unique AI personalities! Ask any question and receive diverse perspectives from different AI coaches, each with their own personality and approach.
git clone https://github.com/junaidaslam2006/AI-Personality.git
cd AI-Personalitypip install -r requirements.txtCreate a .env file in the project root:
OPENROUTER_API_KEY=your_openrouter_api_key_herestreamlit run app.pyNavigate to http://localhost:8501
| Personality | Emoji | Style | Best For |
|---|---|---|---|
| Angry Coach | 🔥 | Direct, tough-love, no excuses | When you need brutal honesty and accountability |
| Philosopher | 🤔 | Deep, contemplative wisdom | When you need perspective and meaning |
| Comedian | 😄 | Humorous, light-hearted | When you're stressed and need to lighten up |
| Motivator | 💪 | Positive, encouraging, uplifting | When you need inspiration and confidence |
| Practical | 📋 | Action-oriented, step-by-step solutions | When you need concrete actionable advice |
- Type your question in the input box
- Click "Get Answers" button
- Get 5 unique responses (30-50 words each) from different AI personalities
- Compare perspectives and choose what resonates with you
- "I failed my exam, what should I do?"
- "I'm feeling overwhelmed at work"
- "Should I quit my job to pursue my dreams?"
- "I want to start a business but I'm scared"
- "How do I build confidence?"
- "I'm procrastinating too much"
- "My relationship is struggling"
- "I don't know what career path to choose"
- 🎭 5 Distinct Personalities - Each with unique coaching styles
- ⚡ Quick Responses - Concise 30-50 word answers
- 🎨 Beautiful UI - Clean Streamlit interface with custom styling
- 🔐 Secure - API keys protected with environment variables
- 🌐 Powered by DeepSeek - Advanced AI model via OpenRouter
- Frontend: Streamlit
- AI Model: DeepSeek Chat via OpenRouter API
- Backend: Python with OpenAI client
- Environment: python-dotenv for secure key management
- Language: Python 3.10+
PersonalityPanel/
├── app.py # Main Streamlit application
├── agents/
│ └── personality_agents.py # AI personality classes and logic
├── config/
│ ├── settings.py # Application configuration
│ └── langchain_config.py # Configuration files
├── assets/
│ └── styles.css # Custom CSS styling
├── requirements.txt # Python dependencies
├── .env # API keys (you create this)
├── .gitignore # Git ignore rules
└── README.md # This documentation
You'll need an OpenRouter API key to use the AI personalities:
- Visit OpenRouter.ai
- Create an account and obtain your API key
- Create a
.envfile in the project root directory - Add your API key:
OPENROUTER_API_KEY=sk-or-v1-your-key-here
Note: The .env file is ignored by Git to keep your API key secure.
The app features a clean interface with:
- Single input box for your questions
- 5 output columns showing each personality's response
- Color-coded personality sections
- Responsive design that works on different screen sizes
- Response Length: Optimized for 30-50 word responses
- Model: DeepSeek Chat (fast and accurate)
- Temperature: 0.8 for creative but consistent responses
- Max Tokens: 80 per response for concise answers
Want to add a new personality or improve the app?
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-personality) - Make your changes
- Commit your changes (
git commit -am 'Add new personality') - Push to the branch (
git push origin feature/new-personality) - Create a Pull Request
API Key Issues:
- Ensure your
.envfile is in the project root - Check that your OpenRouter API key is valid
- Verify you have credits in your OpenRouter account
Import Errors:
- Run
pip install -r requirements.txt - Make sure you're using Python 3.10 or higher
Streamlit Issues:
- Try
streamlit run app.pyfrom the project directory - Clear Streamlit cache:
streamlit cache clear
This project is open source and available under the MIT License.
Give a ⭐️ if this project helped you get multiple perspectives on your problems!
- GitHub: @junaidaslam2006
- Project Link: https://github.com/junaidaslam2006/AI-Personality
Built with ❤️ using Streamlit and OpenRouter API