New opportunity

AI Resident

Ema · San Francisco Bay Area, United States

About this role

Ema is looking for an AI Resident to own one hard problem end-to-end, writing the proposal, building the system, designing the evaluation, shipping behind a gate, and finishing with a write-up. You will sit in the production codebase with a senior mentor using real production data to work on agentic AI systems, harnesses, inference-time work, and agent post-training.

Responsibilities

  • Own one hard problem end to end from proposal and system building to evaluation and write-up.
  • Work on harness and inference-time tasks including context engineering, tool and skill design, and orchestration.
  • Perform post-training for agents including SFT on curated trajectories, preference optimization, and RL on real agent tasks.
  • Build enterprise workflows into training and eval environments with verifiable rewards and defenses against reward hacking.
  • Mine production agent-steps into training and eval corpora via failure mining, labeling with calibrated judges, and synthetic augmentation.
  • Build behavior-level benchmarks from real workflows, calibrate LLM judges, and compute reliability statistics.
  • Focus on efficiency including routing, ensembles, caching, and small-model specialization.

Required qualifications

  • Demonstrated depth in ML or agent systems; no specific degree required (undergrads, grad students, and self-taught builders welcome).
  • Solid ML fundamentals and strong engineering skills including Python, PyTorch, and the discipline to ship in a large production codebase.
  • Real depth in at least one of: post-training (SFT/DPO/GRPO-family RL), reward modeling or LLM judges, agent and tool-use systems, retrieval and memory, or eval design.
  • Statistical literacy to size experiments properly.
  • Honest measurement as a habit.

Preferred qualifications

  • Hands-on post-training with open models such as TRL, veRL, OpenRLHF, or custom loops.
  • Experience building or trained in interactive agent environments like SWE, web, or tool-use gyms.
  • Large-scale trace analysis, data curation, or synthetic data work.
  • Serving and efficiency experience with vLLM/SGLang, distillation, or quantization.
  • Multi-node GPU training or infra fluency.
  • Publications, open-source work, or writing demonstrating thinking process.
  • Security instincts covering prompt injection, data governance, and agent fencing.

Logistics:

  • SF Bay Area, on-site/hybrid, half/full-time for the term with a flexible start.
  • Salary: $4,000 month.

For full details about this role, click “Apply on company site” to view the employer’s original posting.

Skills for this role

PythonPyTorchSFTDPOGRPOTRLveRLOpenRLHFvLLMSGLang

Your skill match

Checking your profile…

YOUR NEXT STEP

Get interview-ready for this role

A focused preparation guide, built around this job’s responsibilities and requirements.

✦ AI-generated guide
Preparation suggestions, not the employer’s actual interview questions. Always check the original posting for current requirements.
01

Understand the role

What matters most

  • End-to-End Problem Ownership

    The residency requires taking a single hard problem from proposal and system building through evaluation, gating, and final write-up. Success depends on self-directed scoping, rigorous execution in a production codebase with a senior mentor, and transparent reporting of both successful and failed approaches.

  • Agentic AI and Post-Training Depth

    Demonstrating deep expertise in at least one core area—such as agent post-training (SFT, DPO, GRPO), reward modeling, LLM judges, or agent tool-use systems—is essential for building production-grade enterprise workflows and self-improving loops.

  • Rigorous Measurement and Statistical Literacy

    Maintaining honest measurement habits is critical when dealing with stochastic agent behavior. Candidates must be able to properly size experiments, avoid small sample size pitfalls, and be willing to kill underperforming features based on clean empirical data rather than hunches.

Likely challenges to think through

  • Preventing Reward Hacking in Enterprise Environments

    When turning complex enterprise workflows into training and evaluation environments, agents frequently exploit lazy graders or flawed reward functions. Preparation involves studying robust reward design, process versus outcome supervision, and defensive evaluation strategies against gaming.

  • Shipping Robust Code in a Production Codebase

    Balancing research-level experimentation with the discipline required to ship reliable code in a large production environment can be difficult. Prepare by strengthening production Python and PyTorch practices, and familiarizing yourself with inference serving tools like vLLM or SGLang.

03

Practice your answers

Technical practice

Designing Reward Functions and Defending Against Reward Hacking

What to coverDiscuss how you would design a verifiable reward function for an enterprise agent workflow where outcomes can be gamed. Explain the trade-offs between process versus outcome supervision and how to prevent agents from exploiting a lazy grader.

Post-Training Agents with Preference Optimization and RL

What to coverExplain the mechanics of applying Group Relative Policy Optimization (GRPO) or Direct Preference Optimization (DPO) on agent trajectories. Cover how you curate preference data and handle sparse or noisy feedback during training.

Inference-Time Compute Allocation and Orchestration

What to coverHow do you decide whether spending extra inference-time compute on context engineering or tool orchestration pays off in quality? Discuss strategies for routing, caching, and small-model specialization.

Mining Production Traces into Training and Eval Corpora

What to coverDescribe a pipeline for turning production agent traces into high-quality training and evaluation corpora. Address failure mining, synthetic augmentation, and how you calibrate LLM judges against human labels.

Statistical Literacy and Experiment Sizing

What to coverExplain why evaluating stochastic agent behavior on 25 samples at a single seed is insufficient for a reliable conclusion. Discuss how you would properly size experiments and calculate statistical significance.

Building Training and Evaluation Environments for Enterprise Workflows

What to coverHow do you construct robust simulated environments (such as fixture tenants or web/tool-use gyms) from real-world enterprise workflows? Discuss how to handle statefulness and asynchronous user interactions.

Production Codebase Discipline and PyTorch Optimization

What to coverWhen integrating custom post-training loops (such as using TRL or open-source loops) into a large production PyTorch codebase, what architectural and memory management practices do you prioritize?

Serving Efficiency, Distillation, and Quantization

What to coverDiscuss the trade-offs of using serving frameworks like vLLM or SGLang alongside model quantization and distillation. How do you maximize quality per dollar while maintaining throughput?

Security Instincts: Prompt Injection and Agent Fencing

What to coverWhy do self-improving agents require hard fences in production? Describe potential security vulnerabilities such as prompt injection and data governance risks when agents execute autonomous enterprise tasks.

Behavioural practice

Killing Your Own Feature Based on Clean Data

What to coverDescribe a situation where you built or proposed a feature that you were personally excited about, but empirical data showed it did not perform well. Using the STAR method, explain how you measured the results and decided to kill the feature objectively.

Owning a Complex Problem End-to-End

What to coverProvide an example of an open-ended technical problem where you wrote the proposal, built the system, designed the evaluation, and handled the final write-up. Highlight how you scoped the work and handled unexpected failures along the way.

Collaborating Within a Production Codebase and Mentorship

What to coverDescribe a time when you had to ship code into a large, established production codebase with senior oversight. How did you incorporate feedback, manage technical debt, and ensure your additions did not destabilize existing systems?

Handling Ambiguity in Fast-Moving Problem Spaces

What to coverShare an experience where you faced a vaguely defined research or engineering problem without a clear roadmap. Explain how you broke down the problem space, prioritized initial hypotheses, and iterated based on early findings.

02

Sharpen your knowledge

Topics to prepare

  • Agent Post-Training and Preference Optimization

    Review conceptual frameworks for Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and Group Relative Policy Optimization (GRPO) for agent tasks. Exercise: Contrast process versus outcome supervision and map how reward shaping prevents agent exploit loops. Relevance: Directly addresses the posting requirement for depth in agent post-training and reward modeling.

  • Experimental Design and Statistical Literacy

    Revise principles of sample sizing, seed variation, and reliability statistics for stochastic agents. Exercise: Calculate the minimum sample size required to validate a performance delta between two agent versions given a high variance baseline. Relevance: Aligned with the requirement to treat 25 samples at one seed as a single datapoint rather than a conclusive result.

  • Inference Efficiency and Routing

    Study small-model specialization, caching, ensembling, and routing strategies to balance quality against compute cost. Exercise: Design an inference-time compute allocation model that determines when spending extra compute pays off. Relevance: Supports the efficiency problem space described in the role responsibilities.

Skills to revise

  • PyTorch Production Codebase Discipline

    Practice writing clean, modular PyTorch code suitable for integration into large production codebases. Exercise: Implement a custom reward function module in PyTorch that incorporates safety checks against reward hacking. Relevance: Directly matches required engineering fundamentals for shipping production code.

  • Open Model Post-Training Frameworks

    Gain hands-on familiarity with open-source training tools such as TRL, veRL, or OpenRLHF. Exercise: Set up a small-scale preference optimization loop using an open model framework to tune an agent trajectory. Relevance: Listed as a nice-to-have skill for hands-on post-training experience.

  • Inference Serving and Quantization

    Revise serving frameworks like vLLM or SGLang for high-throughput model inference. Exercise: Deploy an open-weights model using vLLM and benchmark inference latency and memory footprint. Relevance: Aligns with serving and efficiency experience preferred for the role.

04

Your preparation checklist

  • Prepare an End-to-End Project Walkthrough

    Assemble a detailed write-up and code repository demonstrating a complete project from proposal and system building to evaluation and final analysis, reflecting the residency's core ownership expectation.

  • Build a Post-Training or Preference Optimization Artifact

    Prepare code or documentation showing hands-on experience with SFT, DPO, GRPO, or open frameworks like TRL, veRL, or OpenRLHF, highlighting how you managed reward design and prevented reward hacking.

  • Draft an Experimental Design and Statistical Evaluation Plan

    Prepare a short document outlining how you size experiments, track reliability statistics for stochastic agents, and avoid relying on small sample sizes at single seeds.

  • Compile Open-Source Code, Publications, or Technical Writing

    Gather examples of your previous writing, open-source contributions, or technical projects that demonstrate your depth in ML fundamentals, PyTorch, and agent systems.

  • Formulate Targeted Questions on Production Workflows and Guardrails

    Prepare thoughtful questions for the interview team regarding how production traces feed into data engines, how self-improvement loops are fenced, and how senior mentorship is structured during the residency.

AI-generated from the job information · Prepared Nov 17, 2026 (UTC)Useful preparation, not a guarantee of eligibility or an offer.

Availability has not yet been verified. Status can change after a check; confirm on the employer’s website. Report an issue · Our checking policy

KEEP EXPLORING

Similar AI jobs

Related skills and specializations in United States. Matched to this role, not your profile.

Explore more jobs
Finding similar opportunities…