---
title: "Creating AI agent solutions for warehouse data access and security"
description: "Meta is reworking access control for its offline data warehouse around a multi-agent system."
url: "https://swe.quest/articles/creating-ai-agent-solutions-for-warehouse-data-access-and-security-d7254720cb9e9b17"
canonical: "https://engineering.fb.com/2025/08/13/data-infrastructure/agentic-solution-for-warehouse-data-access/"
source: "Meta Engineering"
published: "2025-08-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["identity-auth","ai-agents","analytics","evals","security"]
---

# Creating AI agent solutions for warehouse data access and security

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2025-08-13, 10 min read, Case study. Original: [https://engineering.fb.com/2025/08/13/data-infrastructure/agentic-solution-for-warehouse-data-access/](https://engineering.fb.com/2025/08/13/data-infrastructure/agentic-solution-for-warehouse-data-access/)

## Summary

Meta is reworking access control for its offline data warehouse around a multi-agent system. Data-user agents suggest less-restricted alternatives, enable low-risk exploration and draft permission requests. Data-owner agents follow owner-written SOPs to process requests and proactively configure access rules. The warehouse hierarchy is exposed to LLMs as a text folder structure, with context management (automatic, static, dynamic) and explicit role-based or implicit activity-inferred intention. In the partial data preview flow, an LLM judges requests using user activity, query shape and resource metadata, bounded by daily data-access budgets and a rule-based risk guardrail, with daily evals on historical requests and an owner feedback loop.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- role-based access control
- data warehouses
- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Meta, partial data preview, LLM, RBAC

## Related posts

- [Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study](https://swe.quest/articles/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-a3a231481ce72736.md): Meta Engineering · 2026-06-25 · Medium · 23 min read · Privacy, LLMs, System design, Evaluation, Data pipelines
  Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.
- [How to set up ClickHouse for agentic analytics](https://swe.quest/articles/how-to-set-up-clickhouse-for-agentic-analytics-27a1e03046d721dc.md): ClickHouse · 2026-02-23 · Medium · 8 min read · Analytics & OLAP, AI agents, Identity & auth, Data pipelines, Multi-tenancy
  Preparing a ClickHouse Cloud warehouse for AI agents comes down to classic warehousing discipline: isolate workloads on separate compute services over shared storage, expose only curated marts, and enforce guardrails through roles and resource limits.
- [How we built enterprise search to be secure and private](https://swe.quest/articles/how-we-built-enterprise-search-to-be-secure-and-private-9bbeb6f1e852b588.md): Slack Engineering · 2025-03-07 · Easy · 5 min read · Search, Identity & auth, RAG & retrieval, Privacy, Security
  Slack's enterprise search, which brings Google Drive and GitHub results into Slack search and AI Answers, uses a federated, real-time design instead of an index.
- [Connections: managed credentials and per-caller identity for Managed Deep Agents](https://swe.quest/articles/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents-ce54a93aff5fdc9f.md): LangChain · 2026-09-14 · Medium · 6 min read · AI agents, Identity & auth, LLMs
  Connections in Managed Deep Agents (v0.7.0+) store named credentials in the LangSmith workspace instead of \`.env\` or the build, and tools fetch them at run time by slug via \`connections.get()\`.
- [An Organizational Second Brain: Building an AI That Learns From Experts](https://swe.quest/articles/an-organizational-second-brain-building-an-ai-that-learns-from-experts-39ccb4da4e5586dc.md): Meta Engineering · 2026-09-02 · Medium · 13 min read · AI agents, LLMs, RAG & retrieval, Evaluation, System design
  Meta built a domain-expert AI agent for a compliance domain that separates declarative knowledge files (positions, taxonomies, routing indexes, gateway tests with YAML dependency graphs) from imperative composable "recipes" that encode expert reasoning workflows.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
