Interview Prep Agent
A multi-agent mock interviewer that tailors itself to each job description and remembers your weak topics.
role
solo build
context
personal project to learn agentic AI
A terminal mock interviewer built from three cooperating agents. Give it a job description and your resume, and it runs a tailored interview, scores your answers, asks follow-ups, coaches you on weak answers, and starts the next session with your weakest topic.
highlights
- Parser agent turns a job description (and resume) into an interview brief
- Interviewer agent asks, scores, and asks one follow-up based on the score
- Coach agent writes model answers (STAR for behavioural) and is called by the interviewer as a tool
- Long-term memory of scores per topic, injected into the prompt
why i built this
Online assessments and interviews are a big part of my final year, so I wanted a practice partner that adapts to each job I apply for. After contributing to Project NANDA, an open-source project for AI agents, I decided to learn agentic AI properly by building one myself.
the three agents
- Parser: reads a job description (PDF, TXT or MD) and an optional resume, and writes an interview brief
- Interviewer: asks bank or self-written questions, scores each answer, asks a gap or stretch follow-up, and gives feedback
- Coach: on request, writes a model answer and tips, saved to coach notes for revision
agentic concepts, mapped to code
- Tool / function calling - get_question, record_answer and friends in prep/agent.py
- The agent loop - a manual run_agent() with a step limit
- Short-term memory (the conversation log) and long-term memory (topic stats injected into the prompt)
- Multi-agent as a pipeline (parser → brief → interviewer) and as a tool (the interviewer calls the coach)
- Rate-limit handling - retry only on 429 and 5xx responses
how i learned
I wrote the code myself and used Claude as a tutor rather than a code generator: concepts first, then hints, a fill-in-the-blanks skeleton only when stuck, and code review by reading. I packaged that method as a reusable Claude Code skill, learn-by-building, in the repo.
what's next
A web UI with a FastAPI backend and a plain HTML/CSS/JS frontend, so it's usable without the terminal.