---
title: "How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline"
description: "Grab rebuilt Scarlet, an AI agent that converts Slack messages into production data pipelines, to overcome four limits of the original version: single-team scope, no data validation, shared permissions, and Slack-only input. The new architecture uses a skill library of Markdown documents—one per capability or team—loaded only when needed, shrinking the core prompt by about 25 times and allowing teams to review skills like code. Scarlet now tests the data its changes produce, runs under the requester’s own permissions, and accepts requests from Jira tickets and other agents, while the merge decision stays with a person. Since production deployment in May 2026, repositories with a Scarlet MR grew fourfold, weekly usage roughly tripled, and the merge rate climbed from about 50% to over 85%. The agent posts a live plan card before acting, waits for approval on write operations, and every reply links to a full trace for review."
---

# How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline

[Grab](https://yomu.fyi/company/grab) · Ayan Chatterjee · Nov 3, 2026

**Type:** Problem & solution

## Summary

Grab rebuilt Scarlet, an AI agent that converts Slack messages into production data pipelines, to overcome four limits of the original version: single-team scope, no data validation, shared permissions, and Slack-only input. The new architecture uses a skill library of Markdown documents—one per capability or team—loaded only when needed, shrinking the core prompt by about 25 times and allowing teams to review skills like code. Scarlet now tests the data its changes produce, runs under the requester’s own permissions, and accepts requests from Jira tickets and other agents, while the merge decision stays with a person. Since production deployment in May 2026, repositories with a Scarlet MR grew fourfold, weekly usage roughly tripled, and the merge rate climbed from about 50% to over 85%. The agent posts a live plan card before acting, waits for approval on write operations, and every reply links to a full trace for review.

## Context

The original Scarlet was limited to one team, lacked data validation, used shared access, and only worked via Slack. The rebuild aimed to make it multi-team, validate data, enforce user permissions, and accept requests from multiple channels.

## Approach / What changed

Rebuilt Scarlet around a short core prompt and a skill library of Markdown documents, one per capability or team, loaded only when needed. Added data validation checks (schema, row counts, null rates, row-level differences) that run during CI, user permission enforcement via short-lived tokens for data platform operations, and support for requests from Jira tickets and other agents. Skills go through code review and are published as immutable bundles, with the version written into the prompt.

## Takeaways

- The skill library allows new teams to join by adding one repository skill, and skills are reviewed like code through MRs and published as immutable bundles.
- Scarlet tests data changes with schema, row count, null rate, and row-level checks, posting a verdict before human review, which increased merge rate from ~50% to >85%.
- Weekly usage roughly tripled and repositories with a Scarlet MR grew fourfold from May to September 2026, with the top user’s share of requests falling from nearly half to under 10%.

## FAQ

### How does Scarlet handle user permissions?

Scarlet runs data platform operations under the requesting user's permissions via a short-lived token from their sign-in, so it can only do what the user can do. Source control operations run as the Scarlet bot to make machine-authored MRs easy to spot.

### What checks does Scarlet perform on data changes?

It checks schema and type differences, row counts, duplicates, null rates, column profiles, numeric statistics, and row-level differences between the candidate output and the current production table. The kind of change sets mandatory checks, and requesters can add their own scenarios.

### How does the skill library work?

Skills are Markdown documents defining capabilities or team conventions, loaded only when needed. They go through code review and are published as immutable bundles, with the version written into the prompt so every answer traces back to the exact instructions that produced it.

**Tags:** [Agentic AI](https://yomu.fyi/topic/agentic-ai), [AI](https://yomu.fyi/topic/ai), [Data Engineering](https://yomu.fyi/topic/data-engineering), [Slack](https://yomu.fyi/topic/slack)

- Source: [Grab](https://engineering.grab.com/how-grab-built-scarlet-blog-draft)
- Source URL: https://engineering.grab.com/how-grab-built-scarlet-blog-draft
- Ingested by Yomu: 2026-11-23T09:00:15.404Z

[Read original post](https://engineering.grab.com/how-grab-built-scarlet-blog-draft)
