diff --git a/kits/resume-analyzer-agent/README.md b/kits/resume-analyzer-agent/README.md new file mode 100644 index 00000000..dfa5977f --- /dev/null +++ b/kits/resume-analyzer-agent/README.md @@ -0,0 +1,21 @@ +# Resume Analyzer Agent + +## 🚀 Overview +This AI agent analyzes a resume and compares it with a job description. + +## 🔥 Features +- Extracts matching skills +- Calculates match percentage +- Provides improvement suggestions + +## 🛠️ How it Works +1. Takes resume text +2. Takes job description +3. Compares keywords +4. Returns match score and suggestions + +## 💡 Use Case +Helps job seekers improve their resumes for better job matching. + +## ⚡ Built With +Lamatic AgentKit \ No newline at end of file diff --git a/kits/resume-analyzer-agent/agent.py b/kits/resume-analyzer-agent/agent.py new file mode 100644 index 00000000..6df5620f --- /dev/null +++ b/kits/resume-analyzer-agent/agent.py @@ -0,0 +1,24 @@ +def analyze_resume(resume_text, job_description): + result = {} + + resume_words = set(resume_text.lower().split()) + job_words = set(job_description.lower().split()) + + matched_skills = resume_words.intersection(job_words) + + result["matched_skills"] = list(matched_skills) + result["match_percentage"] = round(len(matched_skills) / len(job_words) * 100, 2) if job_words else 0 + + if result["match_percentage"] < 50: + result["suggestion"] = "Add more relevant skills to improve match." + else: + result["suggestion"] = "Good match! Improve formatting and clarity." + + return result + + +if __name__ == "__main__": + resume = "Python developer with API and backend experience" + job = "Looking for Python backend developer with API skills" + + print(analyze_resume(resume, job)) \ No newline at end of file diff --git a/kits/resume-analyzer-agent/agent.yaml b/kits/resume-analyzer-agent/agent.yaml new file mode 100644 index 00000000..7716f5bc --- /dev/null +++ b/kits/resume-analyzer-agent/agent.yaml @@ -0,0 +1,4 @@ +name: resume-analyzer-agent +description: Analyze resume and match with job description + +entrypoint: agent.py \ No newline at end of file