Lorde Builds Useful things in motion

AI workflows

How to build AI agents for repeatable workflows

Give each AI agent one job, define what it must return, and route the result to the right person or agent for the next decision.

To build AI agents for repeatable workflows, begin with one job that has a clear finish line. A general AI conversation can research a problem, choose an approach, produce a result, and check its own work, but the boundaries become difficult to see as the conversation grows.

Start the AI agent workflow with the repeated job that causes the most confusion. Do not create a team because five roles sound impressive. Create one specialized AI agent when the same work needs the same inputs, checks, and output more than once.

Write the role before writing the prompt

Define six parts for every specialist:

  1. Responsibility: the single kind of work the agent owns.
  2. Use it when: the conditions that should route work to this role.
  3. Not responsible for: decisions and actions that belong elsewhere.
  4. Required inputs: the material and constraints needed to begin.
  5. Output: the exact artifact or answer the next role receives.
  6. Stop condition: the evidence that the assigned work is complete.

These fields matter more than a long personality description. They tell the agent what to do, prevent it from absorbing adjacent jobs, and give the next role something predictable to check.

Use roles that produce different kinds of evidence

01Research
02Ideation
03Builder
04Testing
05Orchestrator

The Research Agent gathers evidence and keeps confirmed facts separate from best guesses, limits, and missing information. The Ideation Agent creates options and removes repeats. The Builder turns an approved request into a result. The Testing Agent compares that result with the request. The Orchestrator routes work and decides what happens after each return.

The separation only works when one role does not quietly make the next role’s decision. A researcher can compare evidence but should not choose the product direction. A builder can report a constraint but should not rewrite the approved goal to make implementation easier.

Make the handoff small and explicit

A handoff should contain the result, the evidence behind it, the limits that remain, and the next decision. It should not require the next agent to reread the entire conversation.

A practical handoff

Return the completed artifact, the checks performed, unresolved risks, and the exact question the next role must answer.

Research work benefits from visible evidence labels. Mark a sourced statement as confirmed. Mark an interpretation as a best guess. State what was not found. Name the limit that weakens a claim. This lets the next role decide without mistaking confidence for proof.

Give testing a different job from building

A Builder should verify the checks required to produce its result. A separate Testing Agent checks whether the result matches the original request, including the parts the Builder may have misunderstood. The second role is valuable because it approaches the work with a different responsibility.

Write the acceptance criteria before the build starts. The Testing Agent can then report which requirements passed, which failed, and which lack enough evidence. It should not replace a missing requirement with an easier check.

Add an orchestrator when the route becomes repeatable

The Orchestrator does not perform every specialist’s work. It selects the next role, checks that the return matches the handoff contract, and stops when the overall finish line is reached. Add this role when a workflow regularly crosses several specialists and the routing decisions have become clear enough to write down.

Keep the team small. A reusable Research Agent and Testing Agent may solve the immediate problem. Add Ideation, Builder, or Orchestrator roles only when their separate outputs make the work easier to direct and verify.