Career Assistant AI Agent
An AI-powered career assistant that generates professional employer responses, evaluates them using an LLM-based critic, and escalates risky situations through a human-in-the-loop mechanism.
🚀 Features
Profile-grounded response generation
LLM-as-a-Judge evaluation system
Automatic revision loop
Risk / uncertainty detection
Human-in-the-loop escalation
Mobile push notification (Pushover)
JSON event logging
Gradio live demo
🧠 Architecture
The system includes:
CareerAgent (generation)
CriticAgent (evaluation)
UnknownDetector (risk classification)
Notification tool
Logging system
Pipeline:
Employer Message → Unknown Detection → Draft Generation → Critic Evaluation → Revision (if needed) → Final Response
🛠 Tech Stack
Python
OpenAI API
Gradio
Pushover API
JSON logging
📦 Setup pip install -r requirements.txt
Create a .env file:
OPENAI_API_KEY=your_key PUSHOVER_USER=your_user PUSHOVER_TOKEN=your_token
Run:
python app.py 🧪 Required Test Cases
Standard interview invitation
Technical question
Unknown / risky message (salary/legal)
🔐 Safety Mechanisms
Profile grounding
Self-evaluation scoring
Threshold-based quality gate
Confidence-based escalation
Human-in-the-loop branch