# On Private Knowledge Retrieval and Private Inference for secure multi-agent systems

arXiv: https://arxiv.org/abs/2611.13696 · HTML: https://mlsanity.com/paper/2611.13696/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use.
- Builds on 7 of its 35 references that are in the map.
- Submitted 10 Nov 2026.

## Placed in

- LLM agents and tool use / [Agent threats, guardrails and governance](https://mlsanity.com/agents/agent-threats-guardrails-and-governance/)

## Builds on (most cited first, 7 of 7)

- [AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases](https://mlsanity.com/paper/2407.12784/) (2024)
- [From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMs](https://mlsanity.com/paper/2504.15965/) (2025)
- [Agentic AI and Multiagentic: Are We Reinventing the Wheel?](https://mlsanity.com/paper/2506.01463/) (2025)
- [Supporting Better Insights of Data Science Pipelines with Fine-grained Provenance](https://mlsanity.com/paper/2310.18079/) (2023)
- [XORing Elephants: Novel Erasure Codes for Big Data](https://mlsanity.com/paper/1301.3791/) (2013)
- [On the privacy of a code-based single-server computational PIR scheme](https://mlsanity.com/paper/2004.00509/) (2020)
- [Code-Based Single-Server Private Information Retrieval: Circumventing the Sub-Query Attack](https://mlsanity.com/paper/2402.02871/) (2024)

## Abstract (arXiv)

Multi-agent systems provide a convenient framework for the massive deployment of agents based on Large Language Models (LLMs). It provides a sound framework where agents can interact with existing software to perform actions in an autonomous way. Agentic AI is the new term to denote these AI-based autonomous systems. In real multi-agent systems, agents need to deal with malicious agents some of which can exploit security vulnerabilities to do harm. A memory poisoning attack is an example of exploiting a vulnerability to modify agents knowledge and, thus, affect its behavior. In an agent, there are different types of memory systems (semantic, episodic, and short-term) which have their own characteristics and for which different memory poisoning attacks may be developed. In this paper we focus on semantic memory, we discuss its attack, and mitigation strategies. We introduce private knowledge retrieval and private inference. We propose a signature system in the knowledge base to prevent from undesired manipulation. This should avoid memory poisoning attacks by introducing security by design in the construction of the semantic memory. In our architecture, an agent contains a local Prolog-like inference system (i.e., using Horn clauses to represent knowledge) which accesses an external knowledge base to get the required knowledge. This externally signed knowledge base is accessed privately. We provide different implementations in Python using different privacy levels including k-anonymity and information-theoretical privacy (IT-PIR).
