New opportunity

Lead Engineer, Applied AI (Customer Agent)

Klaviyo · Boston, United States

About this role

Klaviyo is seeking a Lead Engineer, Applied AI (Customer Agent) to establish technical and product direction for a core area of its conversational AI agent product. Working in-office in Boston, this lead role involves building a 0-to-1 agentic platform that allows brands to serve customers autonomously while remaining hands-on with complex non-deterministic systems. The position may require up to 10% travel.

Responsibilities

  • Set the technical and product direction for a core area of Customer Agent from architecture through production, helping guide the broader platform.
  • Solve complex technical challenges including orchestration, evaluation, guardrails, memory and context, and non-deterministic failure handling.
  • Write and ship production code, review architecture designs, and make technical decisions for ambiguous challenges.
  • Define reusable engineering patterns and mentor teammates through design reviews.
  • Partner with product, design, data science, and go-to-market leaders to determine roadmap priorities.
  • Evaluate emerging AI technologies and integrate high-value capabilities into production systems.

Required qualifications

  • Proven track record building, scaling, and supporting production agentic systems through launch, operational incidents, and real customer usage.
  • Hands-on experience implementing agent orchestration, evaluation frameworks, guardrails, and non-deterministic failure recovery.
  • Practical experience securing agent systems against misuse and maintaining reliability at scale.
  • History of owning technical and product direction for a major engineering domain and producing designs adopted by other teams.
  • Hands-on technical background writing code, reviewing architecture, and troubleshooting live production issues.
  • Strong communication skills with the ability to articulate technical trade-offs across engineering and product teams.

Preferred qualifications

  • Experience working on a multi-tenant agent platform at production scale with customer-configurable behaviors on shared infrastructure.
  • Experience developing 0-to-1 products or working in startup environments.
  • Background with production evaluation frameworks, AI observability, or human-in-the-loop workflows for LLM products.

Benefits

  • Participation in the annual cash bonus plan.
  • Equity awards and potential sign-on payments.
  • Comprehensive health, welfare, and wellbeing coverage based on eligibility.

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

Skills for this role

AI AgentsConversational AIAgent OrchestrationGuardrailsLLMsAI ObservabilityModel EvaluationSystem ArchitectureMulti-Tenant Systems

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

  • Architecting and Scaling Production Agentic Systems

    Source-backed requirement to set technical and product direction for Customer Agent, taking on core problems like orchestration, memory and context, and non-deterministic failure handling beyond demo-stage prototypes.

  • Engineering Reliability, Guardrails, and Security

    Source-backed requirement to secure agents against misuse and maintain high reliability under live traffic, treating system dependability and automated guardrails as foundational product features.

  • Designing Robust Evaluation and Observability Frameworks

    Source-backed duty to evaluate quality on live traffic using rigorous evaluation frameworks, AI observability, and emerging AI technologies that hold a high standard for real judgment calls.

  • Technical Leadership and Hands-On Mentorship

    Source-backed duty to write and ship code, resolve ambiguous architectural trade-offs, and mentor engineers across cross-functional teams through design reviews and reusable system patterns.

Likely challenges to think through

  • Handling Non-Deterministic Failures and Reliability in Production

    Trade-off between agent autonomy and consistent, predictable brand customer service. Preparing requires demonstrating concrete strategies for graceful degradation, automated guardrails, deterministic fallback logic, and circuit breakers when models hallucinate or return unexpected structured outputs.

  • Designing Evaluation Frameworks for Real-Time Conversational Traffic

    Trade-off between comprehensive evaluation coverage and low-latency, real-time responses. Preparing requires structuring synthetic benchmark datasets, LLM-as-a-judge pipelines, and online observability metrics that catch degradation without impacting live customer response times.

  • Multi-Tenant Isolation and Customer Configuration Complexity

    Difficulty in enabling distinct brands to configure proprietary behaviors and business rules on shared infrastructure without cross-tenant bleed or security vulnerabilities. Preparing requires presenting isolation architectures, prompt injection defenses, and tenant-scoped context retrieval boundaries.

03

Practice your answers

Technical practice

Designing Reliable Orchestration for Multi-Turn Agentic Conversations

What to coverSuggested practice: Address how you structure state persistence, routing, and tool invocation loops when an agent converses with end customers. Contrast finite state machines with autonomous reasoning loops, explaining how to control token context budgets while maintaining low latency across back-and-forth dialogue turns.

Mitigating Non-Deterministic Failures in Production Agent Workflows

What to coverSuggested practice: Detail specific architectural patterns for detecting and handling non-deterministic failures, such as invalid JSON outputs, repetitive tool execution loops, or hallucinated API parameters. Explain how circuit breakers, automated fallbacks, and deterministic validation guardrails preserve service continuity.

Building Continuous Evaluation Frameworks for Live Customer Traffic

What to coverSuggested practice: Discuss methodologies for measuring conversational quality and task completion against production traffic without adding runtime latency. Explain the role of offline LLM-as-a-judge pipelines, synthetic evaluation benchmarks, and online behavioral metrics in catching performance regressions.

Hardening Customer-Facing Agents Against Prompt Injection and Abuse

What to coverSuggested practice: Outline defensive techniques to secure an autonomous support agent against prompt injection, jailbreaking, and data exfiltration. Explain layered guardrail enforcement across input sanitization, intermediate tool argument verification, and final output redaction.

Managing Conversational Memory and Context in Customer Interactions

What to coverSuggested practice: Explain how you design memory architectures that balance long-term brand knowledge, customer account state, and short-term dialogue context. Address trade-offs between sliding window truncation, summarization nodes, and vector retrieval under strict token and latency budgets.

Architecting Multi-Tenant Isolation for Customer-Configurable Agents

What to coverSuggested practice: Based on the preferred qualification, explain how to design an agent runtime where external brands customize agent personalities, workflows, and integrations on shared infrastructure. Cover tenant data isolation, secure credential management, and noisy-neighbor rate-limiting strategies.

Implementing AI Observability and Production Root-Cause Debugging

What to coverSuggested practice: Describe how you instrument distributed tracing and telemetry across multi-step agent execution chains. Explain what telemetry signals—such as latency per step, token consumption, and tool failure rates—are essential for diagnosing live customer incidents.

Integrating Human-in-the-Loop Workflows into Autonomous Agent Systems

What to coverSuggested practice: Based on the preferred qualification, discuss architectural patterns for escalating complex or low-confidence customer queries to human support personnel. Focus on bidirectional context handoff, state synchronization, and capturing human resolution actions for downstream model evaluation.

Behavioural practice

Resolving Ambiguous Architectural Trade-Offs Without Obvious Solutions

What to coverSuggested practice: Describe a real-world scenario where you made a critical technical decision for an ambiguous or non-deterministic system with no obvious right answer. Use the situation/action/result framework to detail the competing trade-offs, how you gathered alignment, and the measurable production outcome.

Leading Incident Response for a Production Agent System Failure

What to coverSuggested practice: Share a situation where an autonomous agent or non-deterministic AI service suffered an operational degradation or safety incident under live traffic. Explain the immediate containment actions taken, root-cause debugging steps, and the permanent architectural safeguards implemented.

Mentoring Engineers and Driving Reusable Patterns Through Design Reviews

What to coverSuggested practice: Provide an example of how you influenced engineering quality and fostered reusable architecture across a team through design reviews rather than direct authority. Detail how you helped other engineers adopt best practices and unblocked their deliverables.

Partnering Across Product, Data Science, and GTM on Technical Feasibility

What to coverSuggested practice: Describe a situation where you collaborated with product managers, data scientists, or go-to-market stakeholders to shape what got built for an AI feature. Highlight how you communicated technical constraints, managed expectations regarding model non-determinism, and aligned on delivery priorities.

02

Sharpen your knowledge

Topics to prepare

  • Non-Deterministic Failure Handling and Fallback Architecture

    Directly traces to the stated requirement of handling non-deterministic failures in live agentic systems. Revision exercise: Diagram a multi-layered fallback strategy for a customer-facing conversational agent when tool execution fails, structured parsing degrades, or the model loops indefinitely, specifying deterministic boundary checks and circuit breakers.

  • Production Evaluation Frameworks and Quality Measurement

    Directly traces to the stated need to measure quality against live customer traffic with real evaluation frameworks. Revision exercise: Design an end-to-end evaluation methodology that balances pre-release synthetic testing, offline model-based judge pipelines, and online regression metrics for agent conversational quality.

  • Agent Orchestration, Memory, and Context Management

    Directly traces to the requirement to lead orchestration and memory/context design across a 0-to-1 platform. Revision exercise: Compare state-machine orchestration versus autonomous loop planning for multi-turn customer support dialogues, contrasting token budget constraints, conversational state persistence, and latency trade-offs.

  • Agent Security, Misuse Prevention, and Production Guardrails

    Directly traces to the explicit requirement of securing agents against misuse and abuse. Revision exercise: Map threat vectors specific to conversational customer agents—such as prompt injection, data leakage, and unintended tool execution—and outline layered defensive guardrails applied at input, model execution, and output stages.

  • Multi-Tenant Shared Infrastructure Architecture (Inferred Preparation)

    Suggested preparation based on the preferred qualification regarding multi-tenant agent platforms with customer-configurable behaviors. Revision exercise: Sketch an architectural isolation model detailing how distinct brand personas, proprietary data retrieval boundaries, and rate limits can run reliably on shared runtime infrastructure without data cross-contamination.

Skills to revise

  • Building Programmatic Guardrails and Validation Logic

    Traces to the explicit qualification requiring hands-on experience implementing guardrails and failure recovery. Concrete exercise: Write an operational middleware wrapper in Python that inspects structured model outputs, enforces strict schema adherence, validates parameters against business constraints, and cleanly triggers fallback routines on failure.

  • Instrumenting AI Observability and Trace Logging

    Traces to the preferred qualification for AI observability and live debugging in production. Concrete exercise: Instrument a simulated multi-step agent flow with structured spans, logging token usage, prompt variations, tool invocation latencies, and unexpected non-deterministic deviations to enable rapid root-cause analysis.

  • Constructing an Automated Evaluation Pipeline

    Traces to the explicit duty of evaluating emerging technologies and running production evaluations against live traffic. Concrete exercise: Build a scripted evaluation harness that runs an agent test suite against golden dataset scenarios, scoring accuracy, task completion, and safety adherence programmatically.

04

Your preparation checklist

  • Prepare a Production Agent Case Study Walkthrough

    Completion looks like an end-to-end 5-minute technical narrative of a past agentic system you built and supported in production. It clearly covers architecture, orchestration, launch challenges, live incident handling, non-deterministic failure recovery, and specific operational lessons learned after the demo phase.

  • Document Guardrail and Non-Deterministic Failure Strategies

    Completion looks like a concise design diagram and written summary showcasing defensive patterns for autonomous agents. It details input sanitization against prompt injection, schema validation for tool outputs, circuit breakers for execution loops, and automated fallback logic when models fail.

  • Structure an Evaluation and AI Observability Blueprint

    Completion looks like a concrete schema outlining how to measure conversational quality and agent decisions on live traffic. It includes metrics for offline LLM evaluation benchmarks, telemetry spans for tracking multi-turn agent latency and token consumption, and regression testing pipelines.

  • Draft a Multi-Tenant Agent System Design Outline

    Completion looks like an architectural sketch of a multi-tenant platform where third-party brands customize agent behaviors on shared infrastructure. It articulates tenant data isolation boundaries, per-brand guardrails, context retrieval constraints, and noisy-neighbor rate-limiting strategies.

  • Synthesize Examples of Technical Leadership and Mentorship

    Completion looks like 2-3 structured STAR examples demonstrating how you led architectural direction, resolved ambiguous engineering problems, established reusable coding patterns, and up-leveled peers through design reviews rather than managerial authority.

  • Formulate In-Depth Technical and Product Questions for the Team

    Completion looks like 4-5 thoughtful questions tailored to Klaviyo's Customer Agent team. Topics should explore their current evaluation frameworks on live traffic, how customer-specific configurations are isolated, and where their primary reliability bottlenecks currently exist.

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

Availability last checked: Nov 12, 2026. 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…