Skip to content
All case studies
Technical hiring marketplace · pre-launch6 min read

Maxpeak: an LLM-assisted first stage for vetting engineers

The backend for a bilingual marketplace connecting Saudi companies with engineers from Egypt. I built the Django API, its authentication, and the automated first stage of a three-stage vetting flow: a Celery pipeline that extracts CV text and scores it with an LLM. The product is pre-launch.

maxpeak.netBackend and frontend · independent build · 2025–2026
Vetting stages modelled
3
Automated (CV screening)
Stage 1
Unit tests on CV extraction
94
Bilingual
AR / EN

The problem

What needed solving

Hiring engineers across borders is a trust problem: companies can't easily evaluate candidates remotely, and candidates can't easily prove their level. Maxpeak's model is to do the vetting before a company sees a profile: ATS screening, a technical assessment, then an expert interview.

The first stage has to handle every applicant, so it had to be automated without becoming a black box.

Constraints

What the design had to respect

  • CVs arrive as PDF or Word documents in English, Arabic, or both.
  • Screening must not block the upload request; it can take tens of seconds.
  • The model provider should be swappable without touching business logic.
  • Other services must be able to verify user tokens without holding the signing secret.

Architecture

How the system fits together

A Django REST API with Celery workers. CV uploads trigger an asynchronous extract-then-parse pipeline whose result advances or stops the candidate's vetting workflow.

  1. API

    • Accounts and auth

      Candidate, company, interviewer and admin roles; RS256 JWT with a JWKS endpoint; Google, LinkedIn and GitHub sign-in.

    • Companies and jobs

      Company profiles, team members, hiring preferences, job offers with accept/reject.

    • Vetting workflow

      ATS screening → technical assessment → expert interview, with tiers.

  2. CV pipeline (Celery)

    • Text extraction

      PDF and DOCX text extraction; image-only files are rejected with a clear message.

    • LLM parsing

      Structured profile, skills, summary and a 0–100 screening score; OpenRouter by default, other providers pluggable.

    • Stage gate

      A score of 70 or more advances the candidate; the result is written to the vetting workflow.

Engineering decisions

What was chosen, and why

  1. Asymmetric tokens with a JWKS endpoint

    RS256-signed JWTs let any future service verify tokens with the public key alone, and token blacklisting supports log-out-everywhere.

  2. Pluggable model strategies

    The parser talks to a strategy interface; OpenRouter (a GPT-4o-mini class model by default) is configured, with Anthropic and a local Ollama model as drop-in alternatives.

  3. Two Celery tasks with retries

    Extraction and parsing are separate tasks, so a model outage retries the parse without re-reading the file, and uploads return immediately.

  4. Reject what can't be read reliably

    Scanned, image-only CVs fail fast with an instruction to upload a text PDF or DOCX, instead of guessing with OCR.

Trade-offs

What those choices cost

One holistic LLM score

Simple to build and explain, but not a calibrated rubric; it needs validation against expert decisions before it can carry more weight.

A fixed pass threshold

Predictable behaviour, but candidates near the threshold are treated the same as clear passes or fails.

No OCR

Higher extraction reliability at the cost of turning away scanned CVs.

Outcomes

What it delivered

Working first stage

Upload → extract → parse → score → advance or stop, asynchronously, with retries.

Tested extraction layer

94 unit tests cover PDF and DOCX text extraction and its error cases.

Foundations for the rest

The data model for assessments, interviews, tiers and company subscriptions exists; their logic is still to be built.

My role

  • Designed and built the Django API, authentication, CV pipeline and vetting data model.
  • Built the Next.js frontend with Arabic right-to-left support.

Scope notes

  • Pre-launch: the product website (maxpeak.net) is public, but the platform backend is not publicly deployed yet.
  • Only the first vetting stage is automated; assessment scoring, interviews, payments, in-app messaging and the replacement guarantee are planned, not built.
  • No hiring or user numbers are claimed.
Django 5.2DRFCeleryRedisPostgreSQLOpenRouterNext.js