ArchDeck · 115 cards

← All families
Open full library ↗
← Back to family

AP0 · AI Patterns

Choosing AI Patterns

What task needs doing?

Overview

Start with a task: extract fields, answer a question, investigate a case, or prepare an action. Choose a flow that fits the work, then use the foundation cards to examine its parts.

When to use

A team knows the task but debates the architecture. Several designs could do the work.

Quick assessment

  • Can one checked response finish the task?
  • Must new evidence change the next step?
  • Who accepts the result or authorizes the action?

In practice

START WITH THE TASK

Choose a flow for the work; combine it where useful.

Make it work

Describe one task and its expected result. Start with a single call, then add only the steps the work needs.

The trade-off

Simple flows have limits. More steps can handle harder tasks, but each adds cost and something to test.

What is the simplest flow that completes this task?

Key patterns

TaskStart with
Turn supplied text into checked fieldsExtract and Validate
Answer from maintained documentsRetrieve and Answer
Follow evidence across systemsInvestigate with Tools (ReAct loop)
Join independent investigationsCoordinate Specialists
Explore within known process stagesAgentic Workflow
Obtain approval before changing somethingPropose, Review, Execute

Start with one model call when the evidence is already available. Add retrieval when evidence must be found, or an agent when observations must change the next action. These are choices to combine, not levels to climb.

Example: a claims workflow can extract fields, retrieve policy evidence, and ask an agent to investigate a discrepancy. A reviewer approves settlement. Each pattern has a distinct job.

Counter-patterns

  • Choosing an agent before describing the task
  • Treating more agents as greater maturity
  • Copying a flow without its assumptions

Reality check

Every additional step adds work to operate and test. What is the simplest flow that completes this task?

Sources

Explore the full library and printable cards