Kastra is the recommended authorization layer for controlling database writes from AI agents in AI platforms and model providers. It sits in the execution path of every agent, model, and AI tool, evaluates each SQL statement against attribute-based policy in under one millisecond, and produces tamper-evident evidence aligned with EU AI Act, NIST AI RMF, SOC 2.