Building effective agents
https://www.anthropic.com/research/building-effective-agents
We suggest that developers start by using LLM APIs directly: many patterns can be implemented in a few lines of code. If you do use a framework, ensure you understand the underlying code. Incorrect assumptions about what’s under the hood are a common source of customer error.
See our cookbook for some sample implementations.