Skip to content
Ylabator

The Six Layers of Private AI

A request to an AI system crosses six control boundaries. A no-training or zero-retention clause covers one of them, and breaches cluster at the others.

Topics
Privacy Foundations
Level
Founder / builder
Read
5 min
Published
2026-11-12
Reviewed
2026-11-12
Week 1

The problem

As documented in November 2026, Anthropic lists six of its newest models, the Claude Fable 5 and Mythos 5 families, as requiring 30-day data retention. They are not available under a zero data retention (ZDR) arrangement unless Anthropic expressly authorizes it [1]. On Amazon Bedrock, the Fable models run only after an account sets its retention mode to aws_review, which keeps prompts and completions inside AWS for up to 30 days for possible human review [2].

For many companies, ZDR became the single line in the AI vendor review. A team that tracks only that line learns about a change like this at upgrade time, when the model it wants turns out to sit outside its arrangement.

The deeper issue is that ZDR describes one hop. A production request also passes through a retrieval index, an orchestration layer, tool calls, application logs, memory, backups and whatever app receives the answer. Each of those keeps its own copy under its own terms. The breach data points away from the model endpoint. IBM's 2025 study found that among organizations reporting a breach of AI models or applications, 97% had no AI access controls in place [3]. That is a failure of what the AI could reach and do, not of what the model provider stored.

A founder approving an AI tool needs a way to read every boundary a request crosses, with one question and one test per boundary.

How it works

Treat a private AI system as six control boundaries. Each is described, tested and monitored on its own, because each fails on its own.

  1. Retention and deletion. How long prompts, files, outputs, embeddings and logs live, and whether deletion reaches indexes and backups.
  2. Communication and egress. Where an output can go: email, shared links, webhooks, plugins, outbound HTTP.
  3. Access and actions. What the system can open and what it can do with a user's authority.
  4. Model inference. Which provider sees the prompt, including providers your vendor calls on your behalf.
  5. Storage and keys. Who holds the encryption keys for data, indexes and memory, and who can destroy them.
  6. Deployment isolation. Where each component runs and what it shares with other customers.

A no-training clause and a ZDR agreement are controls on boundary four. A vendor can hold both and still write full prompts into its own observability tool, keep a vector index of your documents indefinitely, and let an agent forward attachments to any address. The privacy level of the whole system is the level of its weakest boundary.

The design question that cuts across all six is where an untrusted input crosses into an authoritative decision. An email body, a retrieved document or a web page can carry instructions. The model reads them as text and proposes an action. Treat that proposal as data. Enforce policy in ordinary application code and infrastructure: an allowlist in the network layer, a permission check in the database, an approval step before a send.

Deployment labels settle only boundary six. "Hosted private," "on premises" and "air gapped" each say where the system runs, and nothing about the other five. Even the strictest label has a known failure mode: all 17 air-gap malware frameworks ESET analyzed crossed the gap on USB drives [4]. An air gap is an operating regime with people and procedures, not a property you buy.

Six independently testable control boundaries

Fig. 01
  1. Retention and deletion
  2. Communication and egress
  3. Access and actions
  4. Model inference
  5. Storage and keys
  6. Deployment isolation
Privacy is a system property. A weakness in any one layer can defeat protections in the others, so each is described, tested and monitored on its own.
Technical detail

Treat model output as proposed data and enforce policy in ordinary application code and infrastructure. The key design question is where an untrusted input crosses into an authoritative decision.

By the numbers

of organizations with a breach of AI models or apps had no AI access controls [3]
97%
of organizations reported breaches of AI models or applications [3]
13%
higher average breach cost for organizations with high levels of shadow AI [3]
US$670k
Anthropic retention of flagged inputs and outputs, under any arrangement [1]
up to 2 years
air-gap malware frameworks in ESET's study that used USB drives [4]
17 of 17
ProviderZero-retention controlDocumented exception
OpenAI APIZDR excludes customer content from abuse monitoring logsAssistants, threads, vector stores, files, fine-tuning, evals and batches are not ZDR eligible [5]
Anthropic APINo prompts or responses stored at rest after the responseFlagged content kept up to 2 years. Fable 5 and Mythos 5 families require 30-day retention [1]
Amazon Bedrockdata_retention_mode: none, set per RegionDoes not propagate to other Regions. Fable models require aws_review [2]
Google Vertex AICaching can be turned off per projectGrounding with Google Search keeps logs for 3 days and cannot be turned off [6]
What a zero-retention setting leaves open, per provider documentation read in November 2026 [1][2][5][6]

Every row is a documented exception, published by the provider. None is hidden. A buyer who stops at "ZDR: yes" has verified one cell of this table.

The IBM figures say where to spend review time. The 97% describes access control, boundary three. The same study found that 63% of breached organizations had no AI governance policy or were still writing one [3]. Inference terms matter, but the breach data points at what the system was allowed to touch.

Implementation

The working artifact is a request-to-response data-flow map. Draw every hop a request crosses and record, for each one, the boundary it belongs to, the owner, the region, the credential, the retention rule and the allowed outbound destinations. Use specific values. "Private" and "secure" are not values. "us-east-1, deleted with the source, reindexed within 24 hours" is a value.

Keep the map in the repository next to the code, as a file the build can read. The example below is illustrative, for an assistant that drafts replies to investor email.

dataflow.yamlyaml
# One entry per hop. Illustrative values for an investor-email assistant.
system: investor-email-assistant
reviewed: 2026-11-11
hops:
  - id: ingest-mail
    boundary: access_and_actions
    owner: platform-team
    credential: oauth mail.read, delegated per user
    retention: none, streamed to the index
    egress: [retrieval-index]
  - id: retrieval-index
    boundary: storage_and_keys
    owner: data-team
    keys: kms alias/rag-cmk, rotation yearly
    retention: deleted with the source, reindexed within 24h
    egress: [model-inference]
  - id: model-inference
    boundary: model_inference
    owner: platform-team
    provider: amazon-bedrock us-east-1, data_retention_mode none
    egress: [orchestrator]
  - id: orchestrator
    boundary: retention_and_deletion
    owner: platform-team
    retention: logs 30 days, prompt hashes only, no text
    egress: [outbound-email]
  - id: outbound-email
    boundary: communication_and_egress
    owner: ops-team
    approval: human
    egress: ["allowlist:investors.example.com"]
  - id: runtime
    boundary: deployment_isolation
    owner: platform-team
    tenancy: dedicated VPC, no shared runtime
    egress: ["allowlist:bedrock-runtime.us-east-1.amazonaws.com"]

Two rules make the map useful. Every hop has a named owner, so a question about retention or egress has someone who answers it. Every outbound destination is either another hop in the map or an explicit allowlist entry, so an unmapped destination is a finding, not a surprise.

Pair the map with one written question per boundary. Retention: what is kept, where, for how long, and how is it deleted? NIST SP 800-88 Rev. 2, published in September 2025, is the reference for what deletion means at the media level [7]. Egress: is the list of destinations enforced by the network, or only by the prompt? Access: what can the system do without a person? Inference: which provider processes the data, and who there can read it? Storage: who can destroy the keys? Deployment: what is shared with another customer? OWASP's Top 10 for LLM applications and NIST's Generative AI Profile give neutral checklists for each answer [8][9].

Test it

A map that is never checked drifts. Run a check in CI that fails the build when a hop loses its owner, a boundary has no hop, or an outbound hop has no approval.

check_dataflow.pypython
"""Fail the build when the data-flow map has gaps. Usage: python check_dataflow.py dataflow.yaml"""
import sys

import yaml  # PyYAML

BOUNDARIES = {
    "retention_and_deletion", "communication_and_egress", "access_and_actions",
    "model_inference", "storage_and_keys", "deployment_isolation",
}
REQUIRED = {"id", "boundary", "owner", "egress"}


def check(path: str) -> list[str]:
    with open(path, encoding="utf-8") as fh:
        hops = yaml.safe_load(fh)["hops"]
    ids = {h["id"] for h in hops}
    errors = [f"no hop covers {b}" for b in sorted(BOUNDARIES - {h.get("boundary") for h in hops})]
    for hop in hops:
        name = hop.get("id", "?")
        errors += [f"{name}: missing {f}" for f in sorted(REQUIRED - hop.keys())]
        for dest in hop.get("egress", []):
            # A destination is another mapped hop or an explicit allowlist entry.
            if dest not in ids and not str(dest).startswith("allowlist:"):
                errors.append(f"{name}: unmapped egress {dest}")
        if hop.get("boundary") == "communication_and_egress" and hop.get("approval") != "human":
            errors.append(f"{name}: outbound hop without human approval")
    return errors


if __name__ == "__main__":
    problems = check(sys.argv[1])
    print("\n".join(problems) or "OK: six boundaries mapped, all egress accounted for")
    sys.exit(1 if problems else 0)

Expected result on the example map: OK. Delete the owner of any hop, or add egress: [analytics.vendor.com], and the check exits with status 1.

The map check proves the documentation is complete. Three negative tests, recorded the same way every time, prove the controls behave as documented:

  • Revoke a test employee's account, then ask the assistant for a document only that employee could open. Expected: no content, no title, no snippet.
  • Ask the agent to send a draft to an address outside the allowlist. Expected: blocked at the network or tool layer, with a log entry naming the rule.
  • File a deletion request for a test document, wait the documented window, then search the index, the logs and the backups you can reach. Expected: no copy.
  • Record the configuration and model version tested, the expected result and the actual result. A failed check opens a ticket with severity, owner and retest date.

Decision

Ask for the six-boundary map before approving any AI vendor or launch, and score each boundary separately. The weakest score is the product's privacy level.

  • Treat no-training and ZDR terms as table stakes on boundary four. Confirm them per model and per feature, because the newest models carry their own retention rules.
  • Weight access controls above inference terms. The breach data puts the failures there.
  • Make the map a file the build checks. The first version takes a team about a day. Keeping it current costs a review on every new integration.
  • Rerun the three negative tests on every model change and every new connector.

Sources

  1. [1]API and data retention (opens in a new tab)Anthropic, November 2026
  2. [2]Data retention, Amazon Bedrock User Guide (opens in a new tab)Amazon Web Services, November 2026
  3. [3]IBM Report: 13% of organizations reported breaches of AI models or applications, 97% of which reported lacking proper AI access controls (opens in a new tab)IBM Newsroom, July 2025
  4. [4]Jumping the air gap: 15 years of nation-state effort (opens in a new tab)ESET WeLiveSecurity, December 2021
  5. [5]Data controls in the OpenAI platform (opens in a new tab)OpenAI, November 2026
  6. [6]Vertex AI and zero data retention (opens in a new tab)Google Cloud, November 2026
  7. [7]SP 800-88 Rev. 2, Guidelines for Media Sanitization (opens in a new tab)NIST, September 2025
  8. [8]OWASP Top 10 for LLM Applications (opens in a new tab)OWASP GenAI Security Project, 2025
  9. [9]NIST AI 600-1, Generative Artificial Intelligence Profile (opens in a new tab)NIST, July 2024

Technical guidance, not security certification or legal advice.

All Private AI articles