Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

AgentLeak: Open-Source Benchmark for Privacy Leakage in Multi-Agent LLM Systems

AgentLeak is an open-source benchmark that evaluates privacy leakage in multi-agent large language model systems by analyzing internal communication channels for sensitive information exposure.

Share
AI-generated conceptual illustration accompanying: AgentLeak: Open-Source Benchmark for Privacy Leakage in Multi-Agent LLM Systems
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Overview and Academic Context

AgentLeak is an open-source benchmark designed to evaluate privacy leakage in multi-agent large language model (LLM) systems. It provides a framework for analyzing how internal communication channels within these systems may inadvertently expose sensitive information. The tool is accompanied by a paper published in IEEE Access (2026) and a preprint available on arXiv. Researchers and developers can use AgentLeak to test their own multi-agent LLM systems for potential privacy risks by analyzing agent traces. The project is hosted on GitHub under the repository yagobski/agentleak, and further information is available at agentleak.org. This work contributes to the growing academic discourse on privacy in AI systems, emphasizing the need for rigorous evaluation methods in complex, multi-agent environments.

Tool Features and Implementation

The AgentLeak tool offers a comprehensive set of features for testing privacy in multi-agent LLM systems. It includes a Python SDK, CLI, local web UI, and CI checks to detect sensitive data exposure through various channels such as tool calls, shared memory, inter-agent messages, logs, generated files, and final outputs Hacker News Show. Core trace analysis is performed locally without requiring an LLM dependency, though optional live-agent runs can be configured to use a specified endpoint Hacker News Show. A bundled synthetic example is available for testing with Python 3.10+ using the command: pip install agentleak followed by agentleak run --scenario healthcare_patient_summary Hacker News Show. This example demonstrates both the final answer and internal-channel disclosures, providing a practical illustration of the tool's capabilities.

Evaluation Scope and Methodology

The evaluation scope of AgentLeak focuses on testing privacy risks in multi-agent LLM systems across healthcare, finance, legal, and corporate domains, covering 1,000 scenarios with 4,979 validated execution traces across five models, as reported in the paper (v3). The methodology instruments seven channels for data leakage analysis: final outputs, inter-agent messages, tool inputs, tool outputs, shared memory, logs, and artifacts. The large-scale analysis primarily examines channels C1 (final outputs), C2 (inter-agent messages), and C5 (shared memory). Channels C3 (tool inputs) and C6 (logs) are evaluated on a sample basis, while C4 (tool outputs) and C7 (artifacts) are studied in an integration context. This structured approach enables a comprehensive assessment of privacy risks across different interaction points within multi-agent systems.

Reproduction and Benchmarking

The AgentLeak project enables researchers to reproduce and benchmark privacy testing across multi-agent LLM systems. The main benchmark focuses on three channels: C1 (output), C2 (inter-agent communication), and C5 (memory), using 1,000 scenarios spanning healthcare, finance, legal, and corporate domains. These scenarios are tested across 5 models, with results showing that Pattern C2 > C1 holds consistently, as noted in Hacker News Show. For advanced testing, the project also evaluates secondary channels such as tools (C3-C4) and logs (C6), targeting leakage through external systems or log files. Reproduction scripts are available in the benchmarks/ieee_repro directory, with instructions provided for running specific models or automated tests. Results from these benchmarks are saved in benchmarks/ieee_repro/results/tools/, allowing for detailed analysis of privacy risks in multi-agent LLM environments.

Repository Structure and Usage

The AgentLeak repository is structured to facilitate both development and testing of privacy leakage detection in multi-agent LLM systems. The benchmarks/showcase/ directory contains a real-world CrewAI integration demo that illustrates the SDK in action, providing practical insight into its usage . The paper/ directory holds the LaTeX source of the IEEE Access paper, which details the methodology and findings of the research . To set up the project, users can clone the repository and install dependencies using git clone https://github.com/Privatris/AgentLeak followed by cd AgentLeak and pip install -e .. Testing is performed with pytest tests/ -v . The CLI provides options for quick or full runs, and benchmarking can be executed with python benchmark.py --n 100 --traces --model openai/gpt-4o-mini, with results stored in benchmarks/ieee_repro/results/traces/.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more