// ai platform · mastra + bedrock · 2024 → 2026
AI where it earns its keep
I helped introduce AI into the product: an agent service built with , running models through in its own isolated AWS account, with an that runs in CI.
How AI reaches the product
product
features that call AI
in the core platform
isolated AWS account
AI agent service
Mastra agents & workflows
TypeScript, like the rest of the platform
models
Amazon Bedrock
inside the same cloud as everything else
- every change:
- PR to the AI service
- eval suite in CI
- ships only if it passes
# in practice
- AI features are built as agents and workflows in TypeScript, so any engineer on the team can work on them.
- The AI service has its own account, with its own permissions and its own bill, separate from the core platform.
- Changes to the AI service are checked by its eval suite in CI before they reach customers.