When AI Agents Act Their Own: Data Layer Governance
Effective governance cannot be an afterthought or merely a set of abstract policies on paper; it must be executable and enforced in real-time, within the specific context of the moment an agent acts. The challenge lies in the nature of intelligent agents, which, despite their capabilities, do not inherently possess overriding judgment regarding their actions. For example, a literal rule like "Never open the car door" could prevent an agent from performing necessary functions, such as allowing occupants to exit a vehicle in an emergency. The critical distinction, as highlighted by EDB, is that context is everything when designing intelligent rules for intelligent agents.

The intuitive approach of layering guardrails, instructions, and monitoring above the AI model has inherent limitations. These controls are only as reliable as the agent's output is predictable. However, the very property of autonomy makes an agent's output inherently difficult to predict. Furthermore, governance models that rely on human review before an action occurs simply cannot keep pace with systems that operate in milliseconds across multiple integrated platforms. Therefore, governance must evolve to become executable and enforced precisely where agents perform their work: at the operational data layer, within the immediate context, and exactly when an action is initiated.
The Data Layer: AI Governance's Crucial Enforcement Point
By Decode Today News
AI agents derive their value by interacting with data. They query, retrieve, transform, and increasingly act upon it. Consequently, a policy stipulating that an agent should not access a particular class of data is only effective if the underlying system can deny that access the precise moment the agent requests it. Similarly, the principle of auditable AI becomes meaningful only if an organization can fully reconstruct an agent's activities – detailing what it did, which data it touched, which user it acted for, and what the eventual outcome was. When governance is embedded directly at the data layer, its enforcement remains consistent regardless of how the agent was constructed or how its behavior might evolve. This is because control becomes an intrinsic property of the database itself, rather than a mere promise or expectation of compliance from the agent.
The inherent probabilistic nature of agent behavior underscores the necessity for non-probabilistic governance. Enterprises cannot afford to rely on an AI model *choosing* to adhere to policy. Instead, policy must be rigorously enforced by the core system. This fundamental shift differentiates between hoping an actor remains within predefined bounds and constructing inescapable boundaries that prevent transgression from the outset. Many of the controls required for this level of enforcement are already widely implemented by enterprises at the data layer. These include:
- Role-based access control (RBAC)
- Attribute-based access control (ABAC)
- Row-level security (RLS)
- Column-level security (CLS)
- Data classification and masking
- Policy as code implementation
- Comprehensive audit trails
What AI agents fundamentally change is not the mechanism of these controls, but rather *who* or *what* these mechanisms must recognize. Identity management systems must now treat the AI agent as a principal entity in its own right, equipped with its own distinct identity and a declared purpose that is established at the commencement of each session. By binding purpose to identity, the policy engine can evaluate agent actions with the same rigor it applies to human roles or departments today. This robust approach ensures that the record of actions captures not only who (or what) acted and what data was accessed, but also the declared intention behind those actions, significantly enhancing compliance security and operational transparency.
Understanding the Mechanics of When agents act their
When agents act their own, especially in complex enterprise environments, the potential for unintended or unauthorized actions is substantial. The underlying concept for effective governance revolves around three core imperatives, translated into nine practical controls that ensure strong enterprise integration and minimize cybersecurity risk, as detailed by EDB. These controls are designed to provide a digital leash, not a locked door, fostering trust and enabling faster AI adoption.
Imperative 1: Enforce It
This imperative focuses on establishing proactive barriers and permissions at the data access point.
- Role- and attribute-based access control: Enforced at query time, these controls apply equally to both human users and AI agents. This ensures that an agent's access rights are as clearly defined and restricted as those of any employee, aligning with established compliance frameworks.
- Dynamic column masking: Driven by the same comprehensive policy path, this control intelligently masks sensitive data columns based on the agent's (or user's) permissions, preventing unauthorized exposure without limiting legitimate data operations.
- Agent identity as a first-class principal: Each AI agent must possess a unique, declared purpose that is bound at the session's start. The identity of the acting human user (if any) must also be preserved, creating a clear chain of accountability. According to Priyanka Jain, VP of Product Management, Data & AI Governance at EDB, "Declared purpose is what makes the difference. It becomes an attribute the access layer already understands, evaluated in the same policy path as role and row-level security."
Imperative 2: See It and Prove It
This imperative ensures complete visibility and irrefutable audit trails, critical for regulatory compliance and incident response.
- Classification and tagging: Robust data classification and tagging drive policy enforcement, ensuring that sensitive data is correctly identified and protected according to its classification level. This is fundamental for managing cybersecurity risk and maintaining data integrity.
- Session-level audit logging: Comprehensive logs record precisely which agent acted, on behalf of which user, and under what declared purpose. This level of detail is invaluable for forensic analysis and reconstructing events, bolstering auditability.
- Lineage across pipelines: The ability to trace a result back to the original request that produced it provides full data provenance. This end-to-end lineage is vital for understanding data transformations and validating AI outputs, particularly in industries with strict regulatory requirements.
Imperative 3: Unify and Harden
This imperative focuses on creating a robust, consistent, and secure governance framework across the entire enterprise AI infrastructure.
- Centralized, portable policy management: Policies should be managed centrally and be easily portable across different environments, ensuring consistency and reducing management overhead. This streamlines enterprise integration of new AI capabilities.
- Encryption at rest and in transit: Fundamental cybersecurity practices dictate that all data, whether stored or being transmitted, must be encrypted to protect against unauthorized access.
- Consistent enforcement across environments: Whether an enterprise operates on-premises, in the cloud, or within sovereign or air-gapped environments, the governance policies must be consistently enforced. This ensures that data sovereignty and security standards are met across all deployment models, crucial for global search traffic safety and regulatory adherence.
These controls, already largely available within modern database systems, provide the necessary framework for governing agentic AI. The key shift is that AI agents must now explicitly pass through these established mechanisms, rather than operating outside or above them. This approach, as articulated by EDB, allows enterprises to adopt AI faster because security, risk, and leadership teams can trust the underlying operating model.
Building Trust with Open, Sovereign, and Enforceable AI
A crucial aspect of this governance model is its foundation on open source technologies like Postgres. This open foundation empowers enterprises to retain full control over the location of their data, who can access it, and under what policies. It removes the need to cede governance authority to external layers that an organization does not own or cannot thoroughly inspect. For highly regulated industries, the combination of data sovereignty and source-level enforcement is not merely a beneficial feature; it is a fundamental prerequisite for deploying AI agents into production environments at all, directly addressing compliance security concerns.
The goal of this robust governance is not to impede agents from performing valuable work, but rather to precisely define their operational boundaries. It aims to specify how far an agent can go, what data it can interact with, what modifications it can make, what situations require human escalation, and how an organization can meticulously reconstruct events if an issue arises. Through this governed approach, AI agents are clearly identified, their scope is defined, their actions are monitored, and their activities are fully auditable. This fosters an environment where enterprises can confidently accelerate their AI adoption journey.
As agentic systems continue to advance in capability and autonomy, the imperative to be deliberate about where control resides becomes even more critical, rather than a reason to slow down innovation. Enterprises that proactively enforce governance at the data layer gain a competitive advantage, enabling them to move aggressively with AI initiatives because their data is protected by concrete, executable controls, not simply by wishful thinking or abstract policies.
EDB Postgres AI is presented as an open, enterprise-grade sovereign data and AI platform specifically designed to unify transactional, analytical, and AI workloads, with governance intrinsically enforced at the data source. Max Romanenko, Chief Technology Officer at EDB, underscores the strategic importance of this integrated approach. For a comprehensive understanding of this framework, EDB has made its white paper, "Governing Agentic AI at Enterprise Speed," available, offering valuable insights for enhancing AI infrastructure and operational resilience.