These are target-state architecture patterns for multi-tenant agent platforms at enterprise scale, not required prerequisites for a first prototype. Start with a single-account setup and evolve toward multi-account isolation as your platform matures.
Multi-Tenancy & Reference Architecture
Architects designing multi-tenant agent deployments — isolation models, account topology, operating models, and the maturity path from experimentation to governed platform.
Multi-tenancy is a cross-cutting concern that affects every layer of the agent platform. As multiple teams, business units, and use cases share the platform, proper isolation ensures security, performance predictability, and cost accountability.
Multi-Tenancy Dimensions
Each platform layer requires its own isolation strategy. A "tenant" may be a team, business unit, application, or customer - depending on your organizational model.
| Dimension | Isolation Requirement | Implementation |
|---|---|---|
| Runtime & Compute | Agents from different tenants cannot share execution contexts | Separate containers/micro-VMs, namespace isolation |
| Tool Scope Boundaries | Tenants access only their authorized tools and MCP servers | Per-tenant Gateway policies, Cedar authorization. Combined Cedar schema per policy engine is capped at 400 KB, driven by both tool count and parameter complexity; large multi-tenant tool catalogs may need multiple policy engines. |
| Data & Prompt Isolation | One tenant's data never leaks into another's context | Tenant-scoped storage, prompt injection guardrails |
| Memory Isolation | Agent memory is partitioned per tenant | Tenant-prefixed memory stores, access policies |
| Eval & Telemetry Separation | Metrics, traces, and evals are attributed to the correct tenant | Tenant tags on all telemetry, separate dashboards |
| Registry & Access | Each tenant sees only their agents and approved shared agents | RBAC on registry, tenant-scoped discovery |
Multi-Account Governance Architecture
For enterprise-scale deployments, a multi-account architecture provides the strongest isolation boundaries using AWS Organizations.
Platform Account (Shared Services)
Central platform services: Agent Registry, Gateway configuration, shared guardrails, platform CI/CD, cost aggregation, and tenant onboarding automation.
CentralDomain Accounts (A, B, ...)
Per-team or per-business-unit accounts. Agents run here with tenant-specific resources: runtime, memory, tools, and data stores.
Per-TeamDevOps Account
Shared CI/CD pipelines, artifact repositories, and deployment orchestration. Deploys to domain accounts via cross-account roles.
SharedSecurity & Networking Account
Centralized security controls: SCPs, VPC sharing, private link endpoints, WAF rules, and network firewall policies.
SecurityObservability Account
Aggregated telemetry from all domain accounts. Cross-account CloudWatch dashboards, centralized alerting, and compliance reporting.
ObservabilityAgentCore Memory supports cross-account access, which is what makes a shared Memory resource in the Platform Account usable by agents running in Domain Accounts. A resource-based policy on the Memory resource can grant principals in another account permission to create events, write and retrieve records, and perform semantic search. Memory can also deliver payloads and stream events to S3 buckets, SNS topics, and Kinesis Data Streams in other accounts. See cross-account Memory access for setup.
Operating Models
How the platform team and domain teams interact determines the platform's operating model.
| Model | Description | Best For |
|---|---|---|
| Centralized | Platform team builds and operates all agents. Domain teams submit requests. | Small organizations, early stages, regulated industries |
| Decentralized | Each team builds and operates independently. Minimal shared services. | Highly autonomous engineering cultures (high Shadow AI risk) |
| Federated ⭐ | Platform team provides shared services and guardrails. Domain teams build autonomously within boundaries. | Most enterprises - balances speed with governance |
The Federated model is recommended for most enterprises. It provides the guardrails of centralized governance with the velocity of decentralized execution.
Organization Model
The federated model requires a dedicated Platform / Center of Excellence (CoE) team that enables domain teams.
Platform / CoE Team
| Role | Responsibility |
|---|---|
| Platform PM | Roadmap, prioritization, stakeholder alignment |
| Platform Architect | Reference architecture, standards, technology decisions |
| Platform Engineers | Build and maintain platform services, IaC constructs, self-service tooling |
| Platform Ops | Reliability, incident response, capacity management for shared services |
| Platform Security | Security standards, policy authoring, threat modeling, compliance |
Domain Teams
Domain teams consume platform services and build agents for their business domain. They own:
- Agent logic and prompts
- Domain-specific tools and data
- Quality and evaluation criteria
- On-call for their agents
The platform team enables them with:
- Self-service onboarding
- Reusable templates and constructs
- Shared observability and governance
- Consultation and architecture reviews
Platform Maturity Model
Organizations evolve through maturity levels. Each level builds on the previous one.
| Level | Name | Characteristics |
|---|---|---|
| L1 | Experimentation | Individual teams building PoCs. No shared infrastructure. Ad-hoc security. |
| L2 | Foundation | Shared runtime and gateway deployed. Basic registry. Central observability. |
| L3 | Scaling | Self-service onboarding. CI/CD with eval gates. Multi-team adoption. A/B testing via agentcore run ab-test (native Gateway-driven weighted splitting). |
| L4 | Governed & Optimized | Full governance automation. Cost optimization. Continuous evals. Federated ops. |
AgentCore provides native A/B testing with Gateway-driven weighted traffic splitting. Use agentcore run ab-test (CLI) or the CreateABTest API to configure tests. Two modes are available:
- Config-bundle mode — tests prompt, tool, or model configuration variants on the same runtime (docs)
- Target-based mode — routes traffic across different runtime endpoints (docs)
For infrastructure-level traffic splitting across entirely separate deployment targets outside AgentCore (for example, a green-field re-architecture comparison), external mechanisms such as CloudFront, ALB weighted target groups, or Route 53 weighted routing remain an option. See the A/B testing overview for guidance on choosing the right mode.
Path to Maturity
L1 → L2: Lay the Foundation
Steps:
• Deploy AgentCore Runtime and Gateway
• Establish Agent Registry with basic metadata
• Enable AgentCore Observability for all agents
• Define initial security baseline (identity, guardrails)
• Create first IaC templates for common patterns
L2 → L3: Scale Adoption
Steps:
• Build self-service onboarding workflows
• Implement CI/CD pipelines with evaluation gates
• Add cost attribution and per-team budgets
• Enable native A/B testing via agentcore run ab-test — compare configuration variants (config-bundle mode) or different runtime endpoints (target-based mode) with Gateway-driven weighted traffic splitting and online evaluation scoring
• Use infrastructure-level traffic splitting, such as CloudFront, ALB weighted target groups, or Route 53 weighted routing, only when you need network-layer distribution across deployment targets entirely outside AgentCore
• Onboard 3+ domain teams to the platform
L3 → L4: Govern & Optimize
Steps:
• Automate governance with policy-as-code
• Implement continuous online evaluations
• Deploy multi-account architecture with SCPs
• Establish federated operating model with CoE
• Optimize cost with model routing and caching
• Shadow AI detection and prevention workflows
You don't need to reach L4 on day one. Start with L1 (experimentation), validate the value, then invest in platform capabilities incrementally. Most organizations should target L2 within 3 months and L3 within 6-9 months.
Further Reading
- Building multi-tenant agents with Amazon Bedrock AgentCore — AWS blog covering isolation models, identity propagation, and cost attribution patterns
- Shared infrastructure, isolated tenants: Pool model multi-tenancy with AgentCore — deep-dive on the pool isolation model with tier/tenant/user hierarchy
- Multi-Tenant Bedrock Agents Security with Cedar — community post on Cedar policy patterns for multi-tenant agent authorization
- sample-multi-tenant-agent-core-app (GitHub) — reference implementation with Cognito JWT auth, DynamoDB sessions, and granular cost attribution
- A/B Testing Overview — native Gateway-driven weighted traffic splitting
- Config-bundle A/B Testing — configuration variant testing on the same runtime
- Target-based A/B Testing — cross-endpoint traffic splitting
- AWS Organizations Multi-Account Strategy — account vending and SCP governance
- AgentCore Gateway — MCP tool federation, per-tenant throttling, and routing