AppliedAIPrep logoAppliedAI/Prep
APPLIED AI ENGINEER PROGRAM

Harvey Applied AI Engineer interview questions

Harvey builds legal AI and runs forward deployed engineers who embed inside a single BigLaw client for months to turn idiosyncratic legal workflows into firm-specific LLM applications. It also hires Applied AI Engineers who own RAG and multi-step AI pipelines and zero-to-one product work. The interview emphasizes strong coding fundamentals, structured software architecture thinking, and handling ambiguity with clear decision-making.

8 questions tagged16 concepts to master4 core topicsrole: Applied AI Engineer

Straight from Harvey

Official pages from Harvey. Roles and requirements change there before they change anywhere else.

The Harvey Applied AI Engineer interview process

Documented
RoleSoftware Engineer / Applied AI / ML Operations Engineer (legal AI; embedded former-lawyer Applied Legal Researchers). Beware GTM/sales loops on GlassdoorLoopSWE: 3-5 rounds, 2-4 weeks; candidates praise transparency (recruiters explain each round's purpose)
  1. 1
    Online assessment / tech phone screenPractical coding: reported 'spreadsheet' challenges, circular-dependency detection, and an in-memory hierarchical file system. Harvey publicly revamped front-end interviews away from DSA toward role-relevant questions.
  2. 2
    Hiring-manager screen (30 min)Background and motivation.
  3. 3
    Onsite (~2-hour block, ~4 sub-interviews)System design (production-grade file storage; indexing large legal documents at scale), a project deep-dive, and behavioral.
  4. 4
    ML Operations Engineer track (variant)Hands-on and practical, any tools allowed, with no explicit behavioral round.
WHAT THEY'RE EVALUATING
  • Practical coding (spreadsheets, dependency detection, in-memory file systems)
  • RAG and document-indexing system design for high-stakes legal work
  • Role-relevant problems over DSA
  • Customer/domain judgment; transparency is mutual

Compiled from our research and publicly available information (candidate reports and company interview guides). Interview loops change and are continuously iterated, and they vary by team, level, and region. Treat this as directional preparation, not an official spec, and confirm the exact rounds with your recruiter or hiring point of contact.

Questions modeled on Harvey loops

8 questions · 0 unlocked for you

More from the tracks Harvey's loop tests

The highest-signal questions across Harvey's core tracks.

16 questions · 14 unlocked for you

Go deeper on the topics Harvey's loop tests

The tracks that map to a Harvey Applied AI Engineer loop, ordered easy to hard.

The concepts Harvey's Applied AI Engineer loop assumes you know

The vocabulary and mental models behind Harvey's questions, from our curriculum. Start with the foundations free; the deeper, interview-defining ideas are part of premium.

RETRIEVAL & AGENTS

Foundational
The RAG PipelineRetrieval-Augmented Generation grounds an LLM in external knowledge: at query time you retrieve the most relevant chunks from a knowledge base and put them in the prompt, so the model answers from real sources instead of memory. It is the default fix for hallucination and stale knowledge, and it updates without retraining. The pipeline is ingest and chunk, embed and index, retrieve (often rerank), then generate with citations. Applied-AI interviews probe it because RAG is the modal production LLM architecture.
CoreSign in
Vector Search and ANN IndexesVector search finds the embeddings nearest to a query vector. Exact nearest-neighbor is O(n) per query and does not scale, so production uses Approximate Nearest Neighbor (ANN) indexes (HNSW, IVF, product quantization) that trade a little recall for massive speedups. The real-world challenges are the recall-vs-latency-vs-memory trade-off, metadata filtering, and handling updates. Applied-AI interviews probe it because it is the engine under RAG and semantic search, and its tuning directly sets retrieval quality and cost.
CoreSign in
Choosing and Adapting Embedding ModelsPicking an embedding model is a decision about retrieval quality, cost, and operational risk on your data, not about who tops a public leaderboard. The hard parts are benchmarking on your own queries, trading dimensionality against storage and latency, deciding whether to fine-tune for your domain, and planning for the re-embedding migration when the model changes. Applied AI interviews probe it because candidates default to the leaderboard winner and ignore the drift and migration costs that bite later.
Advanced🔒 Premium
Agent Reliability and Long-Horizon RobustnessLong-horizon agents fail because per-step success compounds: a 95 percent reliable step is only about 60 percent reliable over ten steps. Reliability engineering covers consistent completion (not just pass@k), error recovery, step and token budgets, human-in-the-loop checkpoints, and containing cascading failure in multi-agent systems. Applied AI interviews probe this to separate people who built a demo from people who shipped an agent that holds up over thousands of runs.

FOUNDATIONS OF LLMS & GENAI

Foundational
From RNNs to Transformers: RNN, LSTM, Seq2SeqRecurrent networks process sequences one step at a time through a hidden state, which makes them principled but slow and bad at long-range dependencies because gradients vanish across many steps. LSTMs and GRUs add gates to carry information further, and seq2seq encoder-decoder models with attention removed the single-vector bottleneck, which is the idea transformers then took to its conclusion. Applied-AI interviews probe this because it explains why attention exists and why we abandoned recurrence for parallelism.
Foundational
Classic NLP: Bag-of-Words, TF-IDF, and Word2VecBefore learned embeddings, text was turned into sparse high-dimensional vectors with bag-of-words and TF-IDF, which count words and weight them by how distinctive they are but ignore meaning and order. Word2Vec and GloVe replaced counts with dense vectors trained so that words in similar contexts land near each other, which captures semantic similarity. Applied-AI interviews probe this because sparse methods still win as cheap baselines and as the lexical half of hybrid retrieval, and because they explain what dense embeddings actually fixed.
Foundational
TokenizationModels do not read characters or words; they read tokens, subword chunks produced by an algorithm like BPE that maps text to integer IDs. Tokenization decides how many tokens a piece of text costs (driving price, latency, and context usage), why models miscount letters or fumble rare words, and why non-English text is more expensive. Applied-AI interviews probe it because token accounting is the first thing that bites a production LLM bill.
Advanced🔒 Premium
Policy Optimization: PPO and GRPOPPO and GRPO are the reinforcement-learning algorithms that optimize an LLM against a reward, the RL step in RLHF and in training reasoning models. PPO is the established workhorse, updating the policy in small, clipped steps to stay stable; GRPO (used by DeepSeek-R1) drops PPO's separate value network and instead normalizes rewards within a group of samples, which is simpler and cheaper for LLMs. Applied-AI interviews probe it because it explains how alignment and reasoning training actually run, and why RL on verifiable rewards scales.

CODING & ENGINEERING CRAFT

Foundational
Parsing Messy, Real-World DataReal data is messy: inconsistent formats, missing fields, encoding issues, malformed records, and surprises you did not anticipate. Defensive parsing means handling the unhappy path deliberately, validating input, deciding per-record whether to skip, default, or fail, and never letting one bad record crash the batch. Applied-AI interviews probe it (often as a coding screen) because ingesting documents and data for AI systems is half the job, and brittle parsers that assume clean input fail immediately in production.
Foundational
The Big-O That Actually MattersBig-O complexity matters most where it bites in real AI systems: avoid accidental O(n^2) (all-pairs comparisons, repeated linear scans), use hash maps for O(1) lookups, and know that vector search is approximate precisely because exact nearest-neighbor is O(n) per query. The practical skill is spotting the quadratic trap and the data-structure fix, not reciting complexity classes. Applied-AI interviews probe it because the difference between O(n) and O(n^2) is the difference between a system that scales and one that falls over.
CoreSign in
Testable Design for AI SystemsAI systems are hard to test because models are non-deterministic and call external services, so testability has to be designed in: isolate the non-deterministic model behind an interface so you can mock it, separate deterministic logic (parsing, retrieval, formatting) from the model call and test it normally, and assert on metric tolerances rather than exact outputs. Applied-AI interviews probe it because untestable LLM code regresses silently, and the discipline of mocking the model and testing the deterministic parts is what keeps a system reliable.
CoreSign in
Streaming and BackpressureWhen data is too big to fit in memory or arrives continuously, you process it as a stream, one piece at a time, with bounded memory, rather than loading it all. Backpressure is the mechanism that stops a fast producer from overwhelming a slow consumer, by signaling 'slow down' rather than buffering unboundedly until you run out of memory. Applied-AI interviews probe it because AI pipelines process huge datasets and token streams, and the naive load-everything approach OOMs while unbounded buffering crashes under load.

BEHAVIORAL & PROJECT DEEP-DIVES

Foundational
Requirements DiscoveryThe most expensive AI mistakes come from building the wrong thing, and the cause is usually skipping discovery. Requirements discovery is uncovering the real problem behind the stated request, who the user is, what success means, what the data actually looks like, and the constraints, before building. The core skill is asking the right questions and working backwards from the user's outcome, not their proposed solution. Applied-AI interviews probe it because the half of the job most engineers under-train is understanding the problem.
Foundational
Scoping Under AmbiguityReal AI projects start ambiguous: vague goals, unknown data, shifting requirements. Scoping under ambiguity means making progress anyway, finding the smallest version that delivers value (an MVP), prioritizing by impact, making assumptions explicit, and de-risking the unknowns early rather than waiting for perfect clarity. Applied-AI interviews probe it because the ability to cut a fuzzy problem down to a shippable first slice, and to act decisively without complete information, is what separates senior engineers.
Foundational
Translating Technical Trade-offsApplied-AI engineers constantly translate between technical reality and business stakeholders: explaining the accuracy-latency-cost triangle, why the model cannot be 100% reliable, and what a trade-off means for the user, in the stakeholder's language, not jargon. The skill is framing decisions as business impact and risk, and being honest about uncertainty. Applied-AI interviews probe it because the best technical answer is worthless if you cannot help a non-technical decision-maker choose, and AI's probabilistic nature makes this translation essential.
Foundational
Communicating with Non-Technical StakeholdersMuch of applied-AI work is explaining complex systems to non-technical people: executives, customers, domain experts. The skill is meeting the audience where they are, leading with the outcome and the 'so what', using analogies over jargon, being honest about limitations, and tailoring depth to who is listening. Applied-AI interviews probe it because the ability to make an AI system understandable and trustworthy to a non-expert is half the job, and explaining a model's behavior to a skeptical stakeholder is a routine task.
HARVEY INTERVIEW FAQ
What is the Harvey Applied AI Engineer interview process?

Software Engineer / Applied AI / ML Operations Engineer (legal AI; embedded former-lawyer Applied Legal Researchers). Beware GTM/sales loops on Glassdoor. Typical loop: SWE: 3-5 rounds, 2-4 weeks; candidates praise transparency (recruiters explain each round's purpose). Stages: Online assessment / tech phone screen → Hiring-manager screen (30 min) → Onsite (~2-hour block, ~4 sub-interviews) → ML Operations Engineer track (variant). Key focus: Practical coding (spreadsheets, dependency detection, in-memory file systems). Compiled from public reports; loops change over time, so confirm the exact rounds with your recruiter.

Does Harvey hire Applied AI Engineers?
What does the Harvey AI engineer interview test?
What is the Harvey AI engineer salary?

Prep the whole Harvey loop, not just one round

Every question, ordered easy to hard, with answers that get offers, plus the curriculum behind them. Free questions and concepts in each track, no card needed.

Independent and not affiliated with Harvey. All trademarks belong to their owners.