Smart Resource Allocation - AI Staffing Recommender

AI / ML
Python
Django
Nextjs
Keycloak
Microservices

Tech Stack

Python
Django
Next.js
React
Keycloak
JWT Auth
Microservices
REST APIs
Machine Learning
AI Chatbot

Description

Smart Resource Allocation is an ML-driven staffing platform for IT services companies that recommends balanced Dev Lead, Developer, and QA squads for a newly incoming project, with dedicated views for managers and team leads. A team lead enters the project details, and the system scores every eligible resource on role fit, checks the cost against the project budget, evaluates ROI, and surfaces an advisory risk factor, so that team decisions rest on data instead of guesswork.

The application follows a microservice architecture with a Next.js frontend, Python and Django backend services, and Keycloak for single sign-on and role-based access control. The role-fit scoring engine weighs three inputs: Skills (60%), Availability (20%), and Past History (20%). Skill proficiency uses a four-level scale (Beginner to Expert), and a certification overrides the self-rating. Availability is derived from current utilization on existing projects. A machine learning model trained on historical allocations and project outcomes learns which team combinations succeed.

For every project the platform produces two result sets. The Ideal Team is a team-level recommendation whose total cost stays within the budget range. The Recommended Set is a broader shortlist of individual resources. Team leads can accept a suggestion or assemble a custom team with drag and drop, which shows a running part-month cost, a non-blocking budget warning, and ROI computed against both ends of the budget range. An AI chatbot lets users query resources and recommendations in natural language.

  • Created a machine learning tool in Python and Django that proposes 2 balanced squads from 3 roles (Dev Lead, Developer, QA), served through a Next.js frontend in a microservice architecture.
  • Implemented secure authentication and Single Sign-On (SSO) using Keycloak, with JWT-based authorization across services.
  • Built a weighted role-fit scoring engine based on Skills (60%), Availability (20%), and Past History (20%).
  • Modelled skill proficiency on a four-level scale (Beginner, Intermediate, Advanced, Expert), with certifications overriding self-ratings.
  • Calculated availability from current project utilization (hourly or full-day) against an 8-hour working day.
  • Trained an ML model on historical allocation data and project outcomes to improve recommendations over time.
  • Generated two result sets per project: an Ideal Team within the budget range and a broader Recommended Set of individual resources.
  • Applied part-month salary calculation (Monthly CTC x project duration) as a budget constraint, separate from role-fit scoring.
  • Computed project ROI as a range against the minimum and maximum of the project budget.
  • Developed a drag-and-drop team builder with real-time cost tracking and non-blocking budget breach warnings.
  • Displayed an advisory risk-factor score derived from team-lead reviews, without affecting the role-fit score.
  • Integrated a staffing chatbot for natural-language queries over resources and recommendations, with Keycloak role-based views for managers and team leads.

Page Info

Login with Keycloak

Users sign in securely through Keycloak SSO. After authentication, JWT tokens are issued and users are routed to the screens their role permits.

Smart Resource Allocation - AI Staffing Recommender - Login with Keycloak

New Project Intake

Team leads capture project details including name, domain, start and end dates, budget range, and the number of resources needed per skill area (for example, 4 Frontend and 3 Backend). Project duration is derived automatically in part months.

Smart Resource Allocation - AI Staffing Recommender - New Project Intake

Team Recommendations

The system displays the Ideal Team and the Recommended Set side by side. Each resource shows a role-fit score, availability, monthly cost, and an advisory risk factor, along with the team's total cost and ROI range against the project budget.

Smart Resource Allocation - AI Staffing Recommender - Team Recommendations

Drag & Drop Team Builder

Team leads drag resources from the Recommended Set to build a custom team. The running total cost updates in real time, and a warning appears if the team exceeds the budget range. The warning is advisory and never blocks the decision.

Smart Resource Allocation - AI Staffing Recommender - Drag & Drop Team Builder

Model Traning

Smart Resource Allocation - AI Staffing Recommender - Model Traning