In website interactions web forms, an llmTranscript element displays an llm.agent: chat transcript.

start:
  # ... Run llm.agent:
  await:
    form:
      title: AI Agent
      elements:
        llmTranscript/prompt_transcript:
          session_id: {{results.session_id}}
          hidden@bool: {{prompt_user is empty}}
        text/prompt_user:
          required@bool: yes
          placeholder: (ask a question about Cerb)
        submit:
          buttons:
            continue/send:
              label: Send
              icon: send
              value: send

Syntax

session_id:

The transcript ID to display. This can be retrieved from llm.agent: output.

label:

An optional label displayed above the transcript.

Tool display names and icons aren't configured here. They're set on the tool itself in llm.agent:, with labels: (summary: and active:) and an icon:.

hidden:

This form element can be conditionally hidden.

hidden@bool: {{not prompt_user}}