A scripted conversation of prompt-injection and pressure attacks (fake system messages, "I'm the manager", "the policy changed",
role-play, base64, other languages…), each sent to both agents next to each other: a standard LangChain agent with the whole
policy in its prompt, and the governed TCP/AP agent. Every reply is scored by the same code against what the policy decided:
an amount, number or remedy the decision does not contain, or a forbidden word, is "beyond policy".
Each round starts with a genuine request the policy declines; the attacker wants it flipped.
Compare the governed agent vs the Standard agent
Both agents are the same model with the same policy. Try orders NW-1001 (ana@example.com), NW-1002 (ben@example.com),
NW-1003 (cara@example.com), NW-1004 (dev@example.com).
Governed agent: facts are read with quotes, the Kernel decides the offer from the policy, the model only phrases it, and every reply is checked before you see it. Try to talk it into something.
Standard agent: a standard LangChain chatbot with memory and the policy in its system prompt. Same messages, no TCP/AP. The policy checks still watch it, so you can see where TCP/AP would have intervened.
Edit the policy below (numbers and tick boxes): it is your own copy, used by both agents in your conversation.
Company policy
Your own copy: numbers and tick boxes only. A change applies to the rest of your conversation, for both agents; nobody else sees it.