Cette page est affichée en anglais. Une traduction française est en cours.
KnowledgeMay 14, 2026·2 min de lecture

Claude Cookbooks — Claude API Notebook Recipes

Claude Cookbooks is a repo of copyable notebooks for Claude API patterns (tool use, RAG, vision, evals) so you can prototype faster (42.9k★).

Prêt pour agents

Installation avec revue préalable

Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.

Needs Confirmation · 64/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Knowledge
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Asset
Commande avec revue préalable
npx -y tokrepo@latest install 25da083c-f4af-52f0-8e34-284ac1d865de --target codex

Dry-run d'abord, confirmez les écritures, puis lancez cette commande.

Introduction

Claude Cookbooks is a repo of copyable notebooks for Claude API patterns (tool use, RAG, vision, evals) so you can prototype faster (42.9k★).

Best for: Developers who want vetted Claude API patterns they can copy into apps (tool use, RAG, multimodal, evaluations)

Works with: Python + Jupyter (for notebooks) and any language that can call the Claude API; start from the recipe folders and adapt

Setup time: 5-15 minutes

Main

  • Recipe-first structure: the README links to focused folders (classification, RAG, summarization, tool use) so you can start from a minimal working example.
  • Tool use examples: includes practical notebooks for function/tool integration (e.g., calculator, customer service patterns).
  • Multimodal coverage: contains vision and PDF-related recipes so you can wire image/PDF inputs into your app workflows.
  • Evaluation recipes: ships notebooks for building eval loops—useful when you need a repeatable quality gate for prompts or tools.

FAQ

  • Do I need to use notebooks?: No. Use notebooks as a reference and copy the minimal code into your own runtime.
  • Where should I start?: Start from one capability folder (tool use or RAG) and run a single recipe end to end before mixing patterns.
  • Is it Python-only?: Most examples are in Python notebooks, but the patterns (prompting, tool use, evals) translate to any language.
🙏

Source et remerciements

Source: https://github.com/anthropics/claude-cookbooks > License: MIT > GitHub stars: 42907 · forks: 4841

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires