Vibeleaderboard
← All Intel
Intel / article

Building Effective Agents

Source
anthropic.com
Publisher
Anthropic
Author
Anthropic research
Date
Why it matters

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 directs its own and ; 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- 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.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.anthropic.com
More from Anthropic research
Recommended reads