Tirth PatelAI Engineer
Back to All Projects
AI/MLFRONTEND DEMO

CareerCompass AI: Multi-Agent Guidance & Skill Verification

Autonomous multi-agent platform orchestrating AI counseling, live technical challenge verification, and tailored career roadmaps.

FastAPI (Python 3.11)Next.js / Angular 17Google Gemini APIMongoDB AtlasPydantic V2Tailwind CSS
Interactive Frontend EnvironmentLive Preview

Interactive Client-Side Demonstration • Features multi-agent dialogue states and interactive verification challenges.

The Problem Statement

What real-world challenge does this system address?

Self-reported candidate resumes frequently diverge from actual technical competence. Traditional guidance tools lack the ability to verify practical problem-solving ability in real-time before suggesting advanced career specializations.
The Engineering Solution

System Design & Approach

Employs a multi-agent state graph where each agent is constrained to a specific responsibility. The system challenges candidates with domain-specific problems, validates their code submissions, and synthesizes empirical roadmaps via the Google Gemini API.
Key Capabilities:
  • Multi-Agent Separation of Concerns: Counselor, Verifier, Analyzer, and Roadmap agents collaborate with distinct system prompts and schemas.
  • Interactive Skill Verification: Real-time code execution challenges and scenario questions that score candidate competency.
  • Dynamic Milestone Generation: Roadmap synthesizer creating structured week-by-week technical goals.
  • Persistent History: MongoDB Atlas storage maintaining multi-turn dialogue context and challenge progress.
System Architecture Flow

System Architecture & Dataflow

User Client <-> FastAPI Router <-> Multi-Agent Dispatcher (Counselor, Verifier, Analyzer, Roadmap) <-> Gemini API & MongoDB Atlas

Phase 01:Client Interaction

Streams user messages and renders dynamic challenge widgets and roadmap timelines.

Frontend InterfaceNext.js / Angular 17 UI
Phase 02:FastAPI Gateway

Validates payload contracts, manages session tokens, and dispatches requests to appropriate agent instances.

API & Validation LayerFastAPI + Pydantic V2
Phase 03:Agent Orchestration

Passes structured context between Counselor (dialogue) and Verifier (coding challenges) based on user intent.

Autonomous Agent CorePython Agentic State Machine
Phase 04:LLM & Persistence

Executes structured prompt generation with Pydantic JSON schemas and persists interaction logs.

Inference & MemoryGoogle Gemini 1.5 + MongoDB Atlas
Technical Implementation

Stack Specification & Components

Language & Runtime

Python 3.11 & TypeScript

Framework

FastAPI Backend & Next.js / Angular Frontend

Database / Storage

MongoDB Atlas (M0 Cloud Cluster)

Deployment Target

Vercel Frontend & Dockerized Backend Container

Key Libraries
google-generativeaimotor (async mongo)pydanticuvicorn
Interactive Demonstration Sandbox
Client-Side Simulation

Multi-Agent State Orchestration Preview

Interconnected agents: Counselor, Verifier, and Roadmap Generator

Agentic Workflow
Counselor Agent:

“Candidate expressed interest in Applied Machine Learning engineering. Passing session context to Verifier Agent for hands-on challenge validation.”

Verifier Agent Challenge #1:

“Implement a function to compute cosine similarity between two 1D NumPy arrays without relying on high-level Scikit-learn wrappers.”

Status: ✓ Submitted Code Verified • Mathematical Correctness: 100%
Roadmap Agent Synthesizer:

“Roadmap Generated: Week 1-2 (Advanced Tensor Math) → Week 3-4 (Distributed FastAPI Pipelines) → Capstone Deployment.”

Architectural Rationale & Tradeoffs

Engineering Decisions

Key design choices, constraints, and solutions formulated during development

Multi-Agent Decomposition over Monolithic Prompting

Decision:

Divided the system into four discrete agents instead of a single prompt trying to counsel, test, evaluate, and roadmap simultaneously.

Engineering Rationale:

Single massive prompts suffered from instruction drift and loose schema compliance. Specialized agents allow independent prompt tuning, strict validation schemas, and modular unit testing.

Strict JSON Schema Enforcement via Pydantic

Decision:

Configured LLM response generation with strict Pydantic JSON schema constraints.

Engineering Rationale:

Prevents conversational hallucinations from breaking frontend parsing in the challenge and roadmap UI components.