Agentic AI (LangChain and LangGraph) · Agent Foundations · Intermediate · 26 min read
LangChain Messages, Prompts and Content Blocks: System, Human, AI and Tool Messages, Multimodal Input and Streaming Chunks
Understand the data every model call is made of. Learn the four message types and the dictionary format, content as strings versus content blocks, standard block types (text, reasoning, images, files, tool calls), multimodal input, tool_calls and ToolMessage artifacts, usage and response metadata, streaming with AIMessageChunk, prompt design and templates, serialisation safety, and message-history rules that prevent API errors.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Agentic AI (LangChain and LangGraph) is a paid upgrade you can choose later.