Defines the workflow versus agent distinction and argues for the simplest solution first, since agentic systems trade latency and cost for performance. Useful for deciding when an agent is warranted before adopting a framework.
Key takeaways · AI-distilled
Anthropic defines workflows as LLMs and tools orchestrated through predefined code paths, and agents as systems where the Large language modelA model trained on large amounts of data to process and generate language.Full definition → directs its own ProcessA running instance of a program, with its own working memory, open files and identity.Full definition → and tool useA model's ability to call external functions — run code, search the web, edit files — instead of only generating text.Full definition →; workflows suit well-defined tasks, agents suit flexible decisions at scale.
For many applications, Anthropic says optimizing a single LLM call with retrieval and in-Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → examples is enough, and building no agentic system at all may be the right choice.
Frameworks simplify setup but add abstraction that hides prompts and responses; Anthropic advises starting with direct LLM API calls, and says wrong assumptions about framework internals are a common source of customer error.
The basic building block is an augmented LLM with retrieval, tools and memory; Anthropic recommends tailoring these to the use case and giving the model a simple, well-documented interface to them.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Process — A running instance of a program, with its own working memory, open files and identity.
tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.