@FakeMaidenMaker: Oh wow, Anthropic officially open-sourced the entire Claude usage tutorial! GitHub 44k+ stars, the Claude Cookbooks are maintained by Anthropic officially. RAG, Tool Use, multimodal, prompt caching and other techniques, all…
Summary
Anthropic officially open-sourced Claude usage tutorials (cookbooks), including Jupyter Notebook examples of advanced techniques like RAG, Tool Use, multimodal, etc., which developers can directly copy and use.
View Cached Full Text
Cached at: 06/03/26, 03:52 PM
Holy cow, Anthropic has fully open-sourced the official Claude usage tutorials!
4.4K+ stars on GitHub, the Claude Cookbooks maintained directly by Anthropic.
RAG, Tool Use, multimodal, prompt caching, and other techniques are all packaged as ready-to-run Jupyter Notebooks — just copy-paste them into your own projects.
The real gold is in the advanced techniques section — Sub-agents (using Haiku as a sub-agent alongside Opus), automated evaluation pipelines, PDF upload processing… these are the truly valuable experiences. Anthropic gives you the examples directly, saving you dozens of hours of trial and error.
If you want to learn the Claude API, stop digging through scattered blog posts. The official cookbook is more comprehensive than any third-party tutorial and more trustworthy than any other guide.
GitHub:
anthropics/claude-cookbooks
Source: https://github.com/anthropics/claude-cookbooks
Claude Cookbooks
The Claude Cookbooks provide code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects.
Prerequisites
To make the most of the examples in this cookbook, you’ll need a Claude API key (sign up for free here (https://www.anthropic.com)).
While the code examples are primarily written in Python, the concepts can be adapted to any programming language that supports interaction with the Claude API.
If you’re new to working with the Claude API, we recommend starting with our Claude API Fundamentals course (https://github.com/anthropics/courses/tree/master/anthropic_api_fundamentals) to get a solid foundation.
Explore Further
Looking for more resources to enhance your experience with Claude and AI assistants? Check out these helpful links:
- Anthropic developer documentation (https://docs.claude.com/claude/docs/guide-to-anthropics-prompt-engineering-resources)
- Anthropic support docs (https://support.anthropic.com)
- Anthropic Discord community (https://www.anthropic.com/discord)
Contributing
The Claude Cookbooks thrives on the contributions of the developer community. We value your input, whether it’s submitting an idea, fixing a typo, adding a new guide, or improving an existing one. By contributing, you help make this resource even more valuable for everyone.
To avoid duplication of efforts, please review the existing issues and pull requests before contributing.
If you have ideas for new examples or guides, share them on the issues page (https://github.com/anthropics/anthropic-cookbook/issues).
Table of recipes
Capabilities
- Classification (https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/classification): Explore techniques for text and data classification using Claude.
- Retrieval Augmented Generation (https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/retrieval_augmented_generation): Learn how to enhance Claude’s responses with external knowledge.
- Summarization (https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/summarization): Discover techniques for effective text summarization with Claude.
Tool Use and Integration
- Tool use (https://github.com/anthropics/anthropic-cookbook/tree/main/tool_use): Learn how to integrate Claude with external tools and functions to extend its capabilities.
- Customer service agent (https://github.com/anthropics/anthropic-cookbook/blob/main/tool_use/customer_service_agent.ipynb)
- Calculator integration (https://github.com/anthropics/anthropic-cookbook/blob/main/tool_use/calculator_tool.ipynb)
- SQL queries (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/how_to_make_sql_queries.ipynb)
Third-Party Integrations
- Retrieval augmented generation (https://github.com/anthropics/anthropic-cookbook/tree/main/third_party): Supplement Claude’s knowledge with external data sources.
- Vector databases (Pinecone) (https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/Pinecone/rag_using_pinecone.ipynb)
- Wikipedia (https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/Wikipedia/wikipedia-search-cookbook.ipynb/)
- Web pages (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/read_web_pages_with_haiku.ipynb)
- Embeddings with Voyage AI (https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/VoyageAI/how_to_create_embeddings.md)
Multimodal Capabilities
- Vision with Claude (https://github.com/anthropics/anthropic-cookbook/tree/main/multimodal):
- Getting started with images (https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/getting_started_with_vision.ipynb)
- Best practices for vision (https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/best_practices_for_vision.ipynb)
- Interpreting charts and graphs (https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/reading_charts_graphs_powerpoints.ipynb)
- Extracting content from forms (https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/how_to_transcribe_text.ipynb)
- Generate images with Claude (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/illustrated_responses.ipynb): Use Claude with Stable Diffusion for image generation.
Advanced Techniques
- Sub-agents (https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/using_sub_agents.ipynb): Learn how to use Haiku as a sub-agent in combination with Opus.
- Upload PDFs to Claude (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/pdf_upload_summarization.ipynb): Parse and pass PDFs as text to Claude.
- Automated evaluations (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/building_evals.ipynb): Use Claude to automate the prompt evaluation process.
- Enable JSON mode (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/how_to_enable_json_mode.ipynb): Ensure consistent JSON output from Claude.
- Create a moderation filter (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/building_moderation_filter.ipynb): Use Claude to create a content moderation filter for your application.
- Prompt caching (https://github.com/anthropics/anthropic-cookbook/blob/main/misc/prompt_caching.ipynb): Learn techniques for efficient prompt caching with Claude.
Additional Resources
- Anthropic on AWS (https://github.com/aws-samples/anthropic-on-aws): Explore examples and solutions for using Claude on AWS infrastructure.
- AWS Samples (https://github.com/aws-samples/): A collection of code samples from AWS which can be adapted for use with Claude. Note that some samples may require modification to work optimally with Claude.
Similar Articles
@IndieDevHailey: Claude Cookbooks: Anthropic’s official secrets, Claude’s practical handbook! An official open-source notebook collection, with ready-to-copy code + guides to teach you how to efficiently build real projects with Claude. Even complete beginners can get started quickly. Tons of hands-on examples: Agent, Tool Use, RAG, …
Anthropic has officially open-sourced the Claude Cookbooks notebook collection, offering practical code and guides covering scenarios such as Agent, Tool Use, and RAG, to help developers quickly get started building real projects.
@bibryam: Claude Cookbook is worth bookmarking. 81 practical guides across 15 categories, covering agents, tools, RAG, evals, mul…
Anthropic has published the Claude Cookbook, a curated collection of 81 practical developer guides spanning AI agents, RAG, evaluations, multimodal apps, and production workflows. The resource offers actionable code examples and best practices for building and deploying applications with Claude.
anthropics/claude-cookbooks
The Claude Cookbooks provide developers with code examples and guides for building applications using the Claude API, covering capabilities like classification, RAG, tool use, and multimodal features.
@QT9277: Complete Chinese translation of Anthropic's official Claude Code tutorial is out! One-hour hands-on course covers context management, MCP, GitHub integration, custom automation workflows, with clear translations and full lecture notes, beginners can follow and start developing. Original: https://anthropic.…
This post introduces the Chinese translation of Anthropic's official Claude Code tutorial, which includes a one-hour hands-on course covering context management, MCP, GitHub integration, and custom automation workflows. The translation is clear and suitable for beginners.
@axichuhai: Found a project on GitHub specifically teaching how to use Claude Code, now up to 4w stars. It's not an official document, but a complete learning path from entry to advanced agents. Slash commands, MCP configuration, hook scripts, sub-agent orchestration — each module has visual diagrams, teaching you "how" and also "why."
Introduces a GitHub project with 40K stars for learning Claude Code, offering a complete learning path from beginner to advanced agents, visual diagrams, and reusable templates.