Career Advisor Agentic AI is an intelligent, autonomous multi-agent platform designed to bridge the gap between academic education and industry readiness for IT students, graduates, and aspiring software professionals—with tailored strategic guidance for the Sri Lankan tech ecosystem.
By orchestrating specialized AI agents using LangGraph, harnessing a domain-specific ChromaDB RAG Engine, and dynamically routing prompts across high-speed and high-reasoning LLMs (Groq & OpenRouter), the platform converts raw student profile data into personalized career development roadmaps, interactive skill gap matrixes, industry credential recommendations, and local market strategic advice—all delivered through an interactive Streamlit web application.
Live Web Application : https://career-advisor-agentic-ai.streamlit.app/
Screen Recording : https://youtu.be/KOnYquL_uIg
Navigating the transition from university computer science programs or self-taught coding to landing a high-value software engineering role is fraught with challenges for IT students in Sri Lanka and emerging tech markets:
- Generic AI Hallucinations: Standard LLM chatbots often produce vague, surface-level career advice that ignores exact tech stack prerequisites, realistic learning timelines, or credential validity.
- Regional Market Disconnect: Global advice rarely accounts for local software export demands (e.g., Sri Lanka's expanding enterprise IT services, FinTech platforms, cloud migrations, and remote engineering opportunities).
- Curriculum vs. Industry Readiness Gap: University syllabi often focus heavily on foundational theory while industry hiring demands immediate practical mastery in modern tools (Docker, Kubernetes, CI/CD, Cloud Infrastructure, Microservices).
Career Advisor Agentic AI overcomes these limitations by deploying an orchestrated multi-agent architecture (powered by LangGraph) paired with a persistent Retrieval-Augmented Generation (ChromaDB RAG) pipeline. Rather than relying on a single monolithic prompt, the system divides career advising into four specialized, state-driven agent nodes:
-
Stage 1: Intent & Entity Extraction (
Intent Analysis Agent)- Parses natural, unstructured student prompts (e.g., "I'm a 3rd-year CS student knowing Python and SQL, wanting to become a Cloud DevOps Engineer").
- Extracts current technical competencies and target career goals into structured state variables using ultra-fast LLM inference (<300ms) or dynamic heuristic extractors.
-
Stage 2: Grounded Domain Research (
Career Research Agent)- Queries a persistent vector database (ChromaDB) populated with curated job specifications, university benchmarks, domain roadmaps, and Sri Lankan tech sector market guides.
- Executes dense semantic similarity searches using
sentence-transformers(all-MiniLM-L6-v2) to pull grounded context into the active state.
-
Stage 3: Comparative Skill Gap Matrix (
Skills Gap Agent)- Performs automated differential analysis comparing possessed skills against target role prerequisites.
- Identifies exact technical gaps and categorizes missing competencies into prioritized skill acquisition lists.
-
Stage 4: Personalized Synthesis & Actionable Roadmap (
Recommendation Agent)- Synthesizes accumulated state context into a clean, structured career advisory report.
- Generates a month-by-month learning plan, recommended industry certification paths (AWS, Azure, CKA, CompTIA), strategic Sri Lankan tech market guidance, and interactive skill tracking tools inside the web app.
-
Multi-Agent Orchestration (LangGraph):
- Intent Analysis Agent: Extracts student skills and target goals.
- Career Research Agent: Fetches dense RAG context from ChromaDB.
- Skills Gap Analysis Agent: Identifies missing technical prerequisites.
- Recommendation Agent: Synthesizes structured, empathetic career roadmaps.
-
Dynamic Hybrid LLM Router:
- Groq (
llama-3.1-8b-instant): Sub-300ms ultra-fast inference for high-frequency extractions & list comparisons. - OpenRouter (
openai/gpt-4o-mini/ Claude models): High-reasoning model for roadmap synthesis. - Dynamic Offline Fallback: Works seamless out-of-the-box even without API keys using contextual heuristics.
- Groq (
-
ChromaDB RAG Engine:
- Semantic vector search using
sentence-transformersembeddings over custom curriculum documents, job descriptions, roadmaps, and certification guides.
- Semantic vector search using
-
Interactive Streamlit Dashboard:
- Interactive Report Hub: Section filtering, keyword highlight search, raw markdown viewer, and 1-click Markdown export.
- Industry Certification Grid: Interactive credential cards with status toggles (
Mark as Achieved) and live counters. - Live Skill Readiness Tracker: Interactive checkboxes for missing skills with real-time
% readiness scorecalculation and progress bar. - RAG Knowledge Insights: Transparent viewing of verified background sources retrieved for analysis.
-
Production-Ready & Lightweight Docker Container:
- Multi-stage build with
python:3.11-slimand CPU-only PyTorch index (saves ~2.2 GB). - Secure execution with a non-root user (
appuser).
- Multi-stage build with
career-advisor-agentic-ai/
├── agents/
│ ├── career_research_agent.py
│ ├── graph.py
│ ├── intent_analysis_agent.py
│ ├── recommendation_agent.py
│ ├── skills_gap_agent.py
│ ├── state.py
│ └── test_graph.py
├── data/
│ ├── career_guides/
│ ├── certifications/
│ ├── job_descriptions/
│ └── roadmaps/
├── models/
│ └── model_router.py
├── rag/
│ ├── chroma_db/
│ ├── chunking.py
│ ├── embed_store.py
│ ├── ingest.py
│ ├── retrieve.py
│ └── test_retrieval.py
├── utils/
│ └── secrets.py
├── app.py
├── Dockerfile
├── docker-compose.yml
├── requirements.txt
└── README.md
Follow these comprehensive step-by-step instructions to configure, initialize, and launch Career Advisor Agentic AI in your local development environment.
Before beginning setup, ensure your local system meets the following prerequisites:
- Operating System: Windows 10/11, macOS (Intel or Apple Silicon), or Ubuntu/Debian Linux.
- Python: Python 3.10 or 3.11 (Python 3.11 recommended). Verify by running
python --version. - Git: Installed and available in system PATH (
git --version). - C++ Compiler Tools (Windows Users): ChromaDB relies on
hnswlib. Ensure Visual Studio C++ Build Tools or standard C++ compilation capabilities are installed.
Clone the project repository to your local machine and navigate into the root directory:
# Clone the repository via HTTPS
git clone https://github.com/sachilz/career-advisor-agentic-ai.git
# Move into the project directory
cd career-advisor-agentic-aiIsolate project dependencies by creating a dedicated Python virtual environment (venv):
python -m venv venvActivate the environment according to your operating system and shell choice:
-
Windows (PowerShell - Recommended):
.\venv\Scripts\Activate.ps1
(If PowerShell returns an execution policy error, run
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Processfirst). -
Windows (Command Prompt / CMD):
.\venv\Scripts\activate.bat
-
macOS / Linux (Bash / Zsh):
source venv/bin/activate
Once activated, your terminal prompt will display (venv) at the beginning of the command line.
Ensure pip is updated to the latest version, then install all required packages:
# Upgrade package installer
python -m pip install --upgrade pip
# Install project dependencies
pip install -r requirements.txtstreamlit: Web application interface & reactive session management.langgraph&langchain: StateGraph multi-agent flow orchestration.chromadb&sentence-transformers: Dense vector database and embeddings (all-MiniLM-L6-v2).langchain-groq&langchain-openai: API connectors for Groq and OpenRouter endpoints.python-dotenv: Environment variable loading from.env.
-
Create a
.envfile in the project root directory:# Create .env file manually or via terminal: touch .env -
Open
.envin your code editor and configure your API credentials:# Groq API Key (Used for Intent Extraction & Skills Gap Analysis) # Obtain key from: https://console.groq.com/ GROQ_API_KEY=gsk_your_actual_groq_api_key_here # OpenRouter API Key (Used for Roadmap & Strategic Advice Synthesis) # Obtain key from: https://openrouter.ai/keys OPENROUTER_API_KEY=sk-or-v1-your_actual_openrouter_api_key_here
💡 Keyless / Offline Mode: If you do not have API keys available, leave the keys blank or unconfigured. The system will automatically engage the Dynamic Fallback Engine, enabling full feature demonstration and UI interaction completely offline.
The repository includes pre-built vector database files in rag/chroma_db/. However, if you add new custom documents (.txt, .pdf, .md) to the data/ directory, re-ingest the knowledge base to refresh vector embeddings:
# Run the ingestion script to process, chunk, embed, and index documents
python rag/ingest.py- Reads all documents inside
data/career_guides/,data/certifications/,data/job_descriptions/, anddata/roadmaps/. - Splits text into semantic chunks using
RecursiveCharacterTextSplitter. - Computes 384-dimensional dense embeddings using
sentence-transformers/all-MiniLM-L6-v2. - Persists vector indexes into
rag/chroma_db/.
Start the Streamlit development server:
streamlit run app.pyOnce initialized, Streamlit will display the local and network access URLs:
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.x.x:8501
Open http://localhost:8501 in your web browser to access Career Advisor Agentic AI.
The project includes an enterprise-ready, multi-stage Dockerfile and docker-compose.yml optimized for lightweight footprint, speed, and container security.
Building AI and RAG applications in Docker often results in bloated multi-gigabyte container images. This project applies four key production optimizations:
-
Multi-Stage Build Pattern: Separates compilation and package installation from runtime execution, keeping build tools and cached wheels outside the final container.
-
CPU-Only PyTorch Installation:
sentence-transformersrequires PyTorch. By installing CPU-only wheels (--index-url https://download.pytorch.org/whl/cpu), GPU/CUDA binaries are excluded—reducing final container image size by ~2.2 GB. -
Non-Root Security Model: Operates as a unprivileged non-root user (
appuser, UID10001) with restricted filesystem permissions. -
Automated Container Healthchecks: Built-in HTTP healthchecks (
curl http://localhost:8501/_stcore/health) ensure container orchestrators automatically detect server readiness.
Docker Compose provides a single-command deployment with volume persistence and environment variable pass-through.
Build and run the container in detached background mode:
docker compose up -d --buildView live streaming application logs:
docker compose logs -f career-advisorOpen http://localhost:8501 in your browser.
Gracefully terminate the container service:
docker compose downIf deploying without Docker Compose, use raw docker CLI commands:
docker build -t career-advisor-agentic-ai:latest .Check container status and verify health checks:
# Verify running container status and health state
docker ps --filter "name=career_advisor_ai"
# View container logs
docker logs -f career_advisor_ai
# Execute interactive shell inside running container
docker exec -it career_advisor_ai /bin/bashTo optimize performance, latency, cost efficiency, and response quality across the multi-agent graph, Career Advisor Agentic AI employs a Hybrid LLM Routing Architecture implemented in models/model_router.py.
Different agent tasks have radically different computational needs. High-frequency extraction tasks require sub-second speed and deterministic schema adherence, while final roadmap synthesis demands deep multi-step reasoning and empathetic formatting.
| Agent Node | Primary Provider | Active Model | Task Responsibilities | Trade-Off & Latency Rationale |
|---|---|---|---|---|
intent_analysis |
Groq Cloud | llama-3.1-8b-instant |
Student skill & target goal entity extraction | Sub-300ms Latency: Ultra-fast token generation keeps initial user response instant. Highly economical for structured JSON parsing. |
career_research |
Local RAG / ChromaDB | all-MiniLM-L6-v2 |
Dense semantic retrieval over career knowledge base | Zero API Cost: Local 384-dimensional vector embeddings run on CPU with zero network latency. |
skills_gap |
Groq Cloud | llama-3.1-8b-instant |
Comparative differential analysis of possessed vs. missing skills | Precision List Comparison: Llama 3.1 8B excels at following JSON schemas and computing set differences accurately. |
recommendation |
OpenRouter API | openai/gpt-4o-mini (or Claude 3.5) |
Multi-section career roadmap synthesis & market advice | High Reasoning & Synthesis: Frontier model reasoning produces nuanced, empathetic, structured Markdown roadmaps with custom section headers. |
-
Groq Llama-3.1-8b-Instant (Speed Layer)
- Why used: Extraction and set-difference tasks do not require massive parameter counts. Groq's LPU (Language Processing Unit) hardware delivers processing speeds of over 500 tokens/sec.
- Cost impact: Eliminates expensive API charges on intermediate graph nodes.
-
OpenRouter GPT-4o-Mini / Claude (Reasoning Layer)
- Why used: Synthesizing RAG context, skills gap data, and regional market advice into a cohesive, month-by-month roadmap requires superior long-context coherence, formatting discipline, and human-like empathy.
- Cost impact: Called exactly ONCE per user query at the final recommendation stage, keeping token expenditure minimal.
Career Advisor Agentic AI includes two isolated test suites to verify end-to-end multi-agent graph execution, state key transitions, and vector retrieval semantic precision.
This test harness (agents/test_graph.py) executes an end-to-end run of the sequential StateGraph workflow without requiring the Streamlit web server.
python agents/test_graph.py- Workflow State Initialization: Verifies initial prompt injection (
user_input). intent_analysisNode: Confirms accurate extraction of student technical skills (skills) and target goal (goal).career_researchNode: Verifies tool invocation and dense retrieval count (retrieved_context).skills_gapNode: Validates computed set difference list (missing_skills).recommendationNode: Verifies final roadmap synthesis text (final_recommendation).
================================================================================
CAREER ADVISOR AGENTIC AI - END-TO-END SYSTEM TEST
================================================================================
Sample Input: "I'm an IT student. I know Python and Java. I want to become a DevOps Engineer."
[State Key 1] user_input: I'm an IT student. I know Python and Java. I want to become a DevOps Engineer.
[State Key 2] Extracted skills (Agent 1): ['Python', 'Java']
[State Key 3] Extracted goal (Agent 1): DevOps Engineer
[State Key 4] Retrieved context count (Agent 2 - RAG Tool Use): Retrieved 3 chunk(s).
[State Key 5] Missing skills (Agent 3): ['Docker', 'Kubernetes', 'CI/CD', 'Terraform', 'Linux Administration']
[State Key 6] Final Recommendation (Agent 4): Synthesized report generated successfully.
================================================================================
END-TO-END TEST SUCCESSFUL! All 4 agents executed and populated state.
================================================================================
This test harness (rag/test_retrieval.py) evaluates the semantic retrieval quality of ChromaDB over 5 standard benchmark career queries.
python rag/test_retrieval.py- "What skills do I need to become a DevOps Engineer?"
- "What certifications are good for cloud computing beginners?"
- "What does a Data Scientist job description typically require?"
- "How do I prepare for a software engineering interview?"
- "What's the difference between AWS and Azure certifications for beginners?"
Prints the Top-K ranked document chunks (k=3), original document source filenames, and L2 distance similarity scores.
This project is open-source software distributed under the MIT License.

