Docs
Platform
Architecture

Architecture

Braintrust allows you to log raw data while you run your AI applications, including inputs, outputs, and prompts. Because of the sensitivity of this data, we support running the logging stack in your AWS account, ensuring that data never leaves your account, and never flows through Braintrust’s infrastructure.

At its core, the deployment works by installing a few AWS Lambda functions in your account, in a VPC (via a CloudFormation template), and connecting that VPC to a Postgres database or data warehouse.

When you log from Braintrust's Typescript or Python library, it sends the events directly to a lambda function, never touching Braintrust's servers. And when you visit the UI (on https://www.braintrustdata.com/app), your browser runs requests against the lambda function directly.