A powerful AI chatbot built using Streamlit UI, OpenAI Python SDK and OpenRouter API, designed for technical interview simulation and coding practice.
Easily switch between Mock interview and Practice modes, track conversations, and get instant, interactive feedback—all with a clean, professional user experience.
NOTE: In order to use this application you need to provide a valid API key.
Note: If you cannot view the demo video, Go to the Documentation folder -> Demo Video
-
Dual Modes: Interview Mode for strict, real interview simulation; Practice Mode for flexible coding help and learning. Each mode offers expandable guidance tailored to its purpose.
-
Interactive Chat: Chat naturally with the AI, ask questions, get hints, and receive structured feedback instantly.
-
Persistent Chat History: Keeps separate conversation histories for each mode—switch modes at any time without losing progress.
-
Secure API Key Management: User API keys are hidden and never stored or shared.
-
Error Handling: Friendly notifications if there’s an API key problem or unexpected error.
-
Easy Chat Reset: Clear your chat history with a single click in either mode.
-
Simulate realistic coding interviews: Answer technical questions, get follow-ups, and receive professional feedback.
-
Practice coding concepts and problem-solving: From basic programming to advanced data structures, the assistant supports hands-on learning with code snippets and step-by-step guidance.
-
Get quiz-style or open-ended coding questions: Receive code MCQs, fill-in-the-blanks, or request practice problems on any topic.
-
Switch seamlessly between focused interview prep and exploratory learning: No need to reload or reconnect, conversation state is preserved in each mode.
-
Clone this repo: git clone https://github.com/AAB007209/Mock_Interview_Chatbot.git
-
Install dependencies:
pip install -r requirements.txt -
Get your OpenAI/OpenRouter API key:
-
Run the app:
streamlit run app.py -
Enter your API key in the sidebar and start chatting!
- Streamlit – UI library for building web apps
- OpenAI Python API – Python library to interact with OpenAI API
- OpenRouter – Optional API gateway for routing OpenAI requests

