Update README.md
Browse files
README.md
CHANGED
|
@@ -1,98 +1,71 @@
|
|
| 1 |
# CrewAI ATS Resume Screener & Rewriter
|
| 2 |
-
This is an intelligent Applicant Tracking System (ATS) Resume Screener & Rewriter built using CrewAI and LangChain tool integrations. It serves two primary user roles: Candidate and Employer.
|
| 3 |
|
| 4 |
-
|
| 5 |
-
### For Candidates
|
| 6 |
-
#### Resume Scoring
|
| 7 |
-
- Provide your resume and a job posting URL.
|
| 8 |
-
- The system analyzes and scores your resume based on ATS alignment with the job.
|
| 9 |
-
#### Resume Rewriting
|
| 10 |
-
- Upload a resume, and optionally provide a job posting URL.
|
| 11 |
-
- The system identifies gaps and rewrites your resume to improve the ATS score.
|
| 12 |
-
- Attempts rewriting up to 2 times for optimal improvement.
|
| 13 |
|
| 14 |
-
|
| 15 |
-
#### Candidate Evaluation
|
| 16 |
-
- Upload a job description as plain text.
|
| 17 |
-
- Upload multiple candidate resumes (PDF, DOCX, TXT).
|
| 18 |
-
- The system analyzes and ranks the top 3 best-fit candidates based on the job description.
|
| 19 |
-
- Automated Email Notifications
|
| 20 |
-
- Sends personalized emails to all candidates:
|
| 21 |
-
- Acceptance: Invitation for interview scheduling (top 3).
|
| 22 |
-
- Rejection: Polite rejection message (others).
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
|
| 41 |
-
π firecrawl-py β Job post scraping from URLs
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
-
bash
|
| 49 |
-
Copy
|
| 50 |
-
Edit
|
| 51 |
-
# Install uv if not already installed
|
| 52 |
-
pip install uv
|
| 53 |
|
| 54 |
-
|
| 55 |
-
uv pip install -r pyproject.toml
|
| 56 |
-
Or, if using requirements.txt:
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
π οΈ Usage
|
| 63 |
-
Run the Streamlit App
|
| 64 |
-
bash
|
| 65 |
-
Copy
|
| 66 |
-
Edit
|
| 67 |
-
streamlit run app.py
|
| 68 |
-
Modes of Operation
|
| 69 |
-
Select your role: Candidate or Employer
|
| 70 |
|
| 71 |
-
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
-
π File Types Supported
|
| 77 |
-
PDF
|
| 78 |
-
|
| 79 |
-
DOCX
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
π Output
|
| 83 |
-
For Candidates:
|
| 84 |
-
Score Report
|
| 85 |
-
|
| 86 |
-
Rewritten Resume
|
| 87 |
-
|
| 88 |
-
Comparison Overview
|
| 89 |
-
|
| 90 |
-
For Employers:
|
| 91 |
-
Top 3 Candidate Names
|
| 92 |
-
|
| 93 |
-
Email Dispatch Report
|
| 94 |
-
|
| 95 |
-
Ranking Table
|
| 96 |
-
|
| 97 |
-
π§ͺ Retry Mechanism
|
| 98 |
-
Resume rewriting has a 2-attempt max to ensure optimal rewriting without excessive API calls.
|
|
|
|
| 1 |
# CrewAI ATS Resume Screener & Rewriter
|
|
|
|
| 2 |
|
| 3 |
+
An AI-driven system built using CrewAI to streamline both employer-side candidate screening and candidate-side resume optimization for Applicant Tracking Systems (ATS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
## π§ Features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
+
### π Employer Mode
|
| 8 |
+
- Upload a **job description** and **multiple resumes**.
|
| 9 |
+
- Automatically **score resumes** based on relevance.
|
| 10 |
+
- **Top 3 candidates** receive personalized interview invitation emails.
|
| 11 |
+
- Remaining candidates receive **personalized rejection emails**.
|
| 12 |
+
- All emails are customized based on resume and job context.
|
| 13 |
|
| 14 |
+
### π€ Candidate Mode
|
| 15 |
+
Two available options:
|
| 16 |
+
1. **ATS Resume Score Check**:
|
| 17 |
+
- Enter a **job URL** to evaluate your resume.
|
| 18 |
+
- Get a **personalized score** with actionable feedback.
|
| 19 |
|
| 20 |
+
2. **Resume Rewriting**:
|
| 21 |
+
- Optional: Provide a **job URL** for targeted optimization.
|
| 22 |
+
- Resume is rewritten **only if the score < 85**.
|
| 23 |
+
- Supports up to **2 rewrite attempts**.
|
| 24 |
+
- Returns final score and **detailed feedback**.
|
| 25 |
|
| 26 |
+
## π Tech Stack
|
| 27 |
+
- **Python 3.11**
|
| 28 |
+
- [CrewAI](https://github.com/joaomdmoura/crewai)
|
| 29 |
+
- LangChain Tools
|
| 30 |
+
- Gmail SMTP (secured with App Passwords)
|
| 31 |
+
- PyMuPDF, spaCy, NLTK
|
| 32 |
+
- Streamlit (for UI)
|
| 33 |
+
- ONNX Runtime for model inference
|
| 34 |
|
| 35 |
+
## π¦ Installation
|
| 36 |
|
| 37 |
+
```bash
|
| 38 |
+
git clone https://github.com/sunithalv/ATS-Crewai.git
|
| 39 |
|
| 40 |
+
# Install dependencies using uv
|
| 41 |
+
uv venv # creates a virtual environment and activates it
|
| 42 |
+
uv pip install -r requirements.txt
|
| 43 |
+
```
|
| 44 |
|
| 45 |
+
> Note: Python version must be >= 3.11 and < 3.12
|
| 46 |
|
|
|
|
| 47 |
|
| 48 |
+
## π§ Gmail Integration
|
| 49 |
|
| 50 |
+
This project sends emails using Gmail's SMTP server. You'll need to configure your environment with the following variables:
|
| 51 |
|
| 52 |
+
### π Environment Setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
Create a `.env` file in the root directory with:
|
|
|
|
|
|
|
| 55 |
|
| 56 |
+
```
|
| 57 |
+
EMAIL_ADDRESS=your-email@gmail.com
|
| 58 |
+
EMAIL_PASSWORD=your-app-password
|
| 59 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
+
> β οΈ **Important**: You must use a **Gmail App Password** if you have 2-Step Verification enabled.
|
| 62 |
+
> Learn how to generate one: [Google App Passwords](https://support.google.com/accounts/answer/185833)
|
| 63 |
|
| 64 |
+
### βοΈ Sending Emails
|
| 65 |
|
| 66 |
+
- Emails are sent using **SMTP** via `smtp.gmail.com` on port `587`.
|
| 67 |
+
- Each message is read from a `.txt` file where:
|
| 68 |
+
- The **first line** must start with `Subject:`
|
| 69 |
+
- The **remaining lines** form the email body.
|
| 70 |
+
- Emails are sent individually with **personalized content** for each recipient.
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|