Principal AI Engineer - Agent Memory & Context Engineering

Rapid7
San Francisco, CA
Category Engineering
Job Description
Role Overview

Principal AI Engineer on Rapid7's AI Engineering team, which builds the AI that powers the security platform. The team takes models from research to production, combining open-source and frontier LLMs, AI agents and fast predictive models with security expertise. The role sets the technical vision for how Rapid7's agents remember, retrieve and reason over information across long-running security workflows.

What You Will Do

Define the architecture and roadmap for agent memory and context engineering across Detection and Response and Exposure and Remediation. Design memory systems (working, long-term, episodic, shared) and own the context management strategy within latency and cost budgets. Build retrieval systems over security data, protect memory and context from poisoning and leakage, and establish evals as the release gate for every AI system. Guide model strategy, set engineering standards, lead design reviews, and mentor Staff and Senior engineers.

Why It Might Be a Fit

Suits a seasoned AI architect with deep context engineering, retrieval and agent memory expertise who wants to shape the technical direction of LLM and agentic AI at a security company. The role carries broad ownership across multiple teams and influences product and platform investments. The stated annual salary range is $221,000.00 - 299,000.00 USD, depending on location, and does not include variable compensation, equity or benefits.

Requirements

  • 13+ years of software or ML engineering experience
  • 3+ years building production LLM or agentic AI systems
  • Track record of architecting AI systems used across multiple teams or products
  • Deep expertise in retrieval, memory, and context management for long-running agent workflows
  • Experience designing and operating agent memory layers (working, episodic, long-term stores)
  • Experience with embeddings, vector and hybrid search, reranking, and knowledge graphs or structured stores in production
  • Experience with multi-step and multi-agent systems, tool use, and orchestration
  • Experience defining evaluation strategy and benchmarks for LLM and agent systems
  • Working knowledge of open-source LLMs and PyTorch
  • Experience with inference serving with vLLM or SGLang, including caching and batching
  • Strong distributed systems and Python fundamentals
  • Strong communicator able to explain technical trade-offs to engineering, product, and leadership audiences
  • Ability to build strong cross-functional partnerships
]]>