TurfAITurfAI User Guide
Concepts

Workflows vs. agents vs. squads

Choosing the right unit of automation for the job.

TurfAI offers three units of automation. They are not competing — they nest. A squad is a team of agents; an agent can be one node inside a workflow. Choosing well is mostly about how much judgement the step needs and how predictable you want it.

The decision

How they compare

WorkflowAgentSquad
UnitGraph of typed nodesOne goal + toolsTeam of agents + tasks
ControlYou define every edgeAgent decides each stepManager or pipeline orders the agents
Best forPredictable, auditable pipelinesOne open-ended job (extract, answer, draft)Complex jobs needing multiple specialists
DeterminismHighMediumLower (more moving parts)
Shared state{{variables}} between nodesConversation/session memoryBlackboard (shared whiteboard)
Example"Upload → classify → route → email""Answer questions about company policy""Settle a claim: evidence → coverage → valuation → offer → compliance"

How a squad coordinates

A squad follows a well-known multi-agent pattern — an orchestrator decomposes the goal, delegates sub-tasks to specialist workers, and synthesizes their results:

A central orchestrator LLM delegating subtasks to worker LLMs and synthesizing their results

Orchestrator–workers — a hierarchical squad's manager agent, or a sequential pipeline you draw yourself.

Source: Anthropic

Pattern framing adapted from Anthropic's "Building effective agents".

A squad runs its members sequentially (tasks execute in dependency order) or hierarchically (a manager agent delegates work using a delegate tool). Either way they share a blackboard — each task writes its result to an output_key that downstream tasks can read, with every write logged to an audit trail.

Rules of thumb

  • Start with a workflow. If the steps are knowable, wire them — it is the most auditable.
  • Reach for an agent when a single step is open-ended: "figure out X", "answer Y", "draft Z". Drop the agent in as one node in the workflow.
  • Reach for a squad only when no single agent can hold the whole job — when you'd otherwise give one agent five unrelated responsibilities. Split them into specialists.

See the modules for each: Visual Workflow Builder, Agents, Squads.

On this page