C

Citi

Runs banking and payments for global clients

AI Quality Engineer - Safety and RAG

Performance Testing +1Confirmed live in the last 24 hours
Full-timeNo salary listedHybrid

About the Job

Requirements

  • Bachelor’s degree in Computer Science, Engineering, or a related field.
  • Eight or more years of experience in software or AI/ML quality engineering.
  • Three or more years of hands-on experience with RAG systems or Agentic AI.
  • Proven experience building automated test frameworks for non-deterministic AI systems.
  • Strong background in performance testing and AI safety/security assessments.
  • Deep understanding of RAG architecture patterns, including naive RAG, advanced RAG, and modular RAG.
  • Solid grasp of agent design patterns, including ReAct, Plan-and-Execute, Reflexion, MRKL, and Mixture-of-Agents.
  • Familiarity with AI safety and alignment principles, including RLHF, Constitutional AI, and guardrail layers.
  • Knowledge of token economics, context management, and LLM cost optimization.
  • Proficiency in performance engineering methodologies for distributed AI systems.

Responsibilities

  • Design and execute end-to-end test strategies for Agentic AI pipelines, including single-agent and multi-agent workflows.
  • Validate agent reasoning, planning, and decision-making chains, including ReAct, Chain-of-Thought, Plan-and-Execute, and Reflexion.
  • Test tool-use correctness by ensuring agents invoke the right tools, with correct parameters, at the right time.
  • Evaluate agent memory systems, including short-term, long-term, and episodic memory, for accuracy and context retention across sessions.
  • Validate agent handoff and delegation logic in multi-agent orchestration frameworks such as AutoGen, CrewAI, and LangGraph.
  • Test termination conditions, loop detection, and infinite-loop prevention in autonomous agent loops.
  • Design comprehensive test strategies for end-to-end RAG pipelines covering ingestion, chunking, embedding, retrieval, reranking, and generation.
  • Validate retrieval accuracy and relevance to ensure the correct context chunks are retrieved for a given query.
  • Test embedding model quality and vector similarity thresholds across different document corpora.
  • Evaluate faithfulness, groundedness, and answer relevance of generated responses using frameworks such as RAGAS, TruLens, and DeepEval.
  • Test fixed, semantic, and hierarchical chunking strategies for their impact on retrieval quality.
  • Validate context-window management to ensure retrieved context does not exceed token limits or degrade generation quality.
  • Conduct end-to-end regression testing when the underlying knowledge base, embedding model, or LLM changes.
  • Test multi-turn conversational RAG for context coherence and citation accuracy across turns.
  • Build and maintain automated test harnesses for Agentic and RAG systems, including agent trajectory replay, tool mock injection, and prompt simulation.
  • Develop automated evaluation pipelines integrated into CI/CD workflows for continuous model and agent validation.
  • Create data validation and data quality frameworks, using Great Expectations, Deequ, or custom tooling, for training, retrieval, and inference data.
  • Build prompt regression suites to detect behavioral drift across LLM versions or prompt changes.
  • Implement determinism and reproducibility tests for stochastic LLM-based decisions.
  • Automate vector database validation, including index integrity, embedding drift, and retrieval consistency checks.
  • Conduct red-teaming and adversarial testing to uncover jailbreaks, prompt injection vulnerabilities, and goal misalignment in LLM-based systems.
  • Test output guardrails and content filters for unsafe, biased, toxic, or out-of-scope model behavior.
  • Validate privilege-escalation controls to ensure agents do not exceed permitted actions or access unauthorized resources.
  • Perform data poisoning and backdoor attack simulations to assess model robustness.
  • Evaluate models for bias, fairness, and discrimination using frameworks such as AI Fairness 360 and Aequitas.
  • Test PII leakage and data privacy controls in RAG and agent pipelines in accordance with GDPR, CCPA, and internal data governance policies.
  • Conduct security testing aligned with the OWASP Top 10 for LLM Applications, including direct and indirect prompt injection, insecure output handling, training data poisoning, insecure plugin or tool design, and sensitive information disclosure.
  • Validate constitutional AI constraints, RLHF-aligned behavior boundaries, and system prompt integrity.
  • Collaborate with cybersecurity teams on AI-specific threat modeling and vulnerability management.
  • Maintain safety testing playbooks and document red-team findings with severity ratings and remediation recommendations.
  • Define and execute load, stress, soak, and spike testing for AI-powered APIs, inference endpoints, and agent orchestration services.
  • Measure and optimize end-to-end latency across RAG and agentic pipelines, from query to final response.
  • Benchmark LLM inference throughput in tokens per second and identify bottlenecks across model-serving infrastructure.
  • Test auto-scaling behavior of AI services under variable load conditions.
  • Validate circuit breaker, retry, and fallback mechanisms in agentic and RAG systems for graceful degradation.
  • Test vector database performance, including query latency, index build time, and retrieval accuracy under high concurrency.
  • Conduct cost-efficiency analysis by measuring token consumption, API call costs, and infrastructure spend per agent task.
  • Establish SLOs and SLAs for AI system availability, latency percentiles (P50, P95, P99), and error rates.
  • Collaborate with MLOps teams to set up observability dashboards, monitoring alerts, and automated anomaly detection for production AI systems.
  • Perform chaos engineering experiments to validate agent and RAG system resilience under infrastructure failures.

Desired Qualifications

  • Experience with MCP (Model Context Protocol) or similar agentic communication standards.
  • Exposure to multi-modal agent testing involving agents handling text, images, code, and documents.
  • Experience in regulated industries such as banking, finance, or healthcare with strict compliance requirements.
  • Familiarity with chaos engineering tools such as Chaos Monkey, Gremlin, and LitmusChaos.
  • A master’s degree.

About the Company

Citi

Runs banking and payments for global clients

Citi runs banking, investment and payment services for companies, governments and individuals around the world. Its global network connects institutions with local banking systems, while its US consumer business sells credit cards and deposit accounts. Corporate clients use Citi to manage cash, finance trade and raise capital, and investors use its trading, custody and wealth services to hold and manage assets. The bank earns interest on loans and fees from payments, securities transactions, financial advice and account services. Citi traces its banking roots to 1812; the Citigroup holding company was formed in 1998, and its headquarters are in New York City.

Company size
10,001+
Company stage
IPO
Headquarters
New York City, New York
Founded
1812

Recently Posted Jobs

Explore more opportunities at Citi

See more jobs