AWS Builder Center
Building a Modular AI Agent Platform on AWS: OpenBot Architecture, MCP, and Cloud-Native Infrastructure

Building a Modular AI Agent Platform on AWS: OpenBot Architecture, MCP, and Cloud-Native Infrastructure

OpenBot represents an interesting architectural direction for organizations looking to move beyond standalone AI assistants toward a modular, enterprise-ready agent ecosystem.

Head Of Cloud | Driving Cloud-Native Innovation | Platform Engineering
The rapid evolution of Large Language Models (LLMs) has changed how we build and interact with software. However, moving from simple AI chat interfaces to production-ready AI agent platforms introduces a new set of engineering challenges.

Organizations need more than access to an LLM. They need an environment where agents can interact with tools, execute tasks, access enterprise systems, operate within isolated environments, and remain governed by centralized security and operational policies.
This is where OpenBot comes in.
OpenBot introduces a modular architecture for building and operating AI agent ecosystems. Instead of tightly coupling agents, models, tools, and infrastructure into a single application, it separates these components into independent layers.
This architecture makes it possible to choose your AI providers, integrate different agent execution platforms, connect external tools through the Model Context Protocol (MCP), and deploy the underlying infrastructure on cloud-native platforms such as AWS.
In this article, we explore the architecture and discuss how its different layers can work together to create a scalable enterprise AI agent platform.

1. OpenBot Architecture: A Layered Approach

The architecture is organized into six major layers, each responsible for a different part of the platform.
The separation of concerns provides flexibility while allowing organizations to evolve individual components without redesigning the entire system.

Layer 1: OpenBot Workspace

The workspace is the central entry point for users and administrators.
It provides a unified experience for interacting with agents while introducing centralized governance and control.
Key responsibilities include:
  • User-facing workspace and agent discovery.
  • Centralized agent access and management.
  • Enterprise governance and operational controls.
  • Consistent user experience across different agents.
  • Integration with underlying agent execution environments.
Rather than exposing users to multiple independent AI applications, the workspace provides a unified interface.

Layer 2: Your Agents

Agents are the execution and reasoning layer of the platform.
They can be built using OpenBot's built-in bots or integrated from external agent execution platforms through AG-UI.
This approach avoids locking the architecture into a single agent framework.
Different agents can serve different business requirements:
  • DevOps and infrastructure automation.
  • Internal knowledge assistants.
  • Customer support automation.
  • Data analysis and reporting.
  • Engineering productivity workflows.
  • Enterprise process automation.
The important architectural principle is that the workspace and the agent execution layer remain independent.
This allows teams to introduce new agent frameworks without replacing the user-facing experience.

Layer 3: Your Models

The model layer provides flexibility in selecting AI providers.
Instead of hardcoding a dependency on one LLM vendor, the platform can integrate different model providers depending on business requirements.
In an AWS environment, Amazon Bedrock provides a natural integration point.
Amazon Bedrock offers access to multiple foundation models through a managed service, enabling organizations to select models based on:
  • Reasoning capabilities.
  • Latency requirements.
  • Cost efficiency.
  • Context window requirements.
  • Data governance and compliance requirements.
This abstraction also makes it easier to experiment with different models without redesigning the agent architecture.

Layer 4: Your Tools

An AI agent becomes significantly more useful when it can interact with external systems.
This is the responsibility of the tools layer.
OpenBot connects tools through the Model Context Protocol (MCP), allowing agents to discover and interact with capabilities exposed by external services.
Examples include:
  • GitHub and GitLab integrations.
  • Kubernetes management tools.
  • Terraform and infrastructure automation.
  • Database operations.
  • Monitoring and observability platforms.
  • Internal enterprise APIs.
MCP provides a standardized integration approach, reducing the need to build custom integrations for every individual agent.
From an infrastructure perspective, MCP servers should be treated as independent services with clearly defined permissions, authentication, and network boundaries.

Layer 5: Modular Execution Lanes

One of the most interesting architectural decisions is the modular execution layer.
Rather than forcing every component to run in the same environment, OpenBot separates execution capabilities into modular lanes.
These can include:
  • MCP hubs.
  • Sandboxes.
  • Browser execution environments.
  • Custom agent infrastructure.
  • Additional execution services.
Organizations can start with predefined components and gradually introduce their own implementations.
For example, a development team might use a shared MCP hub for internal tools while running individual agent workloads inside isolated sandbox environments.
This separation provides flexibility in resource allocation, security boundaries, and scaling strategies.

Layer 6: Your Infrastructure

The infrastructure layer provides the foundation for everything above it.
The architecture supports different deployment environments, including:
  • Developer laptops.
  • Kubernetes.
  • Helm-based deployments.
  • AWS.
  • Microsoft Azure.
  • Google Cloud.
For AWS-based deployments, Kubernetes provides a consistent runtime for hosting the platform's modular services.
Amazon EKS can serve as the orchestration layer, while AWS managed services provide storage, networking, identity, and AI capabilities.

2. Mapping the Architecture to AWS

Let's consider how the different components can be implemented using AWS services.
Architecture component
AWS technology
Workspace
Kubernetes / Amazon EKS
Agent services
Amazon EKS workloads
Model integration
Amazon Bedrock
Agent communication
AG-UI / application APIs
Tool integration
MCP servers
Execution environments
Isolated Kubernetes workloads
Container registry
Amazon ECR
Persistent storage
Amazon EBS / Amazon EFS
Object storage
Amazon S3
Secrets management
AWS Secrets Manager
Identity and permissions
AWS IAM
Network isolation
Amazon VPC
Monitoring
Amazon CloudWatch
Infrastructure provisioning
Terraform / AWS CDK
This is an architectural mapping rather than a mandatory deployment blueprint. The specific services should be selected according to workload requirements.

3. Why Kubernetes Is a Good Foundation

AI agent platforms are composed of multiple independently evolving services.
A single deployment model is rarely sufficient when different agents have different resource requirements, security boundaries, and scaling characteristics.
Kubernetes provides several useful capabilities:
Independent scaling
Workspace services, agent runtimes, and MCP servers can scale independently.
Workload isolation
Different execution environments can run in separate namespaces, with dedicated service accounts, network policies, and resource quotas.
Infrastructure portability
Helm charts and Kubernetes manifests provide a consistent deployment model across development environments and cloud providers.
Operational consistency
GitOps workflows can be used to manage configuration, deployment versions, and infrastructure changes.
Extensibility
New agent execution environments and MCP services can be introduced without changing the entire platform.
For AWS deployments, Amazon EKS provides a managed Kubernetes control plane and integration with the broader AWS ecosystem.

4. Security and Enterprise Governance

Giving AI agents access to tools and infrastructure introduces important security considerations.
An agent that can access a database, execute infrastructure operations, or interact with production systems must operate within clearly defined boundaries.
I would approach security through several independent controls:
  • Identity: Use IAM roles and Kubernetes service accounts to assign workload-specific permissions.
  • Secrets: Store credentials and sensitive configuration in AWS Secrets Manager.
  • Network isolation: Apply Kubernetes NetworkPolicies and VPC-level controls.
  • Execution isolation: Run untrusted or potentially risky workloads in isolated sandbox environments.
  • Tool permissions: Apply least-privilege access to every MCP server and tool.
  • Auditability: Record agent actions, tool invocations, and administrative operations.
  • Governance: Introduce approval workflows for sensitive operations.
For example, an infrastructure agent might be allowed to inspect Terraform plans but require human approval before applying changes to production infrastructure.
The goal is not simply to make agents capable of performing actions. It is to make those actions observable, controlled, and accountable.

5. From Architecture to Production

A modular architecture makes it possible to start small and expand incrementally.
A practical implementation strategy could look like this:
Phase 1 – Foundation
Deploy the workspace and core platform services. Establish authentication, networking, and the initial Kubernetes environment.
Phase 2 – AI Integration
Connect the required model providers, including Amazon Bedrock where appropriate.
Phase 3 – Agent Integration
Deploy built-in agents and integrate external agent execution platforms through AG-UI.
Phase 4 – MCP Ecosystem
Introduce MCP servers for internal APIs, infrastructure platforms, monitoring, and engineering tools.
Phase 5 – Secure Execution
Introduce sandbox environments, workload isolation, and granular permissions.
Phase 6 – Production Operations
Implement GitOps, observability, centralized logging, backups, disaster recovery, and automated deployment pipelines.
This phased approach helps organizations avoid introducing unnecessary complexity before the platform has established its core capabilities.

6. The Bigger Picture: AI Agents as Platform Capabilities

The most important idea behind this architecture is the separation between the user experience, agent execution, models, tools, and infrastructure.
These are different responsibilities, and they should not necessarily be owned by the same component.
An organization might change its LLM provider, introduce a new agent framework, replace an MCP server, or migrate its infrastructure without fundamentally changing how users interact with the platform.
This is particularly important for enterprise environments, where flexibility, operational control, and long-term maintainability matter as much as AI capabilities.
Instead of building isolated AI assistants, organizations can establish an internal AI platform that exposes reusable capabilities to different teams.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article