---
updatedAt: 2026-11-13T22:14:08.000Z
agentTools:
  projectIndex: https://docs.getmontecarlo.com/llms.txt
---

# Overview

# Architecture

Monte Carlo is the agent trust platform. It autonomously observes agents and the data that powers them, finds what breaks, and proposes and verifies fixes, so your agents get better with every fix you accept and you can scale trust at the speed of AI.

Monte Carlo operates as a software-as-a-service with options to extend components of the platform into the customer environment for security and compliance requirements.

![](https://files.readme.io/4cd870fd8c8f532c667a9bdba6b061f622b36bd8aa85cb4b7330422912174161-Platform_Architecture_-_Agent_Trust_Platform_hero.svg)

## Integration types

Monte Carlo connects to two types of integrations:

* **Data integrations**: the warehouses, lakes, databases, BI, ETL and other tools that hold and move the data your agents depend on. [Snowflake Cortex](https://docs.getmontecarlo.com/docs/snowflake-intelligence-cortex-agents) and [Databricks](https://docs.getmontecarlo.com/docs/databricks-agent-bricks) agents also belong here: Monte Carlo reads their traces through your existing warehouse connection, so they need no extra deployment.
* **Agent integrations**: [custom agents instrumented with OpenTelemetry](https://docs.getmontecarlo.com/docs/opentelemetry-integration). They send traces to the [Agent Observability Data Platform](https://docs.getmontecarlo.com/docs/ao-platform-overview), which runs in your cloud account, and Monte Carlo queries the traces through a collection agent.

## Components

### Cloud Service

Monte Carlo operates a cloud service to support the user interface, monitoring system, Bayes, dashboards, and notification routing. This term is used interchangeably with the Monte Carlo Platform.

### Data Store

Object storage bucket for a small sample of individual values or data records from the customer environment that are associated with an alert/incident detected by Monte Carlo.

### Collection agent

A collection agent is used as a bridge between the Monte Carlo Cloud Service and customer resources. Not to be confused with the AI agents that Monte Carlo monitors. Collection agents come in two kinds:

* **Cloud-native collection agents** run on a serverless service: AWS Lambda, Azure Functions or GCP Cloud Run. Monte Carlo calls the collection agent.
* **The Generic Agent** runs as a container on any platform that supports Docker, including Kubernetes on any cloud and on-premises infrastructure. It opens every connection itself, outbound to Monte Carlo, so it needs no inbound ports. See [Generic Agent Deployment](https://docs.getmontecarlo.com/docs/generic-agent-platforms).

### Agent Observability Data Platform

A self-hosted pipeline for agent traces: an OpenTelemetry Collector, ClickHouse and an LLM worker on a Kubernetes cluster in your AWS, Azure or GCP account. Your agents send traces to it, and Monte Carlo queries them through a collection agent. See [Agent Observability Data Platform](https://docs.getmontecarlo.com/docs/ao-platform-overview).

# Deployments

## Options Overview

Monte Carlo offers three different deployment models that vary based on where components of the architecture are deployed. Generally, for best-in-class support and minimal-to-no overhead, we recommend either **Cloud** or **Cloud with Customer-hosted Data Store** deployment models for data integrations. Agent integrations currently need a customer-hosted collection agent.

| Deployment                                     | Data integrations                                                                                    | Agent integrations                                                                                                                                                                                                                    |
| :--------------------------------------------- | :--------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Cloud**                                      | Supported                                                                                            | Coming soon: Monte Carlo-hosted Agent Observability Data Platform                                                                                                                                                                     |
| **Hybrid: Customer-hosted Data Store**         | Supported on AWS, Azure and GCP                                                                      | Coming soon: Monte Carlo-hosted Agent Observability Data Platform                                                                                                                                                                     |
| **Hybrid: Customer-hosted Agent & Data Store** | Supported with a cloud-native collection agent (AWS, Azure, GCP) or the Generic Agent (any platform) | Supported with the Agent Observability Data Platform on AWS, Azure and GCP. The collection agent that queries it can be a cloud-native collection agent on any of the three, or the Generic Agent on AWS (Azure and GCP coming soon). |

Data integrations and agent integrations are deployed separately, and you can use a different deployment for each. For example, you can monitor your warehouse from Monte Carlo's cloud and run the Agent Observability Data Platform in your account. See [Combining deployments](#combining-deployments).

### Cloud Deployment

Monte Carlo operates completely as a software-as-a-service (SaaS). A customer-dedicated Object Storage is deployed in Monte Carlo's cloud for any customer data. The Monte Carlo cloud service connects to customer data integrations.

<Image src="https://files.readme.io/fed5bb58f143d614d4064b137b96254c228af2c8d6703fcf7caa0d7b80596c54-Platform_Architecture_v3_-_Cloud.svg" align="center" />

### Hybrid: Cloud with Customer-hosted Data Store Deployment

Monte Carlo operates completely as a software-as-a-service (SaaS), *with the exception of the Data Store being hosted by the customer*. The Monte Carlo cloud service connects to customer data integrations.

This deployment model allows customers to never store record-level data with Monte Carlo while minimizing hosting maintenance and overhead.

Available for AWS, Google Cloud, and Azure.

<Image src="https://files.readme.io/031dc00126a83e1b0e6d143f406f600f6d8be93d71d5c810bbac0c9ac6d12bb1-Platform_Architecture_v3_-_Cloud_with_Data_Store.svg" align="center" />

### Hybrid: Customer-hosted Agent & Data Store Deployment

The Monte Carlo Collection Agent and Data Store are deployed in the customer environment.

This deployment model allows the most control but requires the most maintenance and hosting for customers.

#### Data integrations with a cloud-native collection agent

Available for AWS, Google Cloud, and Azure. Monte Carlo calls the collection agent, and the collection agent connects to your integrations and data store.

<Image src="https://files.readme.io/c368912009eedf3a8e1ccaf7bcdec7eb62c92e783b6dab21e74e8b012b1e01a6-Platform_Architecture_v3_-_Agent_and_Data_Store.svg" align="center" />

#### Data integrations with the Generic Agent

Available on any platform that supports Docker, including Kubernetes on AWS, Azure, GCP, other clouds and on-premises infrastructure. The Generic Agent connects out to the Monte Carlo Agent Service and receives operations over a persistent HTTPS stream. Integration credentials stay in your secret manager. See [Generic Agent Deployment](https://docs.getmontecarlo.com/docs/generic-agent-platforms).

<Image src="https://files.readme.io/c2049039a35cb9c60294a32d08bfaacee7bbc2d93f57c943df4c0641e4bfa99a-Platform_Architecture_v3_-_Generic_Agent.svg" align="center" />

#### Agent integrations with the Agent Observability Data Platform

Available for AWS, Google Cloud, and Azure. Your instrumented agents send traces to the platform's OpenTelemetry Collector, which writes them to ClickHouse. Monte Carlo queries ClickHouse through a collection agent that you deploy in the platform's network: a cloud-native collection agent or, on AWS, the Generic Agent. See [Agent Observability Data Platform](https://docs.getmontecarlo.com/docs/ao-platform-overview).

<Image src="https://files.readme.io/c7bab074d6f2131201600cd4b3c7fc4ed56f261be8ef02c514d3f83edcad4a54-Platform_Architecture_v3_-_Agent_Integrations.svg" align="center" />

## Combining deployments

Data integrations and agent integrations don't need the same deployment. Two common combinations:

**Cloud deployment for data integrations, customer-hosted platform for agent integrations.** Monte Carlo connects to your warehouse from its cloud, while traces stay in the Agent Observability Data Platform in your account.

<Image src="https://files.readme.io/431f1883a0273a53c2a878ab4ed50dc3c3ca3c0ec13c25b62d670160150615cf-Platform_Architecture_v3_-_Combined_Cloud_plus_Agent_Integrations.svg" align="center" />

**Customer-hosted collection agents for both.** One collection agent and data store serve your data integrations. A separate collection agent in the platform's network serves your agent integrations.

<Image src="https://files.readme.io/a5749e383b3329e52799836d32288022b58b126fa7c74a39a68dc3643ce436aa-Platform_Architecture_v3_-_Combined_Collection_Agents_for_Both.svg" align="center" />

You can use more than one deployment in the same account. To see which integrations use which deployment, see [this FAQ](https://docs.getmontecarlo.com/docs/deployment-and-connecting#how-do-i-list-which-integrations-are-using-a-deployment-if-i-have-more-than-one).

## Options Comparison

The following matrix compares what each deployment model means from an infrastructure perspective (i.e., the resources you host), a network perspective (i.e., how to establish reachability between Monte Carlo and an integration), an object storage/data store perspective (i.e., where troubleshooting and temporary data is stored), and a maintenance perspective (e.g., any required upgrades or management).

| Option                                                      | Deployment Type | Infrastructure                                                                                                                                                                                          | Networking\*                                                                                                                                                                                                                                                  | Storage                                                                                                      | Maintenance                                                              |
| :---------------------------------------------------------- | :-------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------- |
| **Cloud**                                                   | Cloud           | None. Monte Carlo hosts everything for you.                                                                                                                                                             | You can connect by allowlisting IP addresses (all clouds), or PrivateLink between Monte Carlo's cloud and your cloud (AWS, Azure only).                                                                                                                       | Troubleshooting data is stored in customer-dedicated object storage in Monte Carlo's cloud.                  | None required.                                                           |
| **Cloud w/ Customer-hosted Data Storage (AWS)**             | Hybrid          | You host an S3 bucket.                                                                                                                                                                                  | Integrations: as for Cloud. Data store: Monte Carlo reaches the bucket through a VPC endpoint, and you can [restrict the bucket to that endpoint](https://docs.getmontecarlo.com/docs/direct-connection-with-an-aws-data-store#can-i-further-constraint-access-to-this-data-store-s3-bucket). | Troubleshooting data is stored in an S3 bucket hosted in customer AWS cloud.                                 | None required.                                                           |
| **Cloud w/ Customer-hosted Data Storage (GCP)**             | Hybrid          | You host a GCS bucket.                                                                                                                                                                                  | You can connect by allowlisting IP addresses (all clouds)                                                                                                                                                                                                     | Troubleshooting data is stored in the GCS bucket hosted in customer GCP cloud.                               | None required.                                                           |
| **Cloud w/ Customer-hosted Data Storage (Azure)**           | Hybrid          | You host an Azure blob storage account and container                                                                                                                                                    | You can connect by allowlisting IP addresses (all clouds) or Private Link.                                                                                                                                                                                    | Troubleshooting data is stored in the Azure blob storage account (container) hosted in customer Azure cloud. | None required.                                                           |
| **Customer-hosted Agent & Data Storage (AWS)**              | Hybrid          | You host a [collection agent](https://docs.getmontecarlo.com/docs/create-and-register-an-aws-agent). This includes a Lambda Function, Storage Bucket, etc.                                                                              | You can connect by deploying the collection agent into your own VPC (or a new VPC) and allowlisting the dedicated IP address, or Peering / PrivateLinking between the collection agent and your resource on AWS.                                              | Troubleshooting data is stored in an S3 bucket hosted in customer AWS cloud.                                 | Upgrades and monitoring are required.                                    |
| **Customer-hosted Agent & Data Storage Deployment (GCP)**   | Hybrid          | You host a [collection agent](https://docs.getmontecarlo.com/docs/create-and-register-a-gcp-agent). This includes a Cloud Run Service, Storage Bucket, etc.                                                                             | You can connect directly or by allowlisting / using VPC service controls between the collection agent and your resource in GCP.                                                                                                                               | Troubleshooting data is stored in the GCS bucket hosted in customer GCP cloud.                               | Upgrades and monitoring are required.                                    |
| **Customer-hosted Agent & Data Storage Deployment (Azure)** | Hybrid          | You host a [collection agent](https://docs.getmontecarlo.com/docs/create-and-register-an-azure-agent). This includes a Function, Storage Account + Container, etc.                                                                      | You can connect directly or by allowlisting, using VNet outbound traffic configuration (e.g., PrivateLink) between the collection agent and your resource in Azure.                                                                                           | Troubleshooting data is stored in the Azure storage account and container hosted in customer Azure cloud.    | Upgrades and monitoring are required.                                    |
| **Customer-hosted Agent & Data Store (Generic)**            | Hybrid          | You host the [Generic Agent](https://docs.getmontecarlo.com/docs/generic-agent-platforms) container on Kubernetes or Docker, plus object storage and a secret manager. Requires an Enterprise plan with the Advanced Networking add-on. | Outbound only: the agent connects to Monte Carlo over HTTPS, so no inbound ports are opened. Optionally over [AWS PrivateLink](https://docs.getmontecarlo.com/docs/agent-service-aws-private-link) or [Azure Private Link](https://docs.getmontecarlo.com/docs/agent-service-azure-private-link).                             | Troubleshooting data is stored in S3, GCS, Azure Blob Storage or S3-compatible storage that you host.        | Upgrades and monitoring are required. Remote upgrades are not supported. |
| **Agent Observability Data Platform (AWS, Azure, GCP)**     | Hybrid          | You host the [platform](https://docs.getmontecarlo.com/docs/ao-platform-overview) on EKS, AKS or GKE, deployed with Terraform, plus the collection agent that queries it.                                                               | The platform's endpoints are internal only. Your AI agents send traces to them from your network, and Monte Carlo queries ClickHouse through the collection agent, which runs in the platform's network.                                                      | Traces are stored in ClickHouse in your account.                                                             | Upgrades (Terraform module and Helm chart) and monitoring are required.  |

\*Networking in this table refers to the connectivity between the Monte Carlo Platform and your integration, or the collection agent and your integration. You can learn more about connectivity and support [here](https://docs.getmontecarlo.com/docs/networking).

***

Note that Metadata, Metrics, Query logs, and Aggregated / anonymized statistics are always stored in Monte Carlo's Cloud. Troubleshooting data refers to a small sample of individual values or data records to make it easier for you to investigate, root cause, and resolve an incident or data issue. You can always opt out of storing any troubleshooting data, per integration, regardless of the option you select. See [security docs](https://docs.getmontecarlo.com/docs/security) and [data sampling docs](https://docs.getmontecarlo.com/docs/data-sampling) for more information.

## Enterprise connectivity

All deployments work over the public internet with TLS. If your security requirements call for private connectivity, these options are available:

| Option                                       | Applies to                                                         | Guide                                                                                                                           |
| :------------------------------------------- | :----------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ |
| **IP allowlisting**                          | Cloud and hybrid deployments, all clouds                           | [Network Connectivity](https://docs.getmontecarlo.com/docs/networking)                                                                                          |
| **AWS PrivateLink**                          | Cloud deployments, AWS data stores and collection agents           | [AWS PrivateLink](https://docs.getmontecarlo.com/docs/aws-private-link). AWS data stores and collection agents use VPC endpoints by default on the V2 platform. |
| **Azure Private Link**                       | Cloud deployments, Azure data stores and collection agents         | [Azure Private Link](https://docs.getmontecarlo.com/docs/azure-private-link)                                                                                    |
| **Agent Service PrivateLink / Private Link** | Generic Agent on AWS or Azure                                      | [AWS](https://docs.getmontecarlo.com/docs/agent-service-aws-private-link), [Azure](https://docs.getmontecarlo.com/docs/agent-service-azure-private-link)                                        |
| **On-premises private connectivity**         | Generic Agent on-premises, bridged through your cloud connectivity | [On-Premises Private Connectivity](https://docs.getmontecarlo.com/docs/on-prem-private-connectivity)                                                            |
| **Proxies and traffic inspection**           | Generic Agent behind an egress proxy or TLS inspection             | [Proxies and Traffic Inspection](https://docs.getmontecarlo.com/docs/proxies-and-traffic-inspection)                                                            |