Internal Agents Map

Roast

Roast is the workflow orchestration framework Shopify's Augmented Engineering Developer Experience team extracted from its internal AI tools and open-sourced; Shopify runs Roast workflows internally to interleave AI steps with deterministic code.

Company
Shopify
Approach type
Platform
Interfaces
Cli
Deployment stage
Deployed
Evidence strength
Detailed primary
Entry reviewed
Copy as MDAsk ChatGPT

Capabilities and architecture

Model
An OpenAI API key is a prerequisite, or OpenRouter for other models; the Raix library abstracts AI providers and adds retry, caching and structured output; the built-in CodingAgent tool is powered by Claude Code.[Source 1]The post names the API-key prerequisite, the Raix abstraction and Claude Code behind the CodingAgent; it names no model for a plain AI step.Observation date: 2025-06
Harness
As released in 2025: a Ruby command-line framework that reads a workflow.yml file and matching markdown prompt files, interprets each step from its structure, and can be used with any programming language.[Source 1]The claim describes the 2025 release; the repository captured in 2026 documents a Ruby DSL of cogs instead.Observation date: 2025-06
Sandbox
Not reportedThe reviewed sources document WriteFile security restrictions and configurable Cmd restrictions, not an execution or isolation boundary.
Tool access
Built-in ReadFile, WriteFile, UpdateFiles, Grep, SearchFile, Cmd, Bash and CodingAgent tools; WriteFile carries security restrictions and Cmd carries configurable restrictions.[Source 1]
Knowledge
Markdown prompt files use ERB templating to read the workflow context; complex logic goes in custom Ruby step classes that inherit from BaseStep.[Source 1]
Context management
Steps in a workflow share their conversation transcript, so a later step references earlier discoveries without extra configuration; every execution is saved so a run can resume from any step.[Source 1]
Credentials
An OpenAI or OpenRouter API key is required; Raix initializers in the .roast/initializers directory can add custom authentication schemes.[Source 1]The post names the provider API key and custom authentication schemes through Raix initializers; it names no employee sign-in or secret store.
Interfaces

The post names a command line tool distributed as a Ruby gem; the Slack channels the SRE workflow reads are a data source, not an invocation interface.

Mechanisms

Declarative workflow definition

A workflow.yml file and matching prompt.md files define the steps, and Roast interprets each step from its structure.[Source 1]

Mixed deterministic and AI steps

Directory prompts, shell commands wrapped in $(), inline prompts, custom Ruby step classes and nested-array parallel steps run in one workflow.[Source 1]

Advanced control flow

Workflows iterate over collections, execute steps conditionally and branch with case statements.[Source 1]

Built-in tool set

ReadFile, WriteFile, UpdateFiles, Grep, SearchFile, Cmd and Bash are supplied out of the box.[Source 1]

CodingAgent step

A Claude Code integration runs as a step and iterates within the guardrails and objectives the workflow author sets.[Source 1]

Shared transcript

Steps share their conversation transcript so later steps build on the context earlier steps produced.[Source 1]

Session replay

Roast saves every workflow execution so development resumes from any step instead of rerunning expensive AI operations.[Source 1]

Documented uses

Boba workflow: untyped Ruby test file → deterministic cleanup and Sorbet autocorrect → coding-agent iteration until tests and type checking pass.

Clean up the test file

Deterministic sed steps clean up the code before any AI step runs.[Source 1]

Bump the file to strict typing

The workflow raises the test file to strict Sorbet typing.[Source 1]

Run Sorbet autocorrect

Sorbet's autocorrect resolves the type errors it can fix on its own.[Source 1]

Hand remaining issues to the coding agent

The CodingAgent iteratively fixes the type errors the deterministic steps left behind.[Source 1]

Access and controls

See documented credential and access boundaries in the architecture above. Scoped human-review assessments for individual uses remain in research details.

Reliability and validation

Confirm the file passes

The workflow runs the tests and ensures that both the tests and type checking pass.[Source 1]

Adoption and operating evidence

These results come from the sources. Notes below each result explain what it covers and any reported limits.

Key observation

Shopify engineers analyzed thousands of test files with Roast, identifying and fixing common antipatterns and increasing test coverage; the post reports no count, period or baseline.[Source 1]

Reported by
Shopify
Scope
Test files analyzed with Roast workflows inside Shopify

The source does not report the denominator of this figure.

Observed in June 2025

About this result
Category
Implementation scale
Evidence type
Estimate
What it covers
Test files analyzed with Roast workflows inside Shopify
Key observation

A dozen engineers had contributed features and workflows to the public Roast repository by publication.[Source 1]

Reported by
Shopify
Scope
Engineers who had contributed features and workflows to the public Roast repository as of publication

The source does not report the denominator of this figure.

Observed in June 2025

About this result
Category
Adoption output
Evidence type
Estimate
What it covers
Engineers who had contributed features and workflows to the public Roast repository

Lessons

Reported opinion: Shopify says AI agents need help staying on track and work much better when a complicated prompt is broken into discrete steps; letting AI roam free around millions of lines of code did not work well for its unit-test work.[Source 1]

For type annotation, Shopify runs deterministic cleanup and Sorbet autocorrect first and hands only the remaining issues to the coding agent.[Source 1]

Reported opinion: Shopify says saving every workflow execution and resuming from any step speeds up workflow development because expensive AI operations are not rerun.[Source 1]

Reported opinion: Shopify describes using an AI step as a placeholder for a part of a workflow the author does not yet understand, then replacing it with deterministic code once the problem is clearer.[Source 1]

Back to infrastructure
Improve this record

Give your coding agent the context and instructions to prepare a source-backed update.

Paste the prompt into your coding agent, then describe the correction or add a public source.

Preview prompt

Sources and research details

Citations link to the original publisher. Each source also keeps a preserved copy in the repository, so a changed or removed page stays checkable.

  1. Introducing Roast: Structured AI workflows made easyhttps://shopify.engineering/introducing-roastEngineering blog · First party · Last source verification: 2026-09-21
  2. Shopify/roast: Structured AI workflows made easyhttps://github.com/Shopify/roastRepository · First party · Last source verification: 2026-09-21
Question coverage and scope
purpose
Reported
workflow
Reported: The post breaks out one internal workflow step by step, the Boba type-annotation workflow; the other internal uses it names are described only by purpose.
human involvement
Not applicable: Roast is a framework, so no single review boundary covers its workflows; the scoped Boba operating-model claim stays in research details and its boundary is unknown.
implementation
Reported
validation
Reported
observations
Reported
lessons
Reported
Research details for every claim on this page
  1. Summary
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  2. Harness
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Medium
    Confidence reason
    The 2025 post describes the YAML-and-markdown design in detail; the repository captured in 2026 documents a Ruby DSL instead, so the claim is scoped to the release the post describes.
    Observation date
    2025-06
  3. Model
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Medium
    Confidence reason
    The post names the API-key prerequisite, Raix, and Claude Code behind the CodingAgent, but never names the model a plain AI step uses; the repository captured in 2026 lists a different provider set.
    Observation date
    2025-06
  4. Tool access
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  5. Knowledge
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  6. Credentials
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  7. Context management
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  8. Interfaces
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  9. Clean up the test file
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  10. Bump the file to strict typing
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  11. Run Sorbet autocorrect
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  12. Hand remaining issues to the coding agent
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  13. Confirm the file passes
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  14. Declarative workflow definition
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  15. Mixed deterministic and AI steps
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  16. Advanced control flow
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  17. Built-in tool set
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  18. CodingAgent step
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  19. Shared transcript
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  20. Session replay
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Not assessed
    Confidence reason
    No explicit confidence assessment is recorded for this claim.
  21. Key observation
    Statement type
    Metric
    Provenance
    Reported
    Confidence
    Low
    Confidence reason
    Shopify reported an approximate scale in its own engineering blog with no count, measurement window, coverage baseline or method.
    Reported by
    Shopify
    Scope
    Test files analyzed with Roast workflows inside Shopify
    Denominator
    Not reported
    Method
    Not reported
    Observation date
    2025-06
  22. Key observation
    Statement type
    Metric
    Provenance
    Reported
    Confidence
    Low
    Confidence reason
    Shopify reported an approximate contributor count for its public repository without a period, and without saying whether the contributors are Shopify employees or outside developers.
    Reported by
    Shopify
    Scope
    Engineers who had contributed features and workflows to the public Roast repository as of publication
    Denominator
    Not reported
    Method
    Not reported
    Observation date
    2025-06
  23. Lesson
    Statement type
    Opinion
    Provenance
    Reported
    Confidence
    Medium
    Confidence reason
    The opening section states this as what the team learned while building AI workflows for unit-test grading; it is Shopify's account of its own experience, with no measurement behind it.
  24. Lesson
    Statement type
    Fact
    Provenance
    Reported
    Confidence
    Medium
    Confidence reason
    The CodingAgent section and the internal-impact section both describe this step order for Boba; the post does not compare it against an all-agent alternative, so it stays a description of Shopify's own workflow.
  25. Lesson
    Statement type
    Opinion
    Provenance
    Reported
    Confidence
    Medium
    Confidence reason
    The session-replay section asserts the speed-up for workflow authors; the post reports no development-time measurement.
  26. Lesson
    Statement type
    Opinion
    Provenance
    Reported
    Confidence
    Low
    Confidence reason
    The closing section presents this as the post author's reading of a quoted Shopify engineer; the Steel capture preserves the author's paragraph but drops the quotation it interprets, so the engineer's own wording was not reviewed from the capture.
  27. Operating model assessment

    Unclassified for Boba workflow: untyped Ruby test file → deterministic cleanup and Sorbet autocorrect → coding-agent iteration until tests and type checking pass; human attention boundary: unknown.

    Statement type
    Inference
    Provenance
    Catalog judgment
    Confidence
    Unverified
    Confidence reason
    The post follows the Boba workflow to a file where tests and type checking pass and says the team pursued unit-test work with minimal human intervention, but it names no point at which a person reviews the result.
    Observation date
    2025-06