Esta página se muestra en inglés. Una traducción al español está en curso.
PromptsMar 31, 2026·2 min de lectura

Anthropic Cookbook — Official Claude Recipes

Official collection of notebooks and recipes for building with Claude. Prompt engineering, tool use, RAG, agents, multimodal, and enterprise patterns. By Anthropic. 37K+ stars.

Introducción

The Anthropic Cookbook is the official collection of recipes and notebooks for building applications with Claude. Covers prompt engineering patterns, tool use, RAG pipelines, multi-agent workflows, multimodal inputs, structured outputs, and enterprise integration patterns. Written by the Anthropic team with production-grade examples. 37,000+ GitHub stars, MIT licensed.

Best for: Developers building with Claude API who want proven patterns and best practices Works with: Claude (Sonnet, Opus, Haiku), Anthropic API, Claude Code


Recipe Categories

Prompt Engineering

  • System prompt design patterns
  • Chain-of-thought reasoning
  • Few-shot learning with examples
  • XML tag structuring for complex tasks

Tool Use & Function Calling

  • Defining and using tools
  • Multi-tool orchestration
  • Error handling and retries
  • Calculator, search, and custom tools

RAG (Retrieval-Augmented Generation)

  • Document ingestion and chunking
  • Contextual retrieval with embeddings
  • Citation generation
  • Multi-document Q&A

Agents

  • ReAct pattern implementation
  • Multi-step reasoning agents
  • Agent handoffs and delegation
  • Tool-augmented agents

Multimodal

  • Image analysis and description
  • PDF document processing
  • Chart and graph understanding
  • Multi-image comparison

Enterprise Patterns

  • Content moderation and guardrails
  • Structured data extraction
  • Classification and routing
  • Batch processing pipelines

FAQ

Q: What is the Anthropic Cookbook? A: The official collection of 50+ notebooks and recipes by Anthropic for building with Claude. Covers prompt engineering, tool use, RAG, agents, and multimodal patterns. 37K+ stars.

Q: Do I need a paid API key? A: Yes, you need an Anthropic API key. Most recipes work with Claude Sonnet for cost-effective experimentation.


🙏

Fuente y agradecimientos

Created by Anthropic. Licensed under MIT. anthropics/anthropic-cookbook — 37,000+ GitHub stars

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.