pratikkrsharma/personal-career-agent
๐งโ๐ผ Personal Career Agent
A personal AI career chatbot built with Gradio, OpenAI API (via OpenRouter), and Vector Search (RAG). This assistant represents Pratik Sharma and answers career-related questions about his background, skills, projects, and experience. It can also capture leads by detecting when a user wants to get in touch and sending an push notification automatically on my mobile.
๐ฉ Key Features
โ Answers questions about Pratik Sharma career, experience, and expertise โ Uses Vector Database (RAG) to enrich context with past data โ Powered by LLMs via OpenRouter API โ Detects potential clients' interest and sends push notifications automatically โ Easy-to-use Gradio Chat Interface โ Github action to automatically deploy changes to Huggingface Space
๐ Tech Stack
- Python
- Gradio (Chat Interface)
- OpenRouter / OpenAI API (LLMs)
- Vector Database (Similarity Search)
- SMTP / Gmail (Automated Email Notifications)
- dotenv (Environment Variables)
๐ง Setup & Run
1๏ธโฃ Clone the Repo
git clone https://github.com/pratikkrsharma/personal-career-agent
cd persona-career-agent2๏ธโฃ Install Dependencies
pip install -r requirements.txt3๏ธโฃ Set Environment Variables
Create a .env file with the following:
OPENROUTER_API_KEY=your_openrouter_api_key_here
RECEIVER_MAIL_ADDRESS=any mail address which will receive mail with user's message
SENDER_MAIL_ADDRESS=gmail address to send user's message
MAIL_PASSWORD=your_gmail_app_password_hereโ ๏ธ Note: For Gmail, you need to use an App Password, not your main account password.
4๏ธโฃ Launch the App
python app.pyWith UV:
uv syncuv run python app.pyIt will open a Gradio web UI locally.
๐ค How Notifications Work
If the LLM detects a user expressing interest to connect, it sends an email to your configured Gmail with the message details.
Trigger Example:
send notification to pratik that this person with <user email> wants to get in touch with youThe user will then be shown your email and phone number automatically.
๐ Project Structure
โโโ app.py # Main app with Gradio UI
โโโ vectordb.py # Vector DB setup for context retrieval (RAG)
โโโ .env # API keys & email credentials
โโโ requirements.txt # Dependencies
โโโ README.md # Project documentation (this file)๐ Example Interaction
User: Tell me more about Pratik's background in AI.
Agent: Pratik Sharma has worked as a software engineer, building projects in data pipelines, AI agents, LangGraph, and OpenAI integrations...
โจ Future Enhancements
- Analytics dashboard for tracking user questions
- Deployment as a self hosted website
๐ง Contact
If you'd like to collaborate or learn more, feel free to contact: ๐ง [mail](mailto:pratikkrsharma@gmail.com)
