Skip to Content
Components

Action log

Every tool call the agent makes, as a list that grows while it works, where each row opens to show its output.

An action log is a streaming list of what the agent does: each read, search, edit or command lands as a row, running with a spinner, then done with a check and the time it took. A row with output opens to show it, like a diff or test run. The header shows a spinner while the run is live and a green dot once it finishes.

Preview
Agent activityRunning

    Usage

    <!-- include core.css + action-log.css -->
    <div class="alg panel">
      <div class="alg-h">
        <span class="alg-t">Agent activity</span>
        <span class="alg-st"><span class="spin"></span><span class="alg-sum">Running</span></span>
      </div>
      <ol class="alg-list"></ol>
    </div>

    Properties

    NameTypeDescription
    actionsAction[]The tool calls, newest at the end. Each has an icon, a title, an optional detail, a state of running or done, an optional time, and optional output.
    titlestringThe header text. Defaults to "Agent activity".
    runningbooleanShows a spinner in the header while true, and a green dot once false.
    statusstringThe words beside the header mark. Defaults to "Running step N", then "N steps, Xs".
    barebooleanSits flat in a chat thread (the default). Set false to give it a card of its own.
    onToggle / toggleRowcallbackFires when a row opens or closes.

    Theming

    Works in light and dark (data-theme="dark") and in the Soft style (data-style="soft"). In Blueprint the rows and the output panes are squared off with hairline edges; in Soft they are rounded chips with soft fills. Added and removed lines in a row's output take the add and remove colors from the tokens.

    On this page