About
Hi, I’m Leonidas Raghav (most people call me Leo). I build infrastructure for AI agents at SAP Labs Singapore, and I do AI safety research on how agents can be attacked and how to catch them misbehaving.
What I Do
I’m an ML Engineer on SAP Labs’ Forward Deployed Engineering team, where I work on AI agents, the platforms they run on and the path to getting them into production.
My main project is A3, a platform for fleets of AI agents running in sandboxed Kubernetes workspaces. Agents delegate to each other, run long tasks that people can steer, and keep persistent memory, with Slack and GitHub integrations. Thirty people have used it for 13,500+ tasks, and it has opened 840 PRs across 56 repositories, about half of our team’s merged PRs. The design is infrastructure-first safety: assume an agent may be malicious or simply wrong, and bound the blast radius with isolation, egress controls and scoped credentials rather than trust.
I also started and led FDE Foundry, our platform for taking agents from a repository to production on Kubernetes, with GitOps delivery through Argo CD, managed secrets and authenticated agent endpoints. I owned it from the first design through rollout, and taught it to other teams as a reusable deployment practice. Our paper on event-driven multi-agent orchestration was accepted at the REALM workshop at EMNLP 2026. Before all this, I built an internal CLI for context engineering with coding assistants, which several teams adopted.
Research
My research is on the security and oversight of LLM agents. See Publications for the full list.
- Memory attacks. As a SPAR Spring 2026 Research Fellow, I worked on sleeper memory poisoning: a webpage or document plants a fabricated memory in an assistant, which resurfaces in later conversations. I built the evaluation framework in Inspect across six frontier models and optimised prompt-injection defences with GEPA. The paper, Hidden in Memory, was a spotlight at the ICML 2026 AIWILD Workshop. A follow-up, Share-Borne AI Virus, shows such attacks spreading from agent to agent through shared artifacts.
- Predicting agent collusion. At Apart Research’s AI Collusion Research Sprint (Oct 2026), I asked whether you can tell that an agent is about to give in to a peer recruiting it to leak a secret, before it writes anything. A linear probe on the model’s activations, read before the reply, predicts this well. I extended the sprint project into a full paper, Pre-Crime for Agents, at the Last Second.
- Memory injection. Our project at Apart’s AI Manipulation Hackathon showed that prompt injection into an agent’s long-term memory can steer it more strongly than a direct system prompt. It placed 4th and was selected for the AIMII Workshop at IASEAI ‘26.
Background
I graduated from the National University of Singapore (NUS) with a Bachelor of Computing (Honours) in Computer Science. I was in the University Scholars Programme and made the Dean’s List.
Experience
- SAP Labs Singapore (2025–now): ML Engineer, Forward Deployed Engineering. A3, FDE Foundry, and customer-facing agents such as a contract-analysis agent with RAG and agentic search.
- SPAR (Feb–May 2026): part-time research fellow on sleeper memory poisoning in LLM assistants.
- Hitachi Rail: built a streaming ETL pipeline for real-time train sensor data, cutting insight delivery from 24 hours to seconds.
- Voltade: prototyped AI chatbot features and semantic chunking for CRM use cases.
- NUS Research: a concurrent web crawler in Rust with a 20× speedup.
Interests
- AI safety and agent security: memory attacks, monitoring with model internals, and how agent infrastructure and sandboxing interact with safety
- Agent infrastructure: Kubernetes, durable execution and platform engineering for agent fleets
- Rust and systems programming: safe concurrency, performance and low-level details
Projects
- A3: Kubernetes for AI Agents: a platform for sandboxed AI agent fleets with infrastructure-first safety
- Pre-Crime for Agents (code): predicting when an agent gives in to a recruiting peer, with activation probes and text monitors
- Agent Attacks via Memory Injection: 4th place at the Apart Research AI Manipulation Hackathon
- MilgramBench: a 102-scenario benchmark of LLM ethics under institutional pressure
- PaySync: an AI financial assistant for SMEs (Text2SQL on invoices)
- Argo: a local-first app for chatting with LLMs offline, built with Rust and React
- RustScript: a statically typed programming language with a bytecode VM
Why This Blog
I started this blog to learn in public, with deep dives, engineering lessons and experiments in AI safety, agents and systems. Hopefully you’ll find something useful here.