Spaces:
Running
A newer version of the Gradio SDK is available: 6.13.0
title: AI Recruiting Agent
emoji: π€
colorFrom: indigo
colorTo: blue
sdk: gradio
python_version: '3.10'
app_file: app.py
fullWidth: true
header: default
short_description: Bias-aware RAG AI recruiting agent with hallucination checks
suggested_hardware: cpu-upgrade
pinned: true
tags:
- gradio
- langchain
- chroma
- rag
- recruiting
- hr-tech
- responsible-ai
- fairness
- bias-mitigation
- llm
- vector-database
- ai-agent
- nlp
- demo
- explainable-ai
- enterprise-ai
models:
- openai/gpt-oss-120b
thumbnail: >-
https://huggingface.co/spaces/19arjun89/AI_Recruiting_Agent/raw/main/thumbnail.png
disable_embedding: false
startup_duration_timeout: 45m
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
π§ AI Recruiting Agent
A transparent, verification-driven, and bias-aware recruiting assistant built with Gradio, LangChain, and vector search.
This project is designed as a decision-support system to help recruiters evaluate candidates and generate outreach β while embedding safeguards for fairness, auditability, and explainability.
π For a detailed technical and governance walkthrough, see:
Guidebook.md
π What This Tool Does
1) Candidate Assessment (Recruiter View)
Recruiters can:
- Upload company culture documents (core values, principles, etc.)
- Upload resumes in bulk
- Paste a job description
For each candidate, the system produces:
- Deterministic technical skills score
- Evidence-backed culture fit analysis
- Policy-constrained hiring recommendation
- Automated fact verification
- Structured bias audit
All outputs are designed to be inspectable and reviewable by humans.
2) Cold Email Generator (Candidate View)
Candidates can:
- Upload a resume
- Paste a job description
The system generates a tailored professional outreach email.
This feature is independent of the assessment pipeline.
β¨ Key Differentiators
Most recruiting tools focus on automation and ranking.
This system prioritizes trust and governance:
- β Evidence-first scoring
- β Self-verifying analyses
- β Deterministic policies
- β Bias and fairness auditing
- β Human-in-the-loop controls
It is built to support high-stakes hiring environments, not replace recruiters.
π‘οΈ Responsible AI Safeguards
This prototype embeds multiple layers of protection against hallucination and bias.
πΉ Input Anonymization
Before indexing:
- Emails, phone numbers, URLs, addresses, and demographics are removed
- Likely name headers are masked
This reduces demographic leakage into retrieval and reasoning.
πΉ Deterministic Verification
All required skills are:
- Extracted by LLM
- Verified against the job description
- Classified as:
- Quote-verified
- Name-only
- Dropped (unsupported)
Only quote-verified skills are scored.
πΉ Evidence-Based Fact Checking
All claims in:
- Skills analysis
- Culture analysis
Are verified against:
- Resume text
- Job description
- Culture documents
Unsupported claims are flagged and may trigger automatic revision.
πΉ Bias Audit Chain
Each candidate run includes a bias audit that inspects:
- Pedigree and prestige bias
- Subjective or exclusionary language
- Inconsistent standards
- Non-job-related reasoning
- Overconfident claims
Outputs include:
- Bias indicators
- Recruiter guidance
These signals never auto-disqualify candidates.
They highlight where human review is essential.
π System Design & Governance
This project is documented in detail in:
β‘οΈ guidebook.md
The guidebook covers:
- End-to-end system flow
- Deterministic vs LLM boundaries
- Scoring rules
- Verification logic
- Implied competency handling
- Self-correction policies
- Audit artifacts
- Model governance
Reviewers, auditors, and contributors are encouraged to consult it.
π§ͺ Try It Out
Candidate Assessment
- Upload culture documents (PDF/DOCX/Text)
- Upload resumes (PDF/DOCX/Text)
- Paste job description
- Click Analyze Candidates
Cold Email Generator
- Upload resume
- Paste job description
- Click Generate Cold Email
Sample documents are available in the repository.
β οΈ Human-in-the-Loop Disclaimer
This tool provides structured decision support.
It does not replace:
- Recruiter judgment
- Legal review
- Hiring policy compliance
Final hiring decisions must always be made by humans.
π§± Technical Stack
- Gradio β UI
- LangChain β LLM orchestration
- Chroma β Vector storage
- ChatGroq β Inference
- Hugging Face Embeddings β Semantic search
π£ Feedback Welcome
This is an evolving research prototype.
Feedback is welcome on:
- Bias mitigation
- Evaluation transparency
- UX
- Failure modes
- Responsible AI patterns
Please share feedback via the Community tab.
Built by Arjun Singh