Skip to content

How do you stop candidates cheating with AI in technical interviews without banning AI?

Allow AI in writing, redefine cheating as misrepresenting who did the work, and design the exercise so the signal comes from things an AI can't supply: missing information held by people, decisions the candidate has to defend, and changes they make live. Check identity at the seams between rounds instead of proctoring.

Paarth Jamdagneya
hiringai-collaborationinterviewing

You stop AI cheating without banning AI by moving the line: AI help is allowed and visible, and "cheating" means misrepresenting who did the work or who is in the seat. Then you design the exercise so the signal comes from things an AI can't hand the candidate (information only people hold, decisions they must defend, changes they make live), which makes hidden AI help mostly worthless.

That also answers the related question many teams are asking: if your engineers use Cursor and Claude Code at work, the interview should let candidates use them too, and grade how they direct and check the agent. Below: a definition, a policy you can copy, design moves, identity checks, and what to skip.

What counts as cheating once AI is allowed?

Once you allow AI, "used ChatGPT" stops being a violation. What remains is any act that makes your evidence describe someone other than the candidate. Four cases cover almost everything:

BehaviorWhy it breaks the interview
Someone else does the work (friend, paid helper, a second person on a call)The session shows a different person's judgment. You'd be hiring the helper's skills.
Hidden help in a round declared AI-freeThe round exists to measure unaided reasoning; secret help makes the measurement false.
Misrepresenting authorship (submitting code they didn't direct and can't explain, or a solution prepared before the clock started)You're grading ownership. Claiming ownership of work they didn't steer is the lie.
A proxy interviewee (a different person takes the round)Every signal is about the wrong human.

The mechanism behind all four is the same. An interview is a measurement of one person under known conditions. AI use under stated conditions is a known condition, so it doesn't corrupt the measurement. A hidden person or a hidden tool in a no-AI round changes the conditions without telling you, and that does.

Pasting agent output, using a tool you didn't anticipate and reading docs are absent from the list. If they're allowed at work, allow them here. For the longer argument on why chasing AI usage itself is a losing game, see why Promptster doesn't try to detect AI usage.

What should your AI policy for candidates say?

Most candidates who break an AI rule weren't sure what the rule was. A written policy fixes that and gives you something specific to point to if someone does break it. Send it with the interview invite. Here's text you can adapt:

AI tools in our interviews

In the work-sample round you may use any AI coding tool you'd use on the job, including Claude Code, Codex, Cursor, Copilot or a chat assistant, plus documentation and search. We expect you to. We're assessing how you scope the problem, direct the tools, check their output and decide what to ship, not how much you typed yourself.

You own everything you submit. In the follow-up conversation we'll ask you to explain your choices and to change your solution live, so make sure you understand what's in it.

Not allowed in any round: help from another person, someone else attending in your place, or work prepared before the exercise starts. In the 20-minute code-reading round, AI tools are off; we'll tell you at the start of that round.

What we record: in the work sample, your prompts, the agent's tool calls and file changes, with your consent on screen before anything starts. We don't record your webcam, other apps or keystrokes.

If you need an accommodation or a different setup, reply to this email.

Name the rounds individually, because "AI is allowed" is ambiguous in a loop with four rounds. Give everyone equal access: if you expect an agent, either let candidates bring their own or provide a key. And state what you record, since candidates will assume the worst otherwise. Public examples worth reading: Anthropic's candidate AI guidance separates preparation from assessment use, and Canva's engineering post explains its switch to AI-allowed rounds.

How do you design the exercise so AI help doesn't matter?

The goal is an exercise where the parts you score can't be produced by pasting the task into a model. Three moves do most of the work.

Use an incomplete ticket where people hold the missing information

Give the candidate an ordinary ticket, the kind your team writes, with gaps. For example: "Add per-org rate limiting to exports," with three vague acceptance criteria, while the full spec has six real requirements. The missing ones (which plans are exempt, what happens to a request over the limit, an existing throttle elsewhere in the codebase that must not conflict) live with people: a product owner, an architect, whoever would know on your team.

An agent can only work from what's in its context. If a requirement exists only in a person's head, no amount of prompting surfaces it. The candidate has to notice the gap, decide whom to ask, ask a usable question and turn the answer into a spec. A candidate who pastes the ticket into Claude gets a clean implementation of three of six requirements, and the gap shows up in the result. The hidden-helper case fails the same way unless the helper also does the asking, which brings you back to who did the work.

For a full walkthrough of scoring this part, see how to tell if a candidate asks the right clarifying questions.

Hold a live follow-up about their own work

After the work sample, spend 20 to 30 minutes with the candidate on what they built. Ask about specific moments, not general concepts:

  • "You asked about plan exemptions before writing code. What made you suspect there'd be one?"
  • "The agent's first version reset the counter on deploy. You changed it. Why?"
  • "Which requirement were you least sure about when you submitted?"
  • "What did you test, and what did you decide not to test?"

These questions work because the answers sit in the candidate's memory of a session, not in the code. Someone who ran the session can answer from recall in a sentence. Someone who received the result from a helper has to reconstruct reasoning they never had, and it shows when you ask the second "why." Generic questions ("explain rate limiting") don't have this property, since a model can answer them in real time.

Ask them to change the solution live

Bring one prepared change request: "Exports from the admin dashboard should now bypass the limit," or "Two export jobs for the same org can start at once. What breaks?" AI stays on. Watch them find where the change goes, decide what it affects and verify it.

A candidate who understands their own code knows where to cut. A candidate who doesn't has to re-read everything, and you'll see them prompt the agent with "where is the rate limit implemented?" for code they submitted an hour ago. That alone proves nothing, but it tells you where to ask next. Prepare the same change for every candidate so results are comparable.

How do you check for proxies without proctoring?

Proxy interviewing is the cheating case that grows when interviews go remote, and it's the one AI policy can't touch. You don't need webcam monitoring to handle it. You need continuity.

  1. Check ID once, at a live moment. At the start of the live follow-up, the interviewer confirms the person matches a government ID, the way a recruiter would on any video call. That's a 30-second step, not surveillance.
  2. Make every later round depend on the earlier one. The follow-up asks about decisions in the work sample; the live change modifies that code. A proxy can sit one round, but they'd need to be the same person, with the same memory, across all of them.
  3. Compare the session to the conversation. If the captured session shows someone asking the product owner about exemptions on minute six, the person on the call should remember why.
  4. Meet once in person or on a longer live call before an offer for senior or remote-first roles, and make it about the same work.

The mechanism: proxy fraud lives at the seams between rounds. Disconnected rounds (a screen, a puzzle, a design chat) can each be handed to a different person. Connected rounds can't.

What shouldn't you do?

Skip the tools built for a world where AI was the violation:

  • Keystroke, paste and typing-rhythm suspicion scores. Under an AI-allowed policy, bursty typing and large pastes are normal behavior, so the score flags your best candidates alongside the ones you worry about. The glossary entry on AI cheating detection covers the failure modes.
  • Lockdown browsers and screen-locking agents. They contradict the policy you just wrote, they don't stop a second device or a second person, and they tell candidates you expect them to lie.
  • Eye-tracking or "looking off-screen" flags. People look away to think.
  • Treating a weak explanation as proof of cheating. It's evidence the candidate couldn't demonstrate the skill, which is a hiring decision. Reserve misconduct findings for a specific rule violation you can point to.

What does this loop look like if your engineers already use Cursor and Claude Code?

A loop that mirrors the job, using the moves above:

RoundAI?LengthWhat it measures
Work sample on an incomplete ticketYes, their own tools30-90 minScoping, asking, directing the agent, verification
Follow-up on their sessionYes20-30 minOwnership of decisions; ID check here
Live change to their solutionYes15-20 minUnderstanding of their own code
Code reading or diff reviewNo, announcedAbout 20 minReasoning about code without help
System design / team conversationOptional45-60 minTrade-offs, collaboration

If you run this in-house, the expensive parts are writing tickets with realistic gaps, playing the people who hold the missing information the same way for every candidate, and reviewing a session someone else ran. For the review side, see how to evaluate a candidate's Claude Code session.

Doing this with a tool

Promptster for Hiring is one way to run the first two rounds. It's an asynchronous work trial: the candidate gets an ordinary, incomplete ticket in a prepared repo, a bounded task of about 30 minutes, and AI teammates (for example "Dana / Product" for scope and priorities, "Priya / Architecture" for constraints and prior art) hold what the ticket leaves out. Every candidate meets the same team, with the same route to the information.

Candidates work in their own editor with the agent they already use. Claude Code and Codex are fully supported; Cursor works as the editor with Claude Code or Codex running inside it (Cursor's own Agent traffic goes to Cursor's backend, so it isn't captured). There's no proctoring, lockdown, keystroke logging or webcam. A consent screen lists what's captured (prompts, tool calls, file diffs) before anything starts.

For the cheating question specifically, two outputs matter. Per-change attribution marks each change as human, AI or human-revised, recorded server-side between the agent and the model. And the case-file overview, replay and panel brief give your live follow-up its questions, drawn from the candidate's own decision points. The rubric is open source and tuned per team; nothing auto-rejects, and a person decides. The first assessment is free, no card, on your own Anthropic key; plans are on pricing.

It isn't the right fit if you want a fully live, synchronous pairing round (CoderPad or Karat are built around that), or if you'd rather write and run your own tickets, which the process above lets you do without any tool.

Frequently asked questions

  • If AI is allowed in the interview, what still counts as cheating?
    Anything that misrepresents who did the work or who is in the seat: another person solving it, a proxy taking the interview, hidden help during a round you declared AI-free, or claiming authorship of code they can't explain or didn't direct. Using Claude Code, Codex or Cursor openly in an AI-allowed round is not cheating. Write the line down in a candidate policy so both sides know where it is.
  • Should we keep one interview round without AI?
    A short one is reasonable if you say so in advance and give it a narrow purpose, such as walking through code or reviewing a flawed diff. It checks that the candidate can reason about code, which they need in order to review an agent's output. Don't make it a surprise, and don't make it the main coding round if your engineers use AI tools every day.
  • How do you catch a proxy interviewee without webcam proctoring?
    Check ID at the start of a live call, then make every later round depend on the earlier work, so the person on the call has to defend decisions from a session they claim to have run. A proxy can sit one round; it is much harder to fake continuity across a work sample, a follow-up about that specific work, and a live change to it.
  • Do paste detection and keystroke suspicion scores work for AI cheating?
    Not well once AI is allowed. Pasting agent output, typing in bursts and finishing fast are what normal AI-assisted work looks like, so these scores flag strong engineers alongside cheaters. Treat any such flag as, at most, a reason to ask more questions in a live follow-up, never as grounds to reject.
  • What should an AI policy for technical interview candidates say?
    It should say which rounds allow AI and which tools, that the candidate owns and must be able to explain and change everything they submit, what is not allowed (other people, proxies, hidden tools in AI-free rounds), and what you record. Send it with the invite, not on the day.
On the record · signed · replayable

Read the process,
not just the commit.

Twelve founding teams will ship this with us. A technical screen that can't tell paste from craft isn't neutral. It's a ~$200K coin-flip you won't catch for months. If you hire 5+ engineers a year, we should talk.