Principal AI Engineer - Agent Memory & Context Engineering

Rapid7•San Francisco, CA
•$221,000 - $299,000

About The Position

Rapid7 is seeking Principal AI Engineers to define and influence the technical direction of its LLM and agentic AI systems. The role provides technical leadership for engineering standards and greenfield AI solutions, with responsibility for shaping product and platform investments and scaling AI across the organization. The AI Engineering team builds production AI for Rapid7’s security platform, combining open-source and frontier LLMs, AI agents, fast predictive models, and the company’s security expertise. Its work supports Detection and Response use cases such as alert triage, threat investigation, and automated response, as well as Exposure and Remediation use cases such as vulnerability prioritization, attack surface risk assessment, and guided remediation. The Principal AI Engineer will set the technical vision for how agents remember, retrieve, and reason over information in long-running security workflows. The role owns architecture for agent memory and context engineering across teams, makes decisions about what agents retain, store, and forget, and remains hands-on with complex technical challenges. The engineer will establish strategies and standards for memory, retrieval, context management, evaluation, model selection, and inference optimization; lead design reviews; resolve technical trade-offs; and mentor Staff and Senior engineers. The position’s work is intended to help agents remain accurate, consistent, and cost-effective during extended investigations. The annual U.S. salary range is $221,000–$299,000, depending on location. The range excludes variable or incentive compensation, equity, and benefits where applicable or eligible. Compensation decisions consider factors including relevant experience, skills, and certifications.

Requirements

  • 13+ years of software or ML engineering experience, including 3+ years building production LLM or agentic AI systems.
  • Track record of architecting AI systems used across multiple teams or products.
  • Deep expertise in context engineering, including retrieval, memory, and context management for long-running agent workflows.
  • Experience designing and operating agent memory layers, such as working, episodic, and long-term stores, including decisions about what to write, retrieve, summarize, and expire.
  • Production experience with retrieval systems, including embeddings, vector and hybrid search, reranking, and knowledge graphs or structured stores.
  • Experience with multi-step and multi-agent architectures, tool use, and orchestration, including failure modes such as context drift and compounding errors.
  • Experience defining evaluation strategies and benchmarks for LLM and agent systems.
  • Working knowledge of open-source LLMs and PyTorch, and inference serving with vLLM or SGLang, including caching and batching.
  • Strong distributed systems and Python fundamentals.
  • Ability to own significant technical outcomes across teams, proactively manage risks, and deliver solutions that meet technical and customer objectives.
  • Strong communication skills and ability to explain technical trade-offs to engineering, product, and leadership audiences.
  • Ability to build cross-functional partnerships across Engineering, Product, and other teams to align technical direction and deliver shared outcomes.
  • Ability to connect customer needs and business priorities to technical decisions and assess the value, cost, and trade-offs of AI solutions.
  • Commitment to embodying Rapid7’s core values and fostering excellence, meaningful impact, and collective success.

Nice To Haves

  • Organization-wide impact through technical leadership, mentoring, and shared platforms and standards.
  • Security domain experience, such as detection engineering, SOC/MDR, or vulnerability management.
  • Experience fine-tuning or post-training models for long-context, tool-use, or memory-aware behavior.
  • Experience with context compression, long-context models, or learned memory approaches.
  • Experience with multi-tenant data isolation and privacy controls for AI systems.
  • Experience running AI workloads on AWS at scale.
  • Publications, patents, or open-source contributions in AI.

Responsibilities

  • Define the architecture and technical roadmap for agent memory and context engineering across Detection and Response and Exposure and Remediation.
  • Design memory systems for long-running agents, including short-term working memory, long-term and episodic memory, and shared memory across agents and investigations.
  • Own context management strategy, including context selection, retrieval, compression, summarization, refreshing, and adherence to latency and cost budgets.
  • Build retrieval systems over security data, including alerts, logs, asset inventories, vulnerability records, and past investigations, with relevance, freshness, and access controls.
  • Protect agent memory and context from poisoning, prompt injection, stale data, and cross-customer leakage; design for auditability and traceability of agent decisions.
  • Establish evaluations as release gates for AI systems, including measures of memory recall, context quality, and long-horizon task success.
  • Guide model strategy where it affects context, including decisions about frontier or open-source models and fine-tuning or post-training for long-context and tool-use behavior.
  • Set engineering standards for context engineering, inference optimization (including KV and prefix caching), and evaluation across teams.
  • Lead design reviews and resolve the hardest technical trade-offs.
  • Mentor Staff and Senior engineers and shape product and platform investment.
  • Take ownership of significant technical outcomes across multiple teams, identify and address risks, and drive complex challenges to resolution against technical and customer objectives.
  • Communicate technical trade-offs to engineering, product, and leadership audiences; build cross-functional partnerships and align teams on technical direction.
  • Connect customer needs and business priorities to technical decisions, evaluating the value, cost, and trade-offs of AI solutions to deliver measurable outcomes.
  • Embody Rapid7’s core values and contribute to a culture of excellence and collective success.
© 2026 Teal Labs, Inc
Privacy PolicyTerms of Service