AgentHiring AI Recruiting Server

AgentHiring AI Recruiting Server

Exposes core recruiting tools such as candidate ranking, profile retrieval, honeypot audits, and job description parsing via stdio protocol.

Category
Visit Server

README

AgentHiring โ€” AI Recruiting Concierge Agent & Candidate Ranking System

AgentHiring is a state-of-the-art AI Recruiting Concierge Agent and multi-stage candidate discovery engine designed to streamline talent sourcing. It leverages the Google Agent Development Kit (ADK) to establish an interactive reasoning chat concierge, backed by the Model Context Protocol (MCP) server, and integrates a highly optimized offline candidate ranking pipeline with adversarial honeypot trap filtering.

Built for the Kaggle AI Agents: Intensive Vibe Coding Capstone using Google ADK and MCP.


๐ŸŒŸ Key Features

  1. AI Recruiting Concierge (Google ADK): An interactive agent powered by gemini-2.5-flash that understands natural language commands (e.g. "Audit candidate CAND_0000002 for honeypot traps", "Compare top 3 matches for Python developer").
  2. Model Context Protocol (MCP) Server: Exposes core recruiting tools (ranking, profile retrieval, honeypot audits, JD parsing) over stdio, allowing integration with clients like Cursor, Claude Desktop, or custom scripts.
  3. Hybrid Sourcing & Ranking Pipeline: Combines lexical BM25 and dense semantic search (BAAI/bge-base-en-v1.5 on CPU) to scan and rank profiles.
  4. Adversarial Honeypot Trap Filter: Detects and flags copy-pasted summary templates, chronological career alignment issues, and keyword-stuffed resumes (100% detection rate on candidate decoys).
  5. Interactive Recruiter Dashboard: Premium dark-themed Streamlit application featuring candidate matching sliders, card expansion breakdowns, and a live AI Concierge Agent chat tab.

๐Ÿ“ธ Demo & Screenshots

Live AI Recruiting Chat Interface

Here is the interactive recruiting agent answering queries inside the Streamlit dashboard:

AgentHiring Chat Console

Sourcing & Interactive Playback

Here is a demonstration of the agent dynamically executing local MCP auditing and parsing tools:

AgentHiring Interactive Demo


โš™๏ธ System Architecture

AgentHiring moves beyond static applicants tracking systems (ATS) by placing an intelligent reasoning loop on top of a highly optimized offline search engine:

Recruiter / Client
   โ”‚
   โ”œโ”€โ”€ (Natural Language Query) โ”€โ”€โ–บ  Google ADK Agent (talentlens_recruiting_concierge)
   โ”‚                                  โ”‚ (Decides which tools to run)
   โ”‚                                  โ–ผ
   โ”œโ”€โ”€ (JSON-RPC stdio protocol) โ”€โ”€โ–บ  FastMCP Server (AgentHiring AI Recruiting Server)
   โ”‚                                  โ”‚
   โ”‚                                  โ”œโ”€โ”€ parse_job_description_tool
   โ”‚                                  โ”œโ”€โ”€ rank_candidates_tool
   โ”‚                                  โ”œโ”€โ”€ get_candidate_profile_tool
   โ”‚                                  โ””โ”€โ”€ detect_honeypot_trap_tool
   โ”‚                                  โ–ผ
   โ””โ”€โ”€ (Optimized Engines) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ  BM25 Search + Vector Semantics + Honeypot Auditing

๐Ÿš€ Setup & Installation

Prerequisites

  • Python 3.10 or higher
  • Google Gemini API Key (optional, for live AI chat interaction)

Steps

  1. Clone & Install Dependencies:

    git clone https://github.com/mohd-ibadullah/AgentHiring.git
    cd AgentHiring
    pip install -r requirements.txt
    
  2. Configure API Keys: Copy .env.example to .env and fill in your Gemini API Key if you want to use the live Gemini model:

    cp .env.example .env
    
  3. Run Pipeline Setup (Model & Embeddings Cache): For first-time runs, pre-download the embedding models and compute candidate indices offline:

    • Windows: powershell -File setup.ps1
    • Linux/Mac: ./setup.sh

๐Ÿ’ป How to Run

1. Launch the Streamlit Recruiter Dashboard

Launch the interactive web application which contains both the candidate discovery list and the Agentic chat panel:

streamlit run app/streamlit_app.py

2. Run the Interactive CLI Agent

Start a command-line chat session with the Recruiting Concierge Agent:

python run_agent.py

Or execute a single command directly:

python run_agent.py --prompt "check honeypot for CAND_0000002"

3. Start the MCP Server

To connect AgentHiring's tools to Cursor or Claude Desktop, start the protocol server:

python src/mcp_server.py

๐Ÿ“Š Evaluation & Verification

To validate the ranking quality of AgentHiring, we include an automated evaluation module that compares our multi-stage pipeline against a standard BM25 Lexical Baseline.

You can run this evaluation script locally to verify the performance numbers:

python src/evaluate.py

Evaluation Metrics Summary (vs. BM25 Baseline)

The multi-stage pipeline yields substantial improvements over standard keyword-matching ATS:

Metric Relative Lift (AgentHiring vs BM25 Baseline) Rationale
Precision@10 +150.0% relative lift Measures lexical-semantic alignment precision boost
Recall@20 +150.0% relative lift Captures broader pool of relevant candidates
NDCG@10 +133.2% relative lift Measures ranking sequence quality
Honeypot Rate (Top 1000) 100% Filtered (0.0% Ours vs 30.1% Baseline) Stage 2 filters 301 decoy profiles from the BM25 pool

๐Ÿงช Running Tests

Verify the agent, MCP tools, and server integrations:

python -m unittest tests/test_agent.py

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured