Assistant
MSM patternAgent Thread
An assistant conversation: messages, reasoning, tool activity, approvals, and questions.
When to use it
Render every assistant conversation with AgentThread. Map Eve's message parts to AgentMessage in one adapter: text, reasoning, files, dynamic-tool activity, and input requests keep Eve's IDs, kinds, and option styles. Answer approvals, questions, and session limits through onRespond.
Scheduling with the assistant
Working, reconnecting, failed, and at a limit
Scripted states
Usage
Use the Code tab to copy a complete example. MSM pages import shared components from @msm/ui; changes to those components appear here and in the application.