---
title: "Tangle: An open-source ML experimentation platform built at Shopify scale"
description: "Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally."
url: "https://swe.quest/articles/tangle-an-open-source-ml-experimentation-platform-built-at-shopify-scale-07b63a998f39f803"
canonical: "https://shopify.engineering/tangle"
source: "Shopify Engineering"
published: "2025-12-05"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 11
tags: ["ml-platform","caching","data-pipelines","open-source","multi-tenancy"]
---

# Tangle: An open-source ML experimentation platform built at Shopify scale

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2025-12-05, 11 min read, Announcement. Original: [https://shopify.engineering/tangle](https://shopify.engineering/tangle)

## Summary

Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally. Its central design choice is content-based caching. Downstream tasks are reused whenever upstream output hashes are unchanged, and cached results are shared globally across users, including executions that are still running. Shopify reports that a 10-hour pipeline can finish in 20 minutes when only one component changes, and that the platform has saved over a year of compute. Other design choices include file-path data passing abstracted over GCS/S3, optional unenforced types, and a multi-tenant HuggingFace deployment that uses per-tenant SQLite databases.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)

## Prerequisites

- ML pipelines ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))
- Docker containers ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- DAG workflow orchestration

## Keywords

Tangle, Shopify, HuggingFace Spaces, HuggingFace Jobs, Cloud Pipeline Studio, SQLite, YAML

## Related posts

- [Introducing Trackio: A Lightweight Experiment Tracking Library from Hugging Face](https://swe.quest/articles/introducing-trackio-a-lightweight-experiment-tracking-library-from-hugging-face-7dee3b3ee964ad19.md): Hugging Face · 2025-07-29 · Medium · 7 min read · ML platforms, Observability, Python, Open source
  Trackio is a free, open-source Python experiment tracking library that works as a drop-in replacement for wandb's init/log/finish API.
- [Zalando's Machine Learning Platform](https://swe.quest/articles/zalando-s-machine-learning-platform-ccf6f0b2dc8025a9.md): Zalando Engineering · 2022-04-18 · Medium · 8 min read · ML platforms, Cloud platforms, Infrastructure as code, Python
  Zalando's ML platform takes ideas from experimentation in a hosted JupyterHub (Datalab), Databricks and a GPU HPC cluster to production pipelines orchestrated by AWS Step Functions.
- [How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline](https://swe.quest/articles/how-grab-built-scarlet-the-ai-teammate-that-turns-a-slack-message-into-a-cb0afbb754a543cf.md): Grab Engineering · 2026-11-23 · Medium · 12 min read · AI agents, Data pipelines, Testing, Identity & auth, LLMs
  Grab's ADW team rebuilt Scarlet, its Slack-based data-pipeline agent, around a short core prompt plus a versioned library of Markdown skills (platform, routing, repository, workflow) loaded on demand, shrinking the prompt about 25x and letting new teams onboard by adding one reviewed repository skill.
- [The Magic of Merlin: Shopify's New Machine Learning Platform](https://swe.quest/articles/the-magic-of-merlin-shopify-s-new-machine-learning-platform-f17a810670837d2b.md): Shopify Engineering · 2022-04-06 · Medium · 13 min read · ML platforms, Kubernetes, Model training, Python
  Merlin is Shopify's redesigned ML platform built on open source tools.
- [Training Orchestrator: Unifying Model Training at Yelp](https://swe.quest/articles/training-orchestrator-unifying-model-training-at-yelp-28e0641de090c84f.md): Yelp Engineering · 2026-07-14 · Medium · 12 min read · ML platforms, Model training, Python, Testing
  Yelp's Training Orchestrator replaces per-team monolithic Spark training scripts with a declarative, configuration-driven framework.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
