Mesmer is an open-source cognitive red-teaming toolkit for LLM applications. Instead of firing static prompt-injection payloads, Mesmer runs a multi-turn agent system that treats each target like a language-shaped security surface. It profiles the target, chooses cognitive techniques such as foot-in-door, authority bias, narrative transport, and cognitive overload, sends probes, judges the result, and adapts. The core feature is memory. Every run builds an attack graph of what was tried, what scored well, and what became a dead end. Under that, Mesmer maintains a belief map: falsifiable hypotheses about the target, evidence that raises or lowers confidence, and utility-ranked next moves. A second run can start from what the first run learned instead of rediscovering the same failures. This fits "Build for what's next" because AI agents are moving from chat windows into tools, workflows, devices, and robots. Red-teaming them will not only be about bytes and APIs. It will also be about language, persuasion, memory, and intent. Long term, I want Mesmer to become shared infrastructure for the AI security community: something closer to Metasploit for LLMs than a single red-team script. The current project is the cornerstone: a runtime, module system, target adapters, attack graph, belief map, and benchmark pipeline. From here, the community could contribute new cognitive techniques, reusable prompt banks, target profiles, evaluation recipes, and a public catalog of language-level exploit patterns. Not CVEs in the traditional binary sense, but a structured place to document how LLM systems fail under language pressure and how defenders can test against those failures.
More from Built with Opus 4.7: a Claude Code hackathon
Medkit is a virtual clinic that lets you make every mistake before the real patients come. It's a voice-first AI simulator for medical students and newly…

Every year, 50 million tons of electronics become waste — not because they can't be repaired, but because board-level expertise is locked in a few hands…

Maieutic flips the role an LLM usually plays in learning to program. Instead of handing the student working code, it guides them to think first about what the…

OmniBridge is an AI agent that identifies unknown serial device protocols autonomously — a workflow that didn't exist a year ago because it needs Opus 4.7's…

ARIA captures the floor operator's knowledge and puts it to work. Drop in the manufacturer's PDF, answer some calibration questions, and you're live in ten…

Interior architects in France designing offices for banks, law firms and consulting groups are leaving money on the table. Each one handles only one or two…
