AirOps Academy
Workflow Architecture
This is some text inside of a div block.

Step 4: Compose, then decompose

This lesson covers cases where it makes sense to compose multiple components in a single LLM step before breaking them down. Previously, the focus was on decomposing first. However, when components share significant context, composing first ensures efficient use of that shared information.

Example: Landing page components
When creating a landing page, each component—such as an H1 header, a subtitle, and CTA text—may need to be separated in the CMS. Since these elements share the same context, generating them all together in one LLM step produces more coherent output.

Key question: one LLM step or multiple?

Determine the number of LLM steps based on how much context is shared and how beneficial that context is:

  • Large amounts of reusable data or context favor a single LLM step
  • Subsequent tasks that follow a common train of thought can remain in the same step

Example: SERP research

Tasks that follow a similar analysis can be grouped in one LLM step, such as:

  • title
  • meta description
  • outline
  • slug

When mapping data reveals multiple components sharing context, using the same LLM step is the optimal approach.

There are cases where composing multiple components at the same time and then decomposing generates better quality output.

Search

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
No results found