---
title: "How We Built Slack AI To Be Secure and Private"
description: "Slack AI was designed around four principles: customer data never leaves Slack's trust boundary, no LLM training on customer data, the AI only sees what the requesting user can see, and all existing compliance controls still apply."
url: "https://swe.quest/articles/how-we-built-slack-ai-to-be-secure-and-private-8e548d6f05ad3aa4"
canonical: "https://slack.engineering/how-we-built-slack-ai-to-be-secure-and-private/"
source: "Slack Engineering"
published: "2024-04-18"
difficulty: "easy"
kind: "Case study"
reading_minutes: 7
tags: ["privacy","llms","rag","security","system-design"]
---

# How We Built Slack AI To Be Secure and Private

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2024-04-18, 7 min read, Case study. Original: [https://slack.engineering/how-we-built-slack-ai-to-be-secure-and-private/](https://slack.engineering/how-we-built-slack-ai-to-be-secure-and-private/)

## Summary

Slack AI was designed around four principles: customer data never leaves Slack's trust boundary, no LLM training on customer data, the AI only sees what the requesting user can see, and all existing compliance controls still apply. Closed-source foundation models run in an AWS-hosted escrow VPC so the model provider never gets customer data. Stateless RAG over off-the-shelf models replaces fine-tuning, which raises the need for large context windows at low latency. Retrieval reuses the user's ACLs and existing fetch libraries, outputs are ephemeral where possible, and derived summaries are invalidated when source messages are tombstoned by DLP.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [Security](https://swe.quest/tags/security.md) (Security)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- LLM basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- retrieval-augmented generation

## Keywords

Slack AI, AWS, RAG, FedRAMP, Data Loss Protection, VPC

## Related posts

- [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.
- [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.
- [Slack AI: The Path to Multi-Cloud](https://swe.quest/articles/slack-ai-the-path-to-multi-cloud-ce2850c85b697c97.md): Slack Engineering · 2026-05-28 · Medium · 14 min read · Inference & serving, Cloud platforms, Resilience, LLMs, Capacity planning
  Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.
- [Scaling Privacy Infrastructure for GenAI Product Innovation](https://swe.quest/articles/scaling-privacy-infrastructure-for-genai-product-innovation-98d3311fada3a633.md): Meta Engineering · 2025-10-23 · Easy · 9 min read · Privacy, Data pipelines, LLMs, Observability
  Meta scales its Privacy Aware Infrastructure (PAI) to cover GenAI products such as its AI glasses, using cross-stack data lineage as the foundation for automated privacy enforcement.
- [Security incident disclosure — July 2026](https://swe.quest/articles/security-incident-disclosure-july-2026-d0a05b49d6106131.md): Hugging Face · 2026-07-16 · Easy · 6 min read · Incidents & postmortems, AI agents, Threat detection, LLMs, Security
  Hugging Face disclosed an intrusion driven end to end by an autonomous AI agent swarm.

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)
