Building with the Claude API by Anthropic
7h 54mIntermediate2026-04-02
Authors

Anthropic
Course details
This course covers fundamental API operations, advanced prompting techniques, tool integration, and architectural patterns for building AI-powered systems using Claude and the Anthropic API. Through hands-on exercises and practical examples, learn how to implement conversational AI, retrieval-augmented generation, and automated workflows. Plus, find out how to leverage Claude's multimodal capabilities for processing text, images, and documents.
Prerequisites
Proficiency in Python programming
Basic knowledge of handling JSON data
Learning objectives
Set up and authenticate with the Anthropic API, including API key management and request configuration.
Implement single and multi-turn conversations with proper message formatting and context handling.
Configure system prompts and control model behavior using temperature, response streaming, and structured output formats.
Design and execute prompt evaluation workflows with test dataset generation and automated grading systems.
Apply prompt engineering techniques including XML tag structuring, example-based learning, and clear directive formulation.
Integrate Claude’s tool usage capabilities to extend functionality with custom tools, batch operations, and web search.
Build retrieval-augmented generation (RAG) systems with text chunking, embeddings, BM25 search, and contextual retrieval.
Utilize Claude’s extended features including extended thinking mode, image analysis, PDF processing, and citation generation.
Implement prompt caching strategies to optimize API usage and reduce latency.
Develop model context protocol (MCP) servers and clients for standardized tool and resource integration
Deploy Anthropic Apps including Claude Code for automated development tasks.
Architect agent-based systems with parallelization, chaining, and routing workflows.
Prerequisites
Proficiency in Python programming
Basic knowledge of handling JSON data
Learning objectives
Set up and authenticate with the Anthropic API, including API key management and request configuration.
Implement single and multi-turn conversations with proper message formatting and context handling.
Configure system prompts and control model behavior using temperature, response streaming, and structured output formats.
Design and execute prompt evaluation workflows with test dataset generation and automated grading systems.
Apply prompt engineering techniques including XML tag structuring, example-based learning, and clear directive formulation.
Integrate Claude’s tool usage capabilities to extend functionality with custom tools, batch operations, and web search.
Build retrieval-augmented generation (RAG) systems with text chunking, embeddings, BM25 search, and contextual retrieval.
Utilize Claude’s extended features including extended thinking mode, image analysis, PDF processing, and citation generation.
Implement prompt caching strategies to optimize API usage and reduce latency.
Develop model context protocol (MCP) servers and clients for standardized tool and resource integration
Deploy Anthropic Apps including Claude Code for automated development tasks.
Architect agent-based systems with parallelization, chaining, and routing workflows.
Concepts
Introduction
- Welcome to the course
Anthropic Overview
- Overview of Claude models
Accessing Claude with the API
- Accessing the API
- Making a request
- Multi-turn conversations
- Chat exercise
- System prompts
- System prompts exercise
- Temperature
- Response streaming
- Controlling model output
- Structured data
- Structured data exercise
Prompt Evaluation
- Prompt evaluation
- A typical eval workflow
- Generating test datasets
- Running the eval
- Model-based grading
- Code-based grading
- Exercise on prompt evals
Prompt Engineering Techniques
- Prompt engineering
- Being clear and direct
- Being specific
- Structure with XML tags
- Providing examples
- Exercise on prompting
Tool Use with Claude
- Introducing tool use
- Project overview
- Tool functions
- Tools schemas
- Handling message blocks
- Sending tool results
- Multi-turn conversations with tools
- Implementing multiple turns
- Using multiple tools
- The batch tool
- Tools for structured data
- Fine grained tool calling
- The text edit tool
- The web search tool
Retrieval-Augmented Generation
- Introducing retrieval-augmented generation
- Text chunking strategies
- Text embeddings
- The full RAG flow
- Implementing the RAG flow
- BM25 lexical search
- A multi-index RAG pipeline
- Contextual retrieval
- Reranking results
Features of Claude
- Extended thinking
- Image support
- PDF support
- Citations
- Prompt caching
- Rules of prompt caching
- Prompt caching in action
- Code execution and files API
Model Context Protocol (MCP)
- Introducing MCP
- MCP clients
- Project setup
- Defining tools with MCP
- The server inspector
- Implementing a client
- Defining resources
- Accessing resources
- Defining prompts
- Prompts in the client
- MCP review
Anthropic Apps - Claude Code and Computer Use
- Anthropic apps
- Claude Code setup
- Claude Code in action
- Enhancements with MCP servers
- Parallelizing Claude Code
- Automating debugging
- Computer Use
- How Computer Use works
Agents and Workflows
- Agents and workflows
- Parallelization workflows
- Chaining workflows
- Routing workflows
- Agents and tools
- Environment inspection
- Workflows vs. agents
Wrapping up
- Course wrap-up