An AG-UI activity: display material an agent streams alongside its answer, such as a plan, a progress report or a generated surface. Activity messages sit in the message list where they arrived and are never sent back to the agent.
API
export type ActivityMessage = {
role: "activity";
id: string;
activityType: string;
content: Readonly <
Record <string, unknown>
>;
metadata?: Metadata ;
links: ActivityLinks ;
};