🧩AssistantMessage
Also known as SDK assistant message, Claude Agent SDK AssistantMessage
The message that holds one piece of Claude's reply: some text or a tool call.
Think of it like
It is like a note from a helper. It says what they are doing, or gives the answer.
Example
Mia's app shows a line such as Reading auth.ts each time a tool is called.
Why it matters
It is how you show progress while the agent works, step by step.
Definition
Common mistake
Key takeaways
- 1One block each. Text or tool call.
- 2Shares a message ID. Per reply.
- 3Shows progress. Step by step.