> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trulyagentic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# BYOC Isolation Architecture

> How customer operational payloads, keys, and audit logs stay inside customer-owned AWS, GCP, or Azure VPC boundaries.

Truly Agentic **does not operate a multi-tenant SaaS control plane** holding customer ERP records, invoices, CRM exports, OAuth refresh tokens, or operational audit logs. Every runtime and workflow deploys directly inside the **Customer-Owned Cloud Subscription / VPC (Bring Your Own Cloud — BYOC)**.

* Signed code commits, Terraform modules, and policy rules enter exclusively via **customer-controlled CI/CD**.
* Operational payloads never leave the customer VPC/VNet.
* Foundation model inference runs inside private VPC endpoints (`AWS Bedrock`, `GCP Vertex AI`, `Azure OpenAI`) or contractual zero-data-retention configurations with model training disabled.

## Data-Flow & Security Boundaries

```mermaid theme={null}
flowchart TB
  subgraph ClientBoundary["Customer Cloud Account / Private VPC (AWS / GCP / Azure)"]
    direction TB
    SSO["Customer OIDC / SAML IdP (Okta / Entra ID / Keycloak)"]
    Vault["Customer KMS + Secrets Vault (Secrets Manager / Key Vault)"]
    Worker["Agent Worker Runtime (Private Subnet: ECS / Cloud Run / Container Apps)"]
    GW["GovernanceGateway (5 Deterministic Controls)"]
    Scanner["MCP & Untrusted Payload Scanner (ASI01 / ASI04)"]
    Ledger["Append-Only Hash-Chained Postgres Audit Ledger"]
    WORM["Immutable WORM Object Store (S3 Object Lock / GCS Lock / Blob Immutability) -> SIEM"]
    LLM["Private Zero-Retention LLM Endpoint (Bedrock / Vertex / Azure OpenAI)"]
    ERP["Customer Systems of Record (NetSuite / SAP / Dynamics / Salesforce / Sandbox)"]

    SSO -->|Short-lived task-bound token| Worker
    Vault -->|Scoped read-only credential lease| GW
    Worker --> GW
    GW --> Scanner
    Scanner --> GW
    GW -->|1. Pre-exec SHA-256 hash write| Ledger
    Ledger -->|Streamed archive| WORM
    GW -.->|2. If ledger offline -> Hard Abort| Worker
    GW -->|3. Policy-checked inference| LLM
    GW -->|4. Scoped read/propose or Slack-signed write| ERP
  end

  Approver["Named Individual Approver (Slack / Teams Block Kit + HMAC Verify)"] <--> GW
  Contractor["Truly Agentic Engineering (Time-boxed CI/PR only, zero standing access post-handover)"] -.->|Signed commits & Terraform PRs| ClientBoundary
```

## Cloud-by-Cloud Isolation Matrix

| Control Surface | AWS BYOC | GCP BYOC | Azure BYOC |
| - | - | - | - |
| **Compute & Network** | ECS Fargate / EKS inside private VPC subnets; zero public ingress | Cloud Run (Internal + VPC Connector) or private GKE inside Shared VPC | Container Apps / AKS inside private VNet subnets |
| **Keys & Secrets** | AWS KMS CMK (`enable_key_rotation = true`) + Secrets Manager | Cloud KMS (90-day `rotation_period = "7776000s"`) + Secret Manager | Azure Key Vault (RBAC + HSM-backed keys) |
| **Zero-Retention Inference** | AWS Bedrock VPC PrivateLink endpoint (zero model training/retention) | GCP Vertex AI Private Service Connect endpoint (zero training/retention) | Azure OpenAI Private Endpoint with zero-retention config |
| **Immutable Audit Sink** | Append-only PostgreSQL + S3 Object Lock (`GOVERNANCE`/`COMPLIANCE`) | Append-only PostgreSQL + GCS Bucket `retention_policy` | Append-only PostgreSQL + Azure Blob Immutable Storage (WORM) |
| **Identity & Approval** | OIDC workload federation + Slack/Teams HMAC Block Kit cards | Service Account OIDC identity + Slack/Teams HMAC sign-off | Microsoft Entra ID Managed Identity + Teams/Slack named sign-off |

## Engagement Access Phases

| Phase | Access Level | Boundary Rule |
| - | - | - |
| **Weeks 1–2 (Read-Only Audit)** | Read-only replicas, snapshots, or sandboxes | Zero write tokens provisioned. Workflows run solely on sample extracts or sandbox data. |
| **Weeks 3–4 (Shadow Mode)** | Side-by-side shadow evaluation in BYOC VPC | Drafts (`propose`) log cleanly and diff against human operator actions without mutating ERPs. |
| **Handover & Ongoing** | Customer-owned Git repo + CI/CD runner | Any temporary onboarding SSO/VPN lease auto-expires at window close; post-handover changes deploy only via customer-approved PRs. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.