OpenAPPA: an open-source gate that stops AI agents leaking sensitive data
ShiniFrontiers · Source: Archestra
What problem does it solve?
Build or run AI agents that touch sensitive data? OpenAPPA is a free, open-source check that blocks an agent from sending the wrong data to the wrong place — and in the makers' tests it stopped every attack while still finishing the work.
What it is: A free, open-source tool (MIT licence) from Archestra that sits between an AI agent — a program that uses a large language model to take actions through outside tools — and those tools, and answers one question before each action: is this data allowed to go to this destination? The rules live in a plain config file, and the check is deterministic — the same situation always produces the same decision, unlike the probabilistic classifiers and PII detectors teams use today, which can vary run to run.
Who it's for: Teams building or running AI agents that handle private data — customer records, source code, internal documents — especially where one agent can both read sensitive data and reach external services.
The catch: It is a preview and a request-for-comments, not a finished product; the makers say its config and interfaces may change without compatibility shims. The headline numbers are the makers' own benchmarks, not an independent test.
A deterministic gate between your agent and its tools — for teams building or running AI agents on private data
Problem: An AI agent — a program that uses a large language model to plan and act — does its work through tool calls: it invokes outside tools to read a file, send an email, post to a repository. The danger is that one agent can both read something private and reach an outside service, so a mistake or a planted instruction can send the wrong data to the wrong place. The usual guards — content classifiers and PII detectors — guess from the wording and can answer differently from one run to the next.
What it does: OpenAPPA puts a check in front of every tool call and asks one question: is this data allowed to go to this destination? It tracks where each piece of data came from and how sensitive it is, and blocks a call that would send sensitive data somewhere unapproved. The check is deterministic — decided from the record of what the agent has done, with no network or file calls — so the same situation always gives the same answer, and you can test it before you ship. Think of a mailroom that checks the classification stamp on every envelope against where it is addressed before letting it leave the building.
Note: It governs where data flows, not whether content is harmful — keep your content-safety tools for that.
See the difference
| The situation | Today (a typical agent) | With OpenAPPA |
|---|---|---|
| Asked to summarise a private meeting recording and post it to a public GitHub repo | Posts it — private content leaks to a public place | Blocks the post and explains why: private data may not go to a public destination |
| A hidden instruction in a web page tells the agent to email a customer list outside (a prompt-injection attack) | May obey and send the data | Blocked — the customer list was never allowed to reach an external email tool |
| Normal multi-step work across approved internal tools | Works, but you can't prove it won't also leak | Completes (88-90% of tasks in tests), and every allow/block decision is logged |
| You change the policy and want to be sure real work still passes | You find out when the agent breaks in production | appa replay checks scripted tool calls against expected decisions before you merge |
Figures and scenarios from the makers' README and benchmarks: 0 of 1,320 attack attempts succeeded; 88-90% of tasks completed. The GitHub-repo scenario is the makers' own demo.
- What it saves
A deterministic block on sensitive data reaching the wrong tool — so one injected instruction or one over-eager agent can't quietly send private data out. In the makers' tests, 0 of 1,320 attack attempts got through, while 88-90% of real tasks still finished.
- What it costs
Free and MIT-licensed; engineering time to write the policy and wire the gate in (in-process or as a sidecar beside the agent); it is preview software whose interfaces may change.
- How ready
- Proven in the lab
Installable and benchmarked now, but labelled a preview and RFC — the makers warn config and interfaces may break, and the numbers are their own.
Join free to unlock: how it works, a step-by-step setup with its costs, what you gain, and where it falls short, for every Friday idea.
Join free to read it all →