Claude Cookbook

The Claude Cookbook provides technical documentation and best practices for developers using Anthropic's Claude AI models. It covers advanced topics like programmatic tool calling, agentic workflows, and multi-agent coordination.
Programmatic tool calling (PTC) Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment. Tool search with embeddings Scale Claude applications to thousands of tools using semantic embeddings for dynamic tool discovery. Automatic context compaction Manage context limits in long-running agentic workflows by automatically compressing conversation history. Giving Claude a crop tool for better image analysis Give Claude a crop tool to zoom into image regions for detailed analysis of charts, documents, and diagrams. Prompting for frontend aesthetics Guide to prompting Claude for distinctive, polished frontend designs avoiding generic aesthetics. Introduction to Claude Skills Create documents, analyze data, automate workflows with Claude's Excel, PowerPoint, PDF skills. All Cookbooks All Categories Title Categories Author(s) Date Reproduce Claude's agentic search benchmark scores in the Messages API Jun 2026 • Evals Tools Build a Messages API harness that reproduces published DeepSearchQA and BrowseComp scores, using programmatic tool calling, server-side compaction, and task budgets.
Get the full story
Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.
Create free accountAlready have an account? Sign in