openclaw - 💡(How to fix) Fix Enhancement: Missing Agent Status Visibility in Webchat During Tool Execution [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71014Fetched 2026-04-24 10:36:41
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

The webchat interface has no way to indicate the agent is actively working during tool calls, making it impossible for users to distinguish between "agent is working" and "agent is dead/hung."

Error Message

  • WebSockets with status events: agent:working, agent:completed, agent:error

Root Cause

The webchat interface has no way to indicate the agent is actively working during tool calls, making it impossible for users to distinguish between "agent is working" and "agent is dead/hung."

Fix Action

Fix / Workaround

User Experience Impact

  • Power users doing complex multi-step admin work (system configuration, agent management, debugging) cannot see progress
  • The silence creates genuine uncertainty: is the agent working or broken?
  • Users develop workarounds like refreshing pages, which is poor UX

This blocks effective use of webchat for complex operations while Telegram/Discord work without issues. Power users are forced to either:

  1. Use a different interface entirely
  2. Develop manual workarounds (constant refreshing, external monitoring)
  3. Lose confidence in the system
RAW_BUFFERClick to expand / collapse

Issue: Missing Agent Status Visibility in Webchat During Tool Execution

Summary

The webchat interface has no way to indicate the agent is actively working during tool calls, making it impossible for users to distinguish between "agent is working" and "agent is dead/hung."

Current Behavior

  1. When the agent invokes tools (exec, read, file operations, etc.), the webchat UI completely hides the agent's response
  2. No typing indicator, spinner, or status message persists across the tool execution
  3. The UI appears frozen — users see nothing while tools are running
  4. Any subsequent user messages queue invisibly during the silent turn
  5. There is no cancel/abort mechanism during tool execution
  6. The only recovery option is to refresh the page

What is Needed

1. Persistent Status Indicator

  • A small badge, spinner, or text overlay that persists across ALL tool invocations in a turn
  • Should say something like "agent is working" or "processing..."
  • Must survive transitions between multiple tool calls (agent may call 3-5 tools in sequence)

2. Interim Progress Updates

  • Allow the agent to send status messages during tool execution
  • Similar to how Telegram/Discord show "agent is typing..." while actually working
  • Example: "checking Ollama config..." → "updating OpenClaw..." → "restarting service..."

3. Abort/Cancel Button

  • Visual button that immediately interrupts the current turn
  • Currently messages queue invisibly — need an explicit abort mechanism

4. Better Connection Status

  • The current WebSocket flashing indicator does not distinguish between:
    • Agent is actively working (tools executing)
    • Agent is dead/hung (connection lost)
    • Agent is waiting for user input
  • Should show clear state transitions

Why This Matters

User Experience Impact

  • Power users doing complex multi-step admin work (system configuration, agent management, debugging) cannot see progress
  • The silence creates genuine uncertainty: is the agent working or broken?
  • Users develop workarounds like refreshing pages, which is poor UX

Inconsistency Across Interfaces

  • Telegram interface: shows "Claw is typing..." status during tool execution ✅
  • Discord interface: shows "Claw is typing..." status during tool execution ✅
  • Webchat interface: shows NOTHING during tool execution ✗

Blocked Use Cases

  • Long-running operations (service restarts, config changes, model operations)
  • Debugging sessions where users need to monitor progress
  • Any admin work requiring trust that the agent is still alive
  • Users who cannot easily switch to Telegram/Discord

Scope

  • This is a frontend/webchat issue, not a gateway config limitation
  • The webchat was built as a simple chat UI for Q&A, not for multi-step operations
  • The underlying agent/tool infrastructure works fine — the display layer is missing

Priority: High

This blocks effective use of webchat for complex operations while Telegram/Discord work without issues. Power users are forced to either:

  1. Use a different interface entirely
  2. Develop manual workarounds (constant refreshing, external monitoring)
  3. Lose confidence in the system

The Telegram/Discord interfaces already solved this problem with typing indicators. Webchat should have an equivalent mechanism.

Implementation Suggestions

Quick Fix

  • Add a persistent "Agent is working" overlay/badge during all tool execution phases
  • Show the current tool being executed (like a status line)

Medium Fix

  • Allow the agent to send interim status messages during turns
  • Add a visual cancel button during tool execution

Full Solution

  • WebSockets with status events: agent:working, agent:completed, agent:error
  • Frontend shows real-time progress updates
  • Proper state machine for session lifecycle

Environment

  • OpenClaw version: 2026.4.22
  • Interface: webchat (default gateway UI)
  • Operating system: Linux (Ubuntu 24.04, ARM64)
  • Browser: Modern Chromium-based

extent analysis

TL;DR

Implement a persistent status indicator, such as a "Agent is working" overlay or badge, to provide visibility into the agent's activity during tool execution in the webchat interface.

Guidance

  • Add a persistent status indicator that survives across multiple tool calls, such as a small badge or spinner, to indicate the agent is working.
  • Consider implementing interim progress updates, allowing the agent to send status messages during tool execution, similar to "agent is typing..." indicators in Telegram/Discord.
  • Introduce a visual cancel/abort button to interrupt the current turn, providing users with explicit control over the process.
  • Review the WebSocket connection status indicator to distinguish between different states, such as the agent working, dead/hung, or waiting for user input.

Example

A possible implementation could involve adding a status overlay to the webchat interface, displaying a message like "Agent is working on [tool name]..." during tool execution.

Notes

The solution should focus on the frontend/webchat issue, as the underlying agent/tool infrastructure is functioning correctly. The implementation should be compatible with the OpenClaw version 2026.4.22 and modern Chromium-based browsers.

Recommendation

Apply a quick fix by adding a persistent "Agent is working" overlay/badge during all tool execution phases, as this will provide immediate visibility into the agent's activity and improve the user experience.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Enhancement: Missing Agent Status Visibility in Webchat During Tool Execution [1 participants]