Skip to content

fix: Slack bot displays generic name instead of agent instance name #292

Closed

Description

@vybe

Summary

When agents send messages to Slack, the bot name shown is the generic Slack app name rather than the individual agent's instance name. This makes it impossible to tell which agent is speaking in channels where multiple agents are active.

Current Behavior

All agent messages appear as "Trinity" (or whatever the Slack app is named), regardless of which agent sent the message.

Expected Behavior

Each agent's Slack messages should display the agent's instance name (e.g., "research-agent", "sales-ops") as the bot username. The existing chat:write.customize scope (already documented in the Slack adapter) should enable this via the username parameter on chat.postMessage.

Technical Notes

The Slack adapter (adapters/slack_adapter.py) already uses chat:write.customize scope. The fix should pass the agent's name as the username parameter when posting messages. May also want to set a per-agent icon/avatar if available.

Acceptance Criteria

  • Slack messages show the agent's Trinity instance name as the bot username
  • Works in channels, DMs, and threads
  • If agent has an avatar, it's used as the bot icon

Activity

  1. added
    complexity-low
    theme-channels
    on Jun 3, 2026
  2. added
    status-ready
    on Jun 14, 2026
  3. self-assigned this
    on Jul 2, 2026
  4. added
    status-in-progress
    and removed
    status-ready
    on Jul 2, 2026
  5. added
    status-in-dev
    and removed
    status-in-progress
    on Jul 3, 2026
  6. removed
    status-in-dev
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-lowpriority-p2theme-channelstype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions