openclaw - 💡(How to fix) Fix [Bug]: Message Streaming in Mattermost active even if disabled in config file. Also Bot-to-Bot communication disabled but allowed in config [2 comments, 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#70253Fetched 2026-04-23 07:27:11
View on GitHub
Comments
2
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
commented ×2labeled ×1mentioned ×1subscribed ×1

Following the update to version 2026.4.21, we are experiencing a severe regression regarding inter-agent communication and configuration adherence across multiple channels.

Observed Issues:

Complete Agent-to-Agent Isolation: Agents are no longer able to trigger or see messages from other agents across all connected surfaces (e.g., Mattermost, custom WebSockets). While human-to-agent and agent-to-human communication remains functional, all agent-to-agent events are silently dropped or filtered. Configuration Override / Ignored Settings: The Gateway is ignoring explicit configuration flags. Specifically, response streaming is being forced in Mattermost even though it has been explicitly disabled in the config. Inconsistent Event Routing: The breakdown of the agent-to-agent pipeline suggests a fundamental change or bug in the event routing/filtering logic introduced in the latest update. Impact: This completely breaks collaborative workflows and social interactions between multiple agents, effectively isolating them into separate silos despite being in the same channel.

Root Cause

Following the update to version 2026.4.21, we are experiencing a severe regression regarding inter-agent communication and configuration adherence across multiple channels.

Observed Issues:

Complete Agent-to-Agent Isolation: Agents are no longer able to trigger or see messages from other agents across all connected surfaces (e.g., Mattermost, custom WebSockets). While human-to-agent and agent-to-human communication remains functional, all agent-to-agent events are silently dropped or filtered. Configuration Override / Ignored Settings: The Gateway is ignoring explicit configuration flags. Specifically, response streaming is being forced in Mattermost even though it has been explicitly disabled in the config. Inconsistent Event Routing: The breakdown of the agent-to-agent pipeline suggests a fundamental change or bug in the event routing/filtering logic introduced in the latest update. Impact: This completely breaks collaborative workflows and social interactions between multiple agents, effectively isolating them into separate silos despite being in the same channel.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Following the update to version 2026.4.21, we are experiencing a severe regression regarding inter-agent communication and configuration adherence across multiple channels.

Observed Issues:

Complete Agent-to-Agent Isolation: Agents are no longer able to trigger or see messages from other agents across all connected surfaces (e.g., Mattermost, custom WebSockets). While human-to-agent and agent-to-human communication remains functional, all agent-to-agent events are silently dropped or filtered. Configuration Override / Ignored Settings: The Gateway is ignoring explicit configuration flags. Specifically, response streaming is being forced in Mattermost even though it has been explicitly disabled in the config. Inconsistent Event Routing: The breakdown of the agent-to-agent pipeline suggests a fundamental change or bug in the event routing/filtering logic introduced in the latest update. Impact: This completely breaks collaborative workflows and social interactions between multiple agents, effectively isolating them into separate silos despite being in the same channel.

Steps to reproduce

  • Setup: Deploy two or more agents (e.g., Agent A and Agent B) into the same channel on any supported surface (e.g., Mattermost or a custom WebSocket implementation).

  • Configuration: Ensure that agentToAgent.enabled is set to true in the Gateway configuration.

  • Trigger: Use Agent A to send a message that explicitly mentions Agent B (e.g., @AgentB hello).

  • Observation: Observe that Agent B does not receive the event and does not respond, despite being active and correctly paired.

  • Comparison: Use sessions_send to send a direct internal message from Agent A to Agent B. Observe that this internal communication still works, confirming the issue is isolated to the channel-based event routing.

  • Config Check: Set streaming: false in the provider configuration (e.g., for Mattermost) and observe that the Gateway continues to stream responses regardless.

Expected behavior

  • Agent-to-Agent Transparency: Agents should be able to perceive and respond to messages from other agents in shared channels, provided that the appropriate permissions (e.g., agentToAgent.enabled=true) are configured. Communication should flow naturally as it did in previous versions.

  • Strict Configuration Adherence: The Gateway must respect all explicitly defined configuration flags. If streaming is disabled in the config, the Gateway should deliver responses as blocks, regardless of the platform's capabilities.

  • Consistent Event Propagation: Events triggered by one agent should be propagated to all other relevant agent sessions in the same context without being silently filtered out by the routing layer.

Actual behavior

Agent Interaction: When one agent sends a message mentioning another agent in a shared channel (e.g., Mattermost), the targeted agent remains silent and does not trigger any response, despite being active and authenticated.

Cross-Channel Consistency: This behavior is consistently observed across multiple surfaces, including both the Mattermost provider and a custom WebSocket-based frontend (ClawChat).

Internal Communication: In contrast to channel events, direct inter-session communication via the sessions_send tool remains functional, indicating that the failure is specific to the channel-based event propagation layer.

Configuration Failure: The Gateway delivers responses via streaming in Mattermost, directly contradicting the explicit streaming: false setting in the configuration file.

OpenClaw version

2026.6.21

Operating system

macOS 25.4.0 (arm64)

Install method

mac app

Model

ollama/glm-5.1:cloud / ollama/gemma4:31b-cloud

Provider / routing chain

Mattermost -> OpenClaw Gateway -> Agent A -> OpenClaw Gateway -> Agent B -> OpenClaw Gateway -> Mattermost

Additional provider/model setup details

  • Provider: Mattermost (Channel-based communication)
  • Routing Path: Mattermost - Gateway - Agent A - Gateway - Agent B - Gateway - Mattermost
  • Observed Failure Point: The break occurs at the second leg of the chain (Agent A - Gateway - Agent B). The event is sent by Agent A, but the Gateway fails to route/propagate this event to Agent B, despite both agents being active in the same channel.

Logs, screenshots, and evidence

Impact and severity

  • Who is affected: All multi-agent setups where two or more agents are deployed in the same channel/surface.

  • Severity: High / Critical.

  • Frequency: 100% reproduction rate. Every attempt to communicate agent-to-agent via standard channel events fails.

  • Practical Consequences:

  • Complete loss of inter-agent collaboration and coordination.

  • Agents are isolated into individual silos, making collaborative tasks or synchronized responses impossible.

  • Configuration settings (e.g., disabling streaming) are being ignored by the Gateway, leading to unexpected UI behavior (forced streaming in Mattermost).

  • Observed Evidence:

  • Direct mentions (@mention) from one agent to another in Mattermost and ClawChat do not trigger responses from the targeted agent.

  • Internal sessions_send calls still work, confirming that the agents are active, but the Gateway-level event routing for channels is broken.

  • Forced streaming in Mattermost despite streaming: false in the configuration.

Additional information

No response

extent analysis

TL;DR

The most likely fix involves re-examining and adjusting the Gateway's event routing and configuration adherence logic to restore agent-to-agent communication and respect explicit configuration flags.

Guidance

  1. Review Gateway Configuration: Verify that agentToAgent.enabled is set to true and ensure that all configuration flags, including streaming: false for Mattermost, are correctly set and respected by the Gateway.
  2. Inspect Event Routing Logic: Investigate the event routing logic introduced in version 2026.4.21 to identify why agent-to-agent events are being silently dropped or filtered, focusing on the breakdown in the agent-to-agent pipeline.
  3. Test Configuration Overrides: Manually test configuration overrides, such as enabling or disabling streaming in Mattermost, to confirm whether the Gateway is adhering to these settings as expected.
  4. Compare with Previous Versions: If possible, compare the event routing and configuration logic with previous versions (before 2026.4.21) to identify changes that might have introduced the regression.

Example

No specific code example can be provided without more detailed information about the Gateway's implementation. However, the fix likely involves modifying the Gateway's event routing logic to correctly propagate agent-to-agent events and ensuring that configuration settings are properly applied.

Notes

The solution may require updates to the Gateway's software or configuration adjustments. Given the high severity and 100% reproduction rate of the issue, prioritizing a fix is crucial for restoring collaborative workflows and social interactions between agents.

Recommendation

Apply a workaround by reverting to a previous version of the Gateway (if possible) or by manually patching the event routing logic to restore agent-to-agent communication, until a formal fix is available. This recommendation is based on the high impact of the issue on multi-agent setups and the need for immediate mitigation.

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…

FAQ

Expected behavior

  • Agent-to-Agent Transparency: Agents should be able to perceive and respond to messages from other agents in shared channels, provided that the appropriate permissions (e.g., agentToAgent.enabled=true) are configured. Communication should flow naturally as it did in previous versions.

  • Strict Configuration Adherence: The Gateway must respect all explicitly defined configuration flags. If streaming is disabled in the config, the Gateway should deliver responses as blocks, regardless of the platform's capabilities.

  • Consistent Event Propagation: Events triggered by one agent should be propagated to all other relevant agent sessions in the same context without being silently filtered out by the routing layer.

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 [Bug]: Message Streaming in Mattermost active even if disabled in config file. Also Bot-to-Bot communication disabled but allowed in config [2 comments, 1 participants]