The resume parser agent is the first specialist agent the supervisor calls. It receives the raw text extracted from a candidate’s PDF resume — via PyMuPDF upstream — and asks the LLM to convert it into a structured JSON profile. Every downstream agent that needs candidate information reads from theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/vrashmanyu605-eng/Langchain_Interview_Multi_Agents_Flow/llms.txt
Use this file to discover all available pages before exploring further.
candidate_profile field that this agent writes to state.
Source code
Input
The agent reads a single field from state:Raw text extracted from the candidate’s resume PDF. PyMuPDF handles the PDF-to-text conversion before the graph starts, and the result is stored in state under this key.
Output
The agent writes a single field to state:A JSON string containing the structured candidate profile. All downstream agents that need candidate information — matching, research, interview question generators, evaluation, and email — read from this field.
| Field | Description |
|---|---|
candidate_name | Full name as it appears on the resume |
email | Primary contact email |
phone | Contact phone number |
skills | List of technical skills |
frameworks | List of frameworks and libraries |
experience | Total years of professional experience |
projects | Notable projects mentioned in the resume |
education | Highest or most relevant qualification |
certifications | Professional certifications held |
github | GitHub profile URL or handle |
linkedin | LinkedIn profile URL or handle |
current_role | Most recent job title |
seniority_level | Inferred level (e.g., Junior, Mid, Senior, Staff) |
LLM prompt
The prompt instructs the LLM to act as a Resume Parsing Agent and extract all thirteen fields from the rawresume_text. The prompt explicitly requests structured JSON only, which prevents the LLM from adding narrative explanation that would break downstream JSON parsing.