AI Agent Solutions for Data Warehouse Access and Security

meta · Tech · 2025 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.2 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Enterprise data warehouse access

Meta needed to keep warehouse access secure while AI-driven and cross-domain data use made human/local approval processes harder to scale.

Constraints:

Architecture

Meta models warehouse access as a multi-agent collaboration between data-user agents and data-owner agents. The data-user agent is coordinated by a triage agent and includes sub-agents for suggesting alternatives, enabling low-risk exploration, and crafting/negotiating permission requests. The owner side includes security-operations and access-management sub-agents. For partial data preview, user activity/profile/query shape informs intention, the owner agent fetches metadata and SOPs, an LLM proposes a decision/reasoning, and output guardrails enforce rule-based risk calculations with logs, traces, evaluation datasets, and feedback/audit flywheels.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  data-user-agent[Data-user agent] --> triage-agent[Triage agent]
  triage-agent --> alternative-suggestion-sub-agent[Alternative suggestion sub-agent]
  triage-agent --> low-risk-exploration-sub-agent[Low-risk exploration sub-agent]
  triage-agent --> permission-request-sub-agent[Permission request sub-agent]
  data-user-agent --> user-activity-tool[User activity tool]
  data-user-agent --> user-profile-tool[User profile tool]
  data-user-agent --> data-owner-agent[Data-owner agent]
  low-risk-exploration-sub-agent --> data-owner-agent
  permission-request-sub-agent --> data-owner-agent
  data-owner-agent --> metadata-and-sop-resources[Metadata and SOP resources]
  data-owner-agent --> output-guardrail[Output guardrail]
  data-owner-agent --> audit-feedback-flywheel[Audit feedback flywheel]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Data-user agent Assists users with alternatives, low-risk exploration, and permission requests. Triage agent, Alternative suggestion sub-agent, Low-risk exploration sub-agent, Permission request sub-agent, Data-owner agent, User activity tool, User profile tool
Triage agent Coordinates data-user sub-agents by selecting the right access-assistance task. Data-user agent, Alternative suggestion sub-agent, Low-risk exploration sub-agent, Permission request sub-agent
Alternative suggestion sub-agent Suggests unrestricted/less-restricted tables, query rewrites, or curated analyses. Triage agent
Low-risk exploration sub-agent Provides context-aware task-specific preview access for exploration. Triage agent, Data-owner agent
Permission request sub-agent Crafts permission requests and negotiates with owner-side agents. Triage agent, Data-owner agent
Data-owner agent Manages owner-side access decisions, metadata retrieval, SOPs, and security/access operations. Data-user agent, Low-risk exploration sub-agent, Permission request sub-agent, Metadata and SOP resources, Output guardrail, Audit feedback flywheel
User activity tool Collects diffs, tasks, posts, SEVs, dashboards, and documents for intention modeling. Data-user agent
User profile tool Provides profile context for access-intention formulation. Data-user agent
Metadata and SOP resources Text representations of resource summaries, column descriptions, semantics, and access practices. Data-owner agent
Output guardrail Checks decisions against rule-based risk calculations. Data-owner agent
Audit feedback flywheel Stores traces/decisions and lets data owners review feedback for evaluations and process improvement. Data-owner agent

Data flow

A data user begins discovery or hits an access control. The data-user agent gathers context from activity and profile tools, formulates explicit or implicit business intention, and invokes a data-owner agent. The owner agent analyzes the query and resources, fetches table summaries, column descriptions, semantics, and SOPs, generates a decision and rationale, then sends it through an output guardrail aligned with rule-based risk calculations. Decisions, traces, context, and outputs are stored for evaluation, feedback, and auditing.

5 supporting quotes
“The data-user agent taps into the user-activities tool to gather user activities across various platforms, including diffs, tasks, posts, SEVs, dashboards, and documents.”article, stated
“With this data, the data-user agent formulates the user’s intention based on their activities, profiles, and query shapes, and then calls upon the data-owner agent.”article, stated
“The data-owner agent steps in to analyze the query, identifying the resources being accessed. It then fetches metadata related to these resources, such as table summaries, column descriptions, data semantics, and SOPs.”article, stated
“The output guardrail ensures that the decision aligns with rule-based risk calculations.”article, stated
“data users’ queries, the agents’ processing traces, the context, and the final outputs are all securely stored for feedback and auditing purposes.”article, stated

Why this architecture

Meta moved from local role-based decisions to multi-agent workflows because AI and humans increasingly work across warehouse domains, making access context dynamic and hard to model analytically. Splitting user and owner agents decomposes security/productivity goals, while guardrails, risk budgets, and feedback/audit traces keep language-model reasoning bounded.

3 supporting quotes
“But with the ability of AI systems to process data across different portions of the data graph, such human-driven decisions are becoming challenging.”article, stated
“We intentionally separate the two agents to decompose the problem, allowing each to have its own focus.”article, stated
“At the same time, we employ guardrails, such as analytical rule-based risk computation, to ensure that the agents operate within set boundaries.”article, stated

Models used: LLM agents

Scale

Alternatives considered (roads not taken)

Traditional local role-based access decisions

Rejected because: Cross-domain AI data use makes local, team-based approvals insufficient.

“Traditionally, when most of the data analytics was rules-driven, this graph was highly partitioned, and all data-access decisions were local.”article, stated

One monolithic access agent

Rejected because: Meta explicitly decomposes the problem into user and owner agents, then user-side specialized sub-agents.

“It’s not a monolithic entity; instead, it’s composed of three specialized sub-agents, each focusing on a specific, separate task, and is coordinated by a triage agent.”article, stated

Unbounded data preview for exploration

Rejected because: Partial preview combines task context, query shape, access budgets, and rule-based risk management.

“During the exploration phase, there’s usually interaction with a small amount of data exposure. So, how do we enable more task-specific, context-aware access at this stage of data access?”article, stated

Patterns

multi-agent-orchestration (access-control)

Separate user and owner agents collaborate while keeping distinct responsibilities.

“Data-user agents assist data users in obtaining access, while data-owner agents help data owners manage access.”article, stated

safety-policy-enforcement (security)

Meta uses guardrails, auditing, feedback, risk management, and context-aware controls to bound agent behavior.

“eed, and that help data owners process requests and maintain security. * We share how we’re using guardrails, including auditing and feedback systems, to ensure agents operate within set boundaries and to evaluate the overall process.”article, stated

Tradeoffs

How to decompose access assistance.

Chose separate user and owner agents over one monolithic access agent.

Rationale: The split lets each side focus on different security and productivity objectives.

“We intentionally separate the two agents to decompose the problem, allowing each to have its own focus.”article, stated

Access-agent decomposition.

Chose separate data-user and data-owner agents with specialized sub-agents over one generalized warehouse access agent.

Rationale: Different security/productivity goals need separate focus and coordination rather than a single blended role.

“We intentionally separate the two agents to decompose the problem, allowing each to have its own focus.”article, stated

Preview safety model.

Chose context-aware partial data preview with query controls, budgets, and risk rules over granting full access for exploration.

Rationale: The preview path supports exploration while bounding exposure and defending against agent malfunction or attack.

“We employ rule-based risk control. This defends against attacks against or malfunctions of the AI agent.”article, stated

Gotchas (what bit them)

Role-based local access decisions struggled with cross-domain AI data use.

Root cause: AI systems process across portions of the data graph where prior human-driven access decisions were partitioned.

Resolution: Adapt the warehouse access workflow for agents and humans working together with explicit risk controls.

“But with the ability of AI systems to process data across different portions of the data graph, such human-driven decisions are becoming challenging.”article, stated

Evaluation

Meta describes auditing and feedback systems rather than public quantitative results.

Metrics: auditing · feedback · risk management

“s, including auditing and feedback systems, to ensure agents operate within set boundaries and to evaluate the overall process.”article, stated

Outcomes

Engineering design case, no deployment metrics in extracted source.

“The new agentic workflow must natively integrate into data products and create a streamlined experience.”article, stated