An agentic system is any system where an LLM controls part of the workflow — calling tools, making decisions, or directing other LLMs. The term “agent” gets used loosely, but there is a practical distinction that matters for system design:

  • Workflows are systems where LLMs and tools are orchestrated through predefined code paths. The developer controls the sequence; the LLM handles individual steps.
  • Agents are systems where the LLM dynamically directs its own process and tool usage, deciding what to do next based on results so far.

Most production systems that people call “agents” are actually workflows — and that is the right choice. The most effective agentic systems use the simplest pattern that solves the problem. Start with a single LLM call with good prompting and retrieval. Add workflow orchestration when that falls short. Reach for autonomous agents only when the task is genuinely open-ended and unpredictable.

An agent is where the four steering disciplines of the engineering ladder come together: precise instructions (Prompt Engineering), a curated window (Context Engineering), a capability surface (Harness EngineeringTools and MCP), and a controlled runtime (Loop Engineering — the Agent Loop and multi-agent topologies). This note covers the integration: when to assemble those pieces into a workflow versus an autonomous agent, and which orchestration pattern fits. Measuring the result is Agent Evaluation.

The Augmented LLM

The building block of every agentic system is an LLM enhanced with retrieval, Tools, and memory. The model generates its own search queries, selects appropriate tools, and decides what information to retain. Before building multi-step systems, invest in making this single building block work well — choose the right model, tune the prompts, and ensure tools have clear, well-documented interfaces.

Model Context Protocol (MCP) standardizes how an augmented LLM connects to external tools and data sources.

Workflow Patterns

When one augmented LLM is not enough but full autonomy is overkill, five reusable workflow patterns cover the middle ground — prompt chaining, routing, parallelization, orchestrator-workers, and evaluator-optimizer. They form a progression of increasing complexity; start with the simplest that solves the problem. Orchestrator-workers, where the subtasks are decided at runtime, is the dominant pattern for complex coding and research and the bridge into Multi-Agentic Systems.

See Workflow Patterns for the full catalog — each pattern with its diagram and when-to-use guidance.

Autonomous Agents

When the task is genuinely open-ended — you cannot predict the number of steps, and no fixed workflow covers the problem — use an autonomous agent. An agent is an LLM using tools in a loop: observe results, decide next action, execute, repeat.

flowchart TD
    H[Human task] --> A[Agent plans next step]
    A --> T[Execute tool or action]
    T --> E[Observe result]
    E --> C{Task complete?}
    C -->|No| A
    C -->|Yes| R[Return result to human]
    E -->|Blocked| HI[Ask human for input]
    HI --> A

Agents are powerful but come with higher costs and compounding error risk. Each step that goes slightly wrong can push the agent further off track. Three principles from production experience:

  1. Simplicity — keep the design minimal. Complex agents are harder to debug and more prone to cascading failures.
  2. Transparency — show the agent’s planning and reasoning steps explicitly. When something fails, you need to see where and why.
  3. Tool quality — invest as much effort in tool interfaces (documentation, error messages, parameter design) as in prompts. Think of it as designing an API for a junior developer — if the tool is ambiguous to use, the agent will misuse it.

Where agents work well today: coding tasks (verifiable via tests), customer support (measurable via resolution), and research tasks (structured by sources). The common thread is clear success criteria and feedback loops that let the agent assess its own progress. Measuring those criteria rigorously — task success, trajectory quality, tool-call correctness, and reliability across stochastic runs — is Agent Evaluation.

For patterns on coordinating multiple agents, see Multi-Agentic Systems.

Questions

References

2 items under this folder.