# Decision Points for Embedding AI Agents in Enterprise Systems
# Employee-facing vs Customer-facing
🎯 The Hook
Are you using the same design for your internal employee agent and your customer-facing agent? The trust model, data boundaries, guardrail strength, and blast radius of failures are fundamentally different depending on who is using the agent. Get this fork wrong early and you will either expose customer data through a lax design or crush employee productivity with excessive restrictions 🔑
📋 Overview
Whether the agent's users are employees bound by employment contracts and NDAs or external customers who may submit adversarial inputs is the very first architectural fork. For employee-facing agents, you can assume a baseline of trust — authentication is unified through corporate IdP (Okta / Entra ID), data stays within internal knowledge bases (Notion / Confluence / Box) and business systems (Salesforce / ServiceNow / Workday), and the failure cost is typically "rework" rather than "lawsuit." Customer-facing agents are a different world: you must design for jailbreak attempts and indirect prompt injection, outputs directly affect brand reputation and legal liability, strict per-tenant data isolation is mandatory, and the authentication layer must handle CIAM (Auth0, etc.) including anonymous access. Scale is also orders of magnitude apart — thousands of employees versus millions of customers with 24/365 spike resilience 📊
🔍 Decision Points
The two driving variables are user trust level and failure blast radius.
Users are employees only → Employee-facing design is sufficient
External customers are included → Customer-facing design is mandatory
Both are included → Design as separate planes with isolated data paths
The critical insight is distinguishing what can be shared from what must be isolated. The orchestration layer and model gateway (AI Gateway) can be shared across both planes. Data access paths, guardrails, and audit logs must be separated. For customer-facing output pipelines, integrate DLP (Data Loss Prevention) to prevent internal data leakage ⚡
💡 Key Details
Employee-facing characteristics:
- Input trust assumption holds (employment contracts and NDAs provide accountability)
- Data scope is limited to internal knowledge bases and business systems
- Failure cost is "inefficiency" or "rework" — mostly reversible
- Concurrent users in the thousands to tens of thousands, concentrated during business hours
Customer-facing characteristics are fundamentally different:
- Design must assume adversarial inputs (jailbreak, indirect injection)
- Incorrect answers or data leaks escalate to legal liability and brand damage
- Strict per-tenant data isolation is non-negotiable
- Concurrent users in the tens of thousands to millions, 24/365 spike resilience required
In hybrid configurations, a typical pattern is an e-commerce platform on Shopify where the customer-facing inquiry agent and the internal order-operations agent share the same orchestration backbone but run on separate planes. On Zendesk, the customer-facing agent is given access only to a read model projection of publicly shareable knowledge, with direct access to internal Notion and Box data completely blocked 🔒
⚖️ Trade-offs
Reusing an employee-facing design for customers is the most common and most dangerous mistake. Data access scopes that are acceptable internally get applied to customer-facing agents, and suddenly one tenant's data leaks to another. Going the other direction — applying strict customer-facing guardrails company-wide — tanks employee productivity and kills the ROI of the entire agent initiative 😩
Deferring plane separation to "later" is equally risky. Starting with a single stack and planning to separate at customer launch is a recipe for ballooning migration costs. Separation must be decided at initial design time. Audit log co-mingling is another overlooked trap — when customer PII and internal data share the same log store, data retention policies and access controls become unmanageable ⚠️
🛠️ Use Cases
E-commerce operations + customer support: A Shopify-integrated retailer runs a customer-facing inquiry agent (strict guardrails, tenant isolation, DLP enforcement) alongside an internal order-management agent (broad internal data access, wider operation permissions) on the same orchestration backbone. The model gateway is shared; only the frontend and data paths diverge 🛒
IT helpdesk: An employee-facing IT support agent has broad access to Active Directory, Jira, and Confluence, automating password resets and software provisioning. When the same platform is extended to customer-facing support, access is restricted to the public knowledge base, guardrails are significantly hardened, and topic restrictions, tone control, and refusal policies are layered on 📚
Practical tip: If there is even a possibility that you will need both employee-facing and customer-facing agents, design for plane separation from day one. Retrofitting separation is among the most expensive categories of technical debt 💪
#
AIAgents# #
EnterpriseArchitecture#