---
title: "Introducing Roast: Structured AI workflows made easy"
description: "Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows."
url: "https://swe.quest/articles/introducing-roast-structured-ai-workflows-made-easy-0fdb158278ceca92"
canonical: "https://shopify.engineering/introducing-roast"
source: "Shopify Engineering"
published: "2025-06-18"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 9
tags: ["ai-agents","ai-coding","developer-tools","ruby","testing"]
---

# Introducing Roast: Structured AI workflows made easy

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2025-06-18, 9 min read, Announcement. Original: [https://shopify.engineering/introducing-roast](https://shopify.engineering/introducing-roast)

## Summary

Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows. It interleaves non-deterministic LLM steps with deterministic code through YAML workflow definitions and markdown/ERB prompts. Workflows can mix directory prompt steps, shell commands, inline prompts, custom Ruby steps, parallel steps, iteration and conditionals. Steps share conversation context, and session replay lets authors resume from any step without re-running expensive AI calls. A Claude Code-powered CodingAgent handles iterative tasks such as fixing Sorbet type errors after deterministic cleanup. The core lesson is that breaking agent tasks into discrete, guarded steps makes AI reliable enough for jobs like grading tests at scale.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Ruby](https://swe.quest/tags/ruby.md) (Languages)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- YAML configuration ([easy posts on Configuration management](https://swe.quest/tags/configuration.md?difficulty=easy))

## Keywords

Roast, Claude Code, Raix, Sorbet, Shopify, ERB

## Related posts

- [Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev](https://swe.quest/articles/beyond-the-hype-how-to-use-ai-to-actually-increase-your-productivity-as-a-dev-6c25eb43524a25ba.md): Docker · 2025-11-21 · Medium · 14 min read · AI for coding, AI agents, Developer productivity, LLMs
  Effective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining.
- [Open SWE: An Open-Source Framework for Internal Coding Agents](https://swe.quest/articles/open-swe-an-open-source-framework-for-internal-coding-agents-1b0f7521a5a00040.md): LangChain · 2026-10-13 · Medium · 8 min read · AI agents, AI for coding, Open source, Sandboxing & isolation
  Open SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph.
- [Reusable Prompts: The Future of Starter Templates](https://swe.quest/articles/reusable-prompts-the-future-of-starter-templates-17f509f51c905431.md): Neon · 2026-01-08 · Medium · 11 min read · AI for coding, AI agents, Developer productivity
  Starter templates can be complemented by reusable, atomic setup "recipes": Markdown prompts that AI coding agents apply to existing codebases, modeled on shadcn/ui's copy-the-code philosophy.
- [Introducing smolagents: simple agents that write actions in code.](https://swe.quest/articles/introducing-smolagents-simple-agents-that-write-actions-in-code-081cf3257f37300e.md): Hugging Face · 2024-12-31 · Medium · 11 min read · AI agents, LLMs, Python, Open source
  smolagents is a minimal Python library from Hugging Face for building LLM agents, with first-class support for code agents that write their actions as Python code instead of JSON tool calls.
- [Design Decisions Behind app.build, a Prompt-to-App Generator](https://swe.quest/articles/design-decisions-behind-app-build-a-prompt-to-app-generator-23d698ec51fdb1d1.md): Neon · 2025-06-26 · Medium · 12 min read · AI agents, AI for coding, LLMs, Testing, System design
  app.build is an open-source prompt-to-app generator that trades breadth for reliability by restricting output to CRUD web apps on a fixed TypeScript/Postgres stack.

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)
