Cached at:
07/24/26, 11:00 AM
# Claude Cookbook
Source: [https://platform.claude.com/cookbook](https://platform.claude.com/cookbook)
## Practical guides and examples for using Claude effectively
## All Cookbooks
TitleCategoriesAuthor\(s\)Date[Reproduce Claude's agentic search benchmark scores in the Messages APIJun 2026• EvalsTools Build a Messages API harness that reproduces published DeepSearchQA and BrowseComp scores, using programmatic tool calling, server\-side compaction, and task budgets\.](https://platform.claude.com/cookbook/evals-agentic-search-reproduce-agentic-search-benchmarks)EvalsTools
Mengting Li
Jun 2026[Classifier fallback and billing for Claude Fable 5Jun 2026• ResponsesSafeguardsBilling Detect safety classifier blocks on Fable 5 and fall back to Opus 4\.8 with server\-side or SDK\-based client\-side fallback, including streaming behavior and the new billing changes\.](https://platform.claude.com/cookbook/fable-5-fallback-billing-guide)ResponsesSafeguardsBilling
Alexander Bricken
Mahesh Murag
Mikaela Grace
Jun 2026[Async multi\-agent orchestrationJun 2026• Agent Patterns Two async multi\-agent patterns — a fixed N\-agent team with peer messaging through a shared hub, and dynamically spawned async subagents — reduced to their bare messaging and lifecycle mechanics\.](https://platform.claude.com/cookbook/patterns-agents-async-multi-agent-orchestration)Agent Patterns
Paul Chen
Jun 2026[Hosting your agentMay 2026• Claude Agent SDK Deploy the research agent from notebook 00 through three tiers of operational maturity \(Docker, Modal, Kubernetes\) with the same container image and HTTP interface at every tier\.](https://platform.claude.com/cookbook/claude-agent-sdk-07-hosting-the-agent)Claude Agent SDK
Kevin Tang
Anav Sharma
May 2026[Multiagent: coordinate a specialist teamMay 2026• Claude Managed AgentsTools Heterogeneous team via the multiagent coordinator config — a coordinator runs three specialists \(web\-search researcher, file\-reading librarian, rules\-based pricer\) with scoped toolsets to assemble a sales proposal\. Covers the multiagent field, the thread\_created / thread\_message\_received event types, and per\-role tool scoping\.](https://platform.claude.com/cookbook/managed-agents-cma-coordinate-specialist-team)Claude Managed AgentsTools
Mark Nowicki
May 2026[Outcomes: agents that verify their own workMay 2026• Claude Managed AgentsEvals Build a grade\-and\-revise loop with Outcomes: a writer drafts a cited research brief, a stateless grader fetches every URL and checks every quote against a rubric, and feedback drives revisions until the brief passes\. Covers user\.define\_outcome, the span\.outcome\_evaluation\_\* events, and how to write a rubric the grader can act on\.](https://platform.claude.com/cookbook/managed-agents-cma-verify-with-outcome-grader)Claude Managed AgentsEvals
Mark Nowicki
Gagan Bhat
May 2026[Build agents that remember your usersApr 2026• Claude Managed AgentsTools Give your Claude Managed Agents a Memory store so they learn and remember your users' preferences across multiple interactions\.](https://platform.claude.com/cookbook/managed-agents-cma-remember-user-preferences)Claude Managed AgentsTools
Gagan Bhat
Apr 2026[The vulnerability detection agentApr 2026• Claude Agent SDKCybersecurity Build a vulnerability\-discovery agent with the Claude Agent SDK that threat\-models a C target, hunts memory\-safety bugs with built\-in file tools, and triages findings into a structured report\.](https://platform.claude.com/cookbook/claude-agent-sdk-06-the-vulnerability-detection-agent)Claude Agent SDKCybersecurity
Eugene Yan
Apr 2026[Build an SRE incident response agent with Claude Managed AgentsApr 2026• Claude Managed AgentsObservability Wire Claude into your on\-call flow: when an alert fires, the agent reads logs and runbooks, pinpoints the root cause, opens a fix PR, and waits for your approval before merging\.](https://platform.claude.com/cookbook/managed-agents-sre-incident-responder)Claude Managed AgentsObservability
Gagan Bhat
Apr 2026[Build a data analyst agent with Claude Managed AgentsApr 2026• Claude Managed AgentsTools Build an analyst that turns a CSV into a narrative HTML report with interactive charts, using a sandboxed environment and file mounting\.](https://platform.claude.com/cookbook/managed-agents-data-analyst-agent)Claude Managed AgentsTools
Charmaine Lee
Jess Yan
Apr 2026[Build a Slack data analyst bot with Claude Managed AgentsApr 2026• Claude Managed AgentsIntegrations Mention the bot with a CSV to get an analysis report in\-thread, with multi\-turn follow\-ups on the same session\.](https://platform.claude.com/cookbook/managed-agents-slack-data-bot)Claude Managed AgentsIntegrations
Charmaine Lee
Apr 2026[Managed Agents tutorial: iterate on a failing test suiteApr 2026• Claude Managed AgentsTools Entry\-point tutorial for the Claude Managed Agents API\. Walks through agent / environment / session creation, file mounts, and the streaming event loop by getting an agent to fix three planted bugs in a calc\.py package\.](https://platform.claude.com/cookbook/managed-agents-cma-iterate-fix-failing-tests)Claude Managed AgentsTools
Paul Yang
Apr 2026[Managed Agents tutorial: production setupApr 2026• Claude Managed AgentsIntegrations End\-to\-end production story for Managed Agents — vault\-backed MCP credentials, the session\.status\_idled webhook pattern for human\-in\-the\-loop without long\-lived connections, and the resource lifecycle CRUD verbs\.](https://platform.claude.com/cookbook/managed-agents-cma-operate-in-production)Claude Managed AgentsIntegrations
Paul Yang
Apr 2026[Managed Agents tutorial: prompt versioning and rollbackApr 2026• Claude Managed AgentsEvals Server\-side prompt versioning — create v1, evaluate against a labelled test set, ship v2, detect a regression, roll back by pinning sessions to version 1\. Covers agents\.update, version pinning on sessions\.create, and where the review gate moves when prompts are not code\.](https://platform.claude.com/cookbook/managed-agents-cma-prompt-versioning-and-rollback)Claude Managed AgentsEvals
Mark Nowicki
Apr 2026[Threat intelligence enrichment agentApr 2026• ToolsAgent PatternsCybersecurity Build an agent that autonomously investigates IOCs by querying multiple threat intel sources, cross\-referencing findings, mapping to MITRE ATT&CK, and producing structured reports for SIEM and SOAR integration\.](https://platform.claude.com/cookbook/tool-use-threat-intel-enrichment-agent)ToolsAgent PatternsCybersecurity
Jannet Park
Apr 2026[Building a session browserMar 2026• Claude Agent SDKAgent Patterns List, read, rename, tag, and fork Agent SDK sessions on disk to build a conversation history sidebar without writing a transcript parser\.](https://platform.claude.com/cookbook/claude-agent-sdk-05-building-a-session-browser)Claude Agent SDKAgent Patterns
Qing Wang
Mar 2026[Knowledge graph construction with ClaudeMar 2026• RAG & RetrievalTools Build knowledge graphs from unstructured text using Claude for entity extraction, relation mining, deduplication, and multi\-hop graph querying\.](https://platform.claude.com/cookbook/capabilities-knowledge-graph-guide)RAG & RetrievalTools
Anthropic
Mar 2026[Context engineering: memory, compaction, and tool clearingMar 2026• ToolsAgent Patterns Compare context engineering strategies for long\-running agents and learn when each applies, what it costs, and how they compose\.](https://platform.claude.com/cookbook/tool-use-context-engineering-context-engineering-tools)ToolsAgent Patterns
Isabella He
Mar 2026[Migrating from the OpenAI Agents SDKMar 2026• Claude Agent SDKAgent Patterns Port an OpenAI Agents SDK app to the Claude Agent SDK, mapping each primitive \(tools, guardrails, sessions, handoffs\) through a single expense\-approval agent example\.](https://platform.claude.com/cookbook/claude-agent-sdk-04-migrating-from-openai-agents-sdk)Claude Agent SDKAgent Patterns
Preston Tuggle
Mar 2026[The site reliability agentFeb 2026• Claude Agent SDKAgent Patterns Build an incident response agent with read\-write MCP tools for autonomous diagnosis, remediation, and post\-mortem documentation\.](https://platform.claude.com/cookbook/claude-agent-sdk-03-the-site-reliability-agent)Claude Agent SDKAgent Patterns
Ben Lehrburger
Isabella He
Feb 2026[Session memory compactionJan 2026• Agent PatternsResponses Manage long\-running Claude conversations with instant session memory compaction using background threading and prompt caching\.](https://platform.claude.com/cookbook/misc-session-memory-compaction)Agent PatternsResponses
Joe Shamon
Jan 2026[Programmatic tool calling \(PTC\)Nov 2025• Tools Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment\.](https://platform.claude.com/cookbook/tool-use-programmatic-tool-calling-ptc)Tools
Pedram Navid
Nov 2025[Tool search with embeddingsNov 2025• ToolsRAG & Retrieval Scale Claude applications to thousands of tools using semantic embeddings for dynamic tool discovery\.](https://platform.claude.com/cookbook/tool-use-tool-search-with-embeddings)ToolsRAG & Retrieval
Henry Keetay
Nov 2025[Automatic context compactionNov 2025• ToolsAgent Patterns Manage context limits in long\-running agentic workflows by automatically compressing conversation history\.](https://platform.claude.com/cookbook/tool-use-automatic-context-compaction)ToolsAgent Patterns
Pedram Navid
Nov 2025[Low latency voice assistant with ElevenLabsNov 2025• Integrations Build a low\-latency voice assistant using ElevenLabs for speech\-to\-text and text\-to\-speech combined with Claude\.](https://platform.claude.com/cookbook/third-party-elevenlabs-low-latency-stt-claude-tts)Integrations
Adriaan Engelbrecht
Nov 2025[Giving Claude a crop tool for better image analysisNov 2025• MultimodalTools Give Claude a crop tool to zoom into image regions for detailed analysis of charts, documents, and diagrams\.](https://platform.claude.com/cookbook/multimodal-crop-tool)MultimodalTools
Nadine Yasser
Nov 2025[Prompting for frontend aestheticsOct 2025• ResponsesSkills Guide to prompting Claude for distinctive, polished frontend designs avoiding generic aesthetics\.](https://platform.claude.com/cookbook/coding-prompting-for-frontend-aesthetics)ResponsesSkills
Prithvi Rajasekaran
Oct 2025[Claude Skills for financial applicationsOct 2025• Skills Build financial dashboards and portfolio analytics using Claude's Excel, PowerPoint, PDF skills\.](https://platform.claude.com/cookbook/skills-notebooks-02-skills-financial-applications)Skills
Alex Notov
Oct 2025[Building custom Skills for ClaudeOct 2025• Skills Create, deploy, and manage custom skills extending Claude with specialized organizational workflows\.](https://platform.claude.com/cookbook/skills-notebooks-03-skills-custom-development)Skills
Alex Notov
Oct 2025[Introduction to Claude SkillsOct 2025• Skills Create documents, analyze data, automate workflows with Claude's Excel, PowerPoint, PDF skills\.](https://platform.claude.com/cookbook/skills-notebooks-01-skills-introduction)Skills
Alex Notov
Oct 2025[The one\-liner research agentSep 2025• Claude Agent SDKAgent Patterns Build a research agent using Claude Code SDK with WebSearch for autonomous research\.](https://platform.claude.com/cookbook/claude-agent-sdk-00-the-one-liner-research-agent)Claude Agent SDKAgent Patterns
Rodrigo Olivares
Jiri De Jonghe
Sep 2025[The chief of staff agentSep 2025• Claude Agent SDKAgent Patterns Build multi\-agent systems with subagents, hooks, output styles, and plan mode features\.](https://platform.claude.com/cookbook/claude-agent-sdk-01-the-chief-of-staff-agent)Claude Agent SDKAgent Patterns
Rodrigo Olivares
Jiri De Jonghe
Sep 2025[The observability agentSep 2025• Claude Agent SDKAgent Patterns Connect agents to external systems via MCP servers for GitHub monitoring and CI workflows\.](https://platform.claude.com/cookbook/claude-agent-sdk-02-the-observability-agent)Claude Agent SDKAgent Patterns
Rodrigo Olivares
Jiri De Jonghe
Sep 2025[Tool evaluationSep 2025• Evals Run parallel agent evaluations on tools independently from evaluation task files\.](https://platform.claude.com/cookbook/tool-evaluation-tool-evaluation)Evals
Anthropic
Sep 2025[Usage & cost Admin API cookbookAug 2025• Observability Programmatically access and analyze your Claude API usage and cost data via Admin API\.](https://platform.claude.com/cookbook/observability-usage-cost-api)Observability
Anthropic
Aug 2025[Memory & context management with Claude Sonnet 4\.6May 2025• ToolsAgent Patterns Build AI agents with persistent memory using Claude's memory tool and context editing\.](https://platform.claude.com/cookbook/tool-use-memory-cookbook)ToolsAgent Patterns
Alex Notov
May 2025[Speculative prompt cachingMay 2025• Responses Reduce time\-to\-first\-token by warming cache speculatively while users formulate their queries\.](https://platform.claude.com/cookbook/misc-speculative-prompt-caching)Responses
Anthropic
May 2025[Parallel tool calls on Claude 3\.7 SonnetMar 2025• Tools Enable parallel tool calls on Claude 3\.7 Sonnet using batch tool meta\-pattern workaround\.](https://platform.claude.com/cookbook/tool-use-parallel-tools)Tools
Anthropic
Mar 2025[Extended thinkingFeb 2025• Thinking Use Claude's extended thinking for transparent step\-by\-step reasoning with budget management\.](https://platform.claude.com/cookbook/extended-thinking-extended-thinking)Thinking
Alex Albert
Feb 2025[Extended thinking with tool useFeb 2025• ThinkingTools Combine extended thinking with tools for transparent reasoning during multi\-step workflows\.](https://platform.claude.com/cookbook/extended-thinking-extended-thinking-with-tool-use)ThinkingTools
Alex Albert
Feb 2025[Basic workflowsDec 2024• Agent Patterns Three simple multi\-LLM workflow patterns trading cost or latency for improved performance\.](https://platform.claude.com/cookbook/patterns-agents-basic-workflows)Agent Patterns
Anthropic
Dec 2024[Evaluator optimizerDec 2024• Agent PatternsEvals Workflow pattern using one LLM for generation and another for evaluation feedback loop\.](https://platform.claude.com/cookbook/patterns-agents-evaluator-optimizer)Agent PatternsEvals
Anthropic
Dec 2024[Orchestrator workersDec 2024• Agent Patterns Central LLM dynamically delegates tasks to worker LLMs and synthesizes their combined results\.](https://platform.claude.com/cookbook/patterns-agents-orchestrator-workers)Agent Patterns
Anthropic
Dec 2024[Batch processing with Message Batches APIOct 2024• Responses Process large volumes of Claude requests asynchronously with 50% cost reduction using batches\.](https://platform.claude.com/cookbook/misc-batch-processing)Responses
Alex Albert
Oct 2024[Text to SQL with ClaudeSep 2024• RAG & Retrieval Convert natural language queries to SQL using RAG, chain\-of\-thought, and self\-improvement techniques\.](https://platform.claude.com/cookbook/capabilities-text-to-sql-guide)RAG & Retrieval
Mahesh Murag
Sep 2024[Enhancing RAG with contextual retrievalSep 2024• RAG & Retrieval Improve RAG accuracy by adding context to chunks before embedding with prompt caching\.](https://platform.claude.com/cookbook/capabilities-contextual-embeddings-guide)RAG & Retrieval
Anthropic
Sep 2024[Finetuning Claude 3 Haiku on BedrockAug 2024• Fine\-Tuning Step\-by\-step guide to finetuning Claude 3 Haiku on Amazon Bedrock for custom tasks\.](https://platform.claude.com/cookbook/finetuning-finetuning-on-bedrock)Fine\-Tuning
David Hershey
Aug 2024[Generate synthetic test data for your prompt templateAug 2024• Evals Generate synthetic test cases to evaluate and improve your Claude prompt templates effectively\.](https://platform.claude.com/cookbook/misc-generate-test-cases)Evals
Anthropic
Aug 2024[Prompt caching through the Claude APIAug 2024• Responses Cache and reuse prompt context for cost savings and faster responses with detailed instructions\.](https://platform.claude.com/cookbook/misc-prompt-caching)Responses
Alex Albert
Aug 2024[Summarization with ClaudeAug 2024• RAG & RetrievalResponses Comprehensive guide to summarizing legal documents with evaluation and advanced techniques\.](https://platform.claude.com/cookbook/capabilities-summarization-guide)RAG & RetrievalResponses
Alexander Bricken
Aug 2024[Retrieval augmented generationJul 2024• RAG & Retrieval Build and optimize RAG systems with Claude using summary indexing and reranking techniques\.](https://platform.claude.com/cookbook/capabilities-retrieval-augmented-generation-guide)RAG & Retrieval
Anthropic
Jul 2024[Classification with ClaudeMay 2024• RAG & Retrieval Build classification systems with Claude using RAG and chain\-of\-thought for insurance tickets\.](https://platform.claude.com/cookbook/capabilities-classification-guide)RAG & Retrieval
Garvan Doyle
May 2024[Tool choiceMay 2024• Tools Control how Claude selects tools using tool\_choice parameter for forced or auto selection\.](https://platform.claude.com/cookbook/tool-use-tool-choice)Tools
Alex Albert
May 2024[Using vision with toolsMay 2024• MultimodalTools Combine Claude's vision with tools to extract structured data from images like nutrition labels\.](https://platform.claude.com/cookbook/tool-use-vision-with-tools)MultimodalTools
Alex Albert
May 2024[Sampling responses from Claude beyond the max tokens limitMay 2024• Responses Generate longer responses beyond max\_tokens limit using prefill technique with message continuation\.](https://platform.claude.com/cookbook/misc-sampling-past-max-tokens)Responses
Anthropic
May 2024[Best practices for using vision with ClaudeMay 2024• Multimodal Tips and techniques for optimal image processing performance with Claude's vision capabilities\.](https://platform.claude.com/cookbook/multimodal-best-practices-for-vision)Multimodal
Alex Albert
May 2024[Note\-saving tool with Pydantic and Anthropic tool useApr 2024• Tools Create validated tools using Pydantic models for type\-safe Claude tool use interactions\.](https://platform.claude.com/cookbook/tool-use-tool-use-with-pydantic)Tools
Alex Albert
Apr 2024[Transcribe an audio file with Deepgram & use Anthropic to prepare interview questions\!Apr 2024• IntegrationsMultimodal Transcribe audio with Deepgram and generate interview questions using Claude for preparation\.](https://platform.claude.com/cookbook/third-party-deepgram-prerecorded-audio)IntegrationsMultimodal
john\-vajda
Apr 2024[Using the Wolfram Alpha LLM API as a tool with ClaudeApr 2024• IntegrationsTools Integrate Wolfram Alpha LLM API as Claude tool for computational queries and answers\.](https://platform.claude.com/cookbook/third-party-wolframalpha-using-llm-api)IntegrationsTools
Alex Albert
Apr 2024[Using a calculator tool with ClaudeApr 2024• Tools Provide Claude with calculator tool for arithmetic operations and mathematical problem solving\.](https://platform.claude.com/cookbook/tool-use-calculator-tool)Tools
Alex Albert
Apr 2024[Creating a customer service agent with client\-side toolsApr 2024• ToolsAgent Patterns Build customer service chatbot with Claude using tools for customer lookup and order management\.](https://platform.claude.com/cookbook/tool-use-customer-service-agent)ToolsAgent Patterns
Alex Albert
Apr 2024[Extracting structured JSON using Claude and tool useApr 2024• ResponsesTools Extract structured JSON data from various inputs using Claude's tool use capabilities\.](https://platform.claude.com/cookbook/tool-use-extracting-structured-json)ResponsesTools
Alex Albert
Apr 2024[MetapromptMar 2024• Responses Prompt engineering tool that generates starting prompts for your tasks to solve blank\-page problem\.](https://platform.claude.com/cookbook/misc-metaprompt)Responses
Anthropic
Mar 2024[CitationsMar 2024• ResponsesRAG & Retrieval Enable Claude to provide detailed source citations when answering document\-based questions for verification\.](https://platform.claude.com/cookbook/misc-using-citations)ResponsesRAG & Retrieval
Anthropic
Mar 2024[Claude 3 RAG agents with LangChain v1Mar 2024• IntegrationsRAG & RetrievalAgent Patterns Build RAG agents with Claude 3 using LangChain v1's updated agent framework patterns\.](https://platform.claude.com/cookbook/third-party-pinecone-claude-3-rag-agent)IntegrationsRAG & RetrievalAgent Patterns
james\-briggs
Mar 2024[Summarizing web page content with Claude 3 HaikuMar 2024• RAG & Retrieval Fetch and summarize web page content using Claude 3 Haiku via URL extraction\.](https://platform.claude.com/cookbook/misc-read-web-pages-with-haiku)RAG & Retrieval
Alex Albert
Mar 2024[Using Haiku as a sub\-agentMar 2024• Agent Patterns Analyze financial reports using Haiku sub\-agents for extraction and Opus for synthesis\.](https://platform.claude.com/cookbook/multimodal-using-sub-agents)Agent Patterns
Alex Albert
Mar 2024[Multi\-modalMar 2024• IntegrationsMultimodal Use LlamaIndex's Anthropic MultiModal LLM abstraction for image understanding and reasoning\.](https://platform.claude.com/cookbook/third-party-llamaindex-multi-modal)IntegrationsMultimodal
Ravi Theja
Mar 2024[How to build a RAG system using Claude 3 and MongoDBMar 2024• IntegrationsRAG & Retrieval Build chatbot RAG system with Claude and MongoDB using tech news as knowledge base\.](https://platform.claude.com/cookbook/third-party-mongodb-rag-using-mongodb)IntegrationsRAG & Retrieval
Richmond Alake
Mar 2024[Building evalsMar 2024• Evals Build robust evaluation systems to measure and improve Claude's performance on key metrics\.](https://platform.claude.com/cookbook/misc-building-evals)Evals
Alex Albert
Mar 2024[Building a moderation filter with ClaudeMar 2024• Responses Build customizable content moderation filters by defining rules and categories in prompts\.](https://platform.claude.com/cookbook/misc-building-moderation-filter)Responses
Alex Albert
Mar 2024[Prompting Claude for "JSON mode"Mar 2024• Responses Get reliable JSON output from Claude using effective prompting techniques without constrained sampling\.](https://platform.claude.com/cookbook/misc-how-to-enable-json-mode)Responses
Alex Albert
Mar 2024[How to make SQL queries with ClaudeMar 2024• RAG & Retrieval Generate SQL queries from natural language questions using Claude with database schema context\.](https://platform.claude.com/cookbook/misc-how-to-make-sql-queries)RAG & Retrieval
Alex Albert
Mar 2024[Getting started \- how to pass images into ClaudeMar 2024• Multimodal Tutorial on passing images to Claude 3 API for vision\-based text analysis\.](https://platform.claude.com/cookbook/multimodal-getting-started-with-vision)Multimodal
Alex Albert
Mar 2024[How to transcribe documents with ClaudeMar 2024• Multimodal Extract and structure unstructured text from images and PDFs using Claude 3's vision\.](https://platform.claude.com/cookbook/multimodal-how-to-transcribe-text)Multimodal
Alex Albert
Mar 2024[Working with charts, graphs, and slide decksMar 2024• Multimodal Extract insights from charts, graphs, and presentations using Claude's vision analysis capabilities\.](https://platform.claude.com/cookbook/multimodal-reading-charts-graphs-powerpoints)Multimodal
Alex Albert
Mar 2024[Multi\-document agentsMar 2024• IntegrationsRAG & RetrievalAgent Patterns Build RAG for large document collections using DocumentAgents with ReAct Agent pattern\.](https://platform.claude.com/cookbook/third-party-llamaindex-multi-document-agents)IntegrationsRAG & RetrievalAgent Patterns
Ravi Theja
Mar 2024[ReAct agentMar 2024• IntegrationsAgent PatternsTools Create ReAct agents with LlamaIndex for tool\-based reasoning and action workflows\.](https://platform.claude.com/cookbook/third-party-llamaindex-react-agent)IntegrationsAgent PatternsTools
Ravi Theja
Mar 2024[RAG pipeline with LlamaIndexMar 2024• IntegrationsRAG & Retrieval Build basic RAG pipeline with LlamaIndex for document retrieval and question answering\.](https://platform.claude.com/cookbook/third-party-llamaindex-basic-rag-with-llamaindex)IntegrationsRAG & Retrieval
Ravi Theja
Mar 2024[RouterQuery engineMar 2024• IntegrationsRAG & Retrieval Route queries to different indices using LlamaIndex RouterQueryEngine for multi\-document search\.](https://platform.claude.com/cookbook/third-party-llamaindex-router-query-engine)IntegrationsRAG & Retrieval
Ravi Theja
Mar 2024[SubQuestionQueryEngineMar 2024• IntegrationsRAG & Retrieval Decompose complex queries into sub\-questions across multiple documents using LlamaIndex engine\.](https://platform.claude.com/cookbook/third-party-llamaindex-subquestion-query-engine)IntegrationsRAG & Retrieval
Ravi Theja
Mar 2024[Retrieval\-augmented generation using PineconeFeb 2024• IntegrationsRAG & Retrieval Connect Claude with Pinecone vector database for retrieval\-augmented generation and semantic search\.](https://platform.claude.com/cookbook/third-party-pinecone-rag-using-pinecone)IntegrationsRAG & Retrieval
Alex Albert
Feb 2024["Uploading" PDFs to Claude via the APIAug 2023• RAG & Retrieval Process and summarize PDF documents using Claude API with text extraction and encoding\.](https://platform.claude.com/cookbook/misc-pdf-upload-summarization)RAG & Retrieval
Anthropic
Aug 2023[Iteratively searching Wikipedia with ClaudeAug 2023• Integrations Legacy notebook showing iterative Wikipedia searches with Claude 2 for research workflows\.](https://platform.claude.com/cookbook/third-party-wikipedia-wikipedia-search-cookbook)Integrations
Anthropic
Aug 2023
### Contributions welcome
Have an idea for a cookbook? We welcome community contributions\.
[Contribution guide](https://github.com/anthropics/claude-cookbooks/blob/main/CONTRIBUTING.md)