Claude Cookbooks

Active
GitHub Jupyter Notebook MIT

Description

Claude Cookbooks is Anthropic's official collection of notebooks and recipes showcasing fun and effective ways of using Claude, covering tool use, RAG, multimodal, and various agent application scenarios.

Key Features

  • Text Classification Recipes — Techniques for text and data classification using Claude
  • Retrieval Augmented Generation — Enhance Claude responses with external knowledge sources
  • Multimodal Vision Capabilities — Image understanding, chart interpretation, and form content extraction
  • Tool Use Integration — Integrate Claude with external tools and functions to extend capabilities
  • Sub-agent Collaboration — Advanced pattern using Haiku as sub-agent combined with Opus
  • Prompt Engineering Techniques — JSON mode, prompt caching, content moderation filters, and more

Use Cases

💡 Quickly learn advanced Claude API usage patterns and best practices
💡 Build RAG applications with Claude integrating vector databases and external knowledge
💡 Develop agent applications with tool-use capabilities like customer service and data analysis
💡 Implement multimodal AI features including image recognition and PDF parsing
💡 Learn how to build automated evaluation systems for AI applications

Quick Start

# Clone the repository
git clone https://github.com/anthropics/anthropic-cookbook.git
cd anthropic-cookbook

# Install dependencies
pip install anthropic jupyter

# Launch Jupyter to explore examples
jupyter notebook capabilities/classification/classification.ipynb

Related Projects