A drop-in SDK that intercepts every agent action before it fires. Allow, block, or escalate based on your policies. Every decision logged immutably for audit.
from langchain.agents import agent def process_payment(amount, recipient): # No policy check. No audit trail. # Nothing between intent and action. transfer_funds(amount, recipient) notify_customer(recipient) log_transaction(amount) # When something goes wrong, # you have no record of why.
from langchain.agents import agent import gatekept as gk def process_payment(amount, recipient): gk.gate("transfer_funds", { "amount": amount, "recipient": recipient }) transfer_funds(amount, recipient) # Every action evaluated against # your live policy rules. Logged. # Auditable. Under control.
Policies are defined in plain code. Your compliance officer writes the rules in language they understand. Your developer implements them in minutes.
Rules update live. No redeploy. A policy change takes effect on the next verdict.
Escalation tickets route to the right person based on the policy that fired. The approver sees the full action payload, the triggered rule, and the agent identity. One tap to approve or block.
Every verdict is reconstructible. Months or years later, you know exactly what happened, why, and who approved it.