An intelligent CLI tool that helps you prepare for interviews by generating personalized questions and providing feedback on your answers. Built with LlamaIndex Workflows for true agentic processing, LlamaParse for advanced document processing, and OpenAI for intelligent question generation and feedback.
Before using this tool, you'll need:
- OpenAI API Key - For question generation and feedback
- LlamaParse API Key - For PDF parsing (get it from LlamaIndex)
- mem0 API Key - To give the agent ability to remember previously asked questions / uploaded document
-
Clone or download this repository
-
Install dependencies
pip install -r requirements.txt
-
Setup environment variables
- Copy
.env.example
to.env
- Add your API keys:
OPENAI_API_KEY=your_openai_api_key_here LLAMA_PARSE_API_KEY=your_llama_parse_api_key_here MEM0_API_KEY=your_mem0_api_key_here
- Copy
python main.py
Before running, prepare these files:
- CV PDF file - Your resume in PDF format
- Job description text file - The job posting/requirements (save as
.txt
) - Interviewer information text file - Details about the interviewer's background, role, style (save as
.txt
)
-
Start the tool:
python main.py
-
Provide file paths when prompted:
📄 Enter the path to your CV PDF file: ./my_resume.pdf 📋 Enter the path to the job description text file: ./job_description.txt 👤 Enter the path to the interviewer information text file: ./interviewer_info.txt
-
Receive a personalized question based on your profile
-
Answer the question when prompted
-
Get detailed feedback on your response
job_description.txt:
Senior Software Engineer - Backend Development
We are looking for an experienced backend developer with expertise in:
- Python and Django/Flask
- Microservices architecture
- AWS cloud services
- Database design and optimization
- API development and documentation
interviewer_info.txt:
Interviewer: Technical Lead with 8 years experience
Background: Former startup CTO, now at a mid-size tech company
Interview style: Focuses on problem-solving and system design
Prefers practical examples over theoretical knowledge
Values clean code and scalability discussions