Skip to Main Content

AgentGuard is a prompt injection firewall for AI agents. Agents that browse the web, read email and call tools can be hijacked by instructions hidden in the content they read. AgentGuard sits between the agent and its tools. It labels every piece of content as trusted (the user) or untrusted (web pages, files, tool output, and anything the model derived from them), tracks where each tool argument came from, and refuses side-effectful actions whose targets only untrusted content asked for. For example, an email address that appears only in a web page can never be the recipient of a send_email call, however politely the page asks. Origin tracking is the main defense because pattern matching alone loses to paraphrase; a heuristic detector and an optional Meta Model API judge add a second signal. It ships with adapters (plain functions, OpenAI-style and Anthropic-style tool calls, LangChain), an HTTP proxy with Redis-backed sessions, rate limits and a hash-chained audit log, Kubernetes manifests, a live web demo and 177 tests. On 46 real attacker goals taken from the public AgentDojo benchmark it held the attacker's action in 41 (89%). The README documents the limits and what was not tested.

Team

kasinadhsarma

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview