Skip to content

About

An AI-powered Recruitment Matching Agent built using Python, LangGraph, LangChain, ChromaDB, and Ollama. The system uses a Retrieval-Augmented Generation (RAG) architecture to semantically search resumes, rank candidates, generate explainable reports, and support conversational hiring workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

AI Recruitment Matching Agent

An AI-powered Recruitment Matching Agent built using Python, LangGraph, LangChain, ChromaDB, and Ollama.

The system uses a Retrieval-Augmented Generation (RAG) architecture to semantically search resumes, rank candidates, generate explainable reports, and support conversational hiring workflows.

Features =## AI Agent Workflow (LangGraph)

The project implements a LangGraph-based workflow:

START
  ↓
Parse Job Description
  ↓
Extract Requirements
  ↓
Search Resumes
  ↓
Rank Candidates
  ↓
Generate Reports
  ↓
Human Feedback Loop
  ↓
END

Semantic Resume Search (RAG)

  • Resume ingestion using PDF parsing

  • Resume chunking and embedding generation

  • Vector storage using ChromaDB

  • Semantic similarity search

  • Retrieval-Augmented Generation pipeline

Conversational AI Features

Supports natural language queries such as:

  • "Find React developers with AWS experience"

  • "Compare top candidates"

  • "Why did this candidate rank higher?"

  • "Prioritize Docker experience"

  • "Only show AWS candidates"

Explainability Engine

The system generates explainable candidate reports including:

  • Match score

  • Matched skills

  • Missing skills

  • Hiring recommendation

  • Candidate comparison

Hybrid Candidate Ranking

The ranking system combines:

  • Semantic similarity

  • Explicit skill matching

  • Weighted scoring logic

This improves ranking accuracy compared to pure vector similarity search.

Project Structure

ai-recruitment-agent/
│
├── app/
│   ├── agent/
│   │   ├── matching_agent.py
│   │   ├── state.py
│   │   ├── conversation_handler.py
│   │   └── nodes/
│   │
│   ├── rag/
│   │   ├── ingest_resumes.py
│   │   ├── retriever.py
│   │   ├── embeddings.py
│   │   └── chroma_store.py
│   │
│   ├── tools/
│   ├── prompts/
│   ├── ui/
│   └── config/
│
├── resumes/
├── chroma_db/
├── tests/
├── main.py
└── requirements.txt

Installation

1. Clone Repository

git clone <your-repo-url>
cd ai-recruitment-agent

2. Install Dependencies

pip install -r requirements.txt

3. Install Ollama

Download and install Ollama:

https://ollama.com

4. Pull Required Models

ollama pull llama3
ollama pull nomic-embed-text

Running the Project

Step 1 — Add Resumes

Place PDF resumes inside:

resumes/

Step 2 — Ingest Resumes

python -m app.rag.ingest_resumes

This will:

  • parse resumes

  • generate embeddings

  • store vectors in ChromaDB

Step 3 — Run AI Agent

python main.py

Example Workflow

Example Job Description

Looking for a React developer with AWS and Docker experience.

Example Candidate Report

Candidate: Aarav_React_AWS_Developer.pdf

Match Score: 92%

Matched Skills:
- React
- AWS
- Docker

Missing Skills:
- None

Recommendation:
Strong Match

Conversational Queries

After the reports are generated, users can ask:

compare top candidates
why did this candidate rank higher
prioritize aws experience
only show docker candidates

Multi-Round Screening

The system supports:

Round 1

Initial semantic filtering

Round 2

Detailed candidate analysis

Round 3

Final hiring recommendation

Explainability

The system provides:

  • transparent scoring

  • skill-gap analysis

  • semantic reasoning

  • recommendation logic

This helps improve trust and interpretability in AI-assisted hiring.

Demo Highlights

This project demonstrates:

  • LangGraph workflows

  • RAG architecture

  • Conversational AI

  • Semantic retrieval

  • AI explainability

  • Vector search systems

  • Hybrid ranking strategies

About

An AI-powered Recruitment Matching Agent built using Python, LangGraph, LangChain, ChromaDB, and Ollama. The system uses a Retrieval-Augmented Generation (RAG) architecture to semantically search resumes, rank candidates, generate explainable reports, and support conversational hiring workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages