Skip to content

Thinking like an architect: cheatsheet

PartRoleWatch for
ModelReads, reasons, writesCapable and fallible at once
ToolsFunctions the model can callEach one widens what can go wrong
LoopAct, observe, decide againNeeds a reason to stop
Context windowEverything the model knows right nowFinite; attention is a budget

Spine of the track: architecture is deciding where judgment lives.

WorkflowAgent
PathPredefined code pathsChooses its own route
StrengthRepeatable, debuggable, cheapFlexible on open-ended work
WeaknessRigidHarder to predict, test, afford
Use whenSteps hold for almost every caseSteps depend on what the work uncovers

Default: the simplest arrangement that fits. Escalate to an agent only when the path cannot be known in advance.

Trade-offQuestionRule of thumb
Decide vs enforceModel judgment or code guarantee?Must-hold rules go in structure, not prompts
One vs manySingle agent or a team?Start with one; split when the work splits
Carry vs fetchIn context or retrieved on demand?Curate the desk; do not pile it
AskBecause
Does this need an agent at all?Most tasks have a predictable path
Which rules must hold every time?Those cannot live only in a prompt
Where are the seams?Every agent boundary can lose context
What earns a place in context?Everything on the desk competes for attention
What happens when a step fails?Products are judged on their worst day
PitfallCorrection
Agent because agents impressFit over sophistication
Guarantees in the promptStructure enforces; prompts request
More context = more knowledgeAttention is a budget; curate
Team as the advanced optionEvery seam must justify itself
LineMeaning
An instruction is a request; code is a guaranteeSort rules into should-usually vs must-hold
A demo exercises the model; a product exercises the architectureDemo success predicts little
”This does not need an agent”The most senior sentence in the field