feat: Add agent-bus power for multi-agent collaboration#77
Open
zanewebb wants to merge 1 commit intokirodotdev:mainfrom
Open
feat: Add agent-bus power for multi-agent collaboration#77zanewebb wants to merge 1 commit intokirodotdev:mainfrom
zanewebb wants to merge 1 commit intokirodotdev:mainfrom
Conversation
Add a new Kiro Power that enables multiple agent sessions to discover each other, exchange messages, and coordinate work via a filesystem- backed message bus. Tools provided: - agent_post_message: Send messages between agents - agent_read_messages: Read inbox with optional sender filter - agent_signal: Emit named coordination signals - agent_wait_signal: Check for signal completion - agent_list_agents: Discover registered agents Includes steering files for: - Cooperation workflows (oncall triage, parallel dev, pipeline) - cmux terminal multiplexer integration Transport: /tmp/kiro-agent-bus/ (configurable via KIRO_AGENT_BUS_DIR) Server: Node.js MCP server using @modelcontextprotocol/sdk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Kiro Power that enables multiple agent sessions to discover each other, exchange messages, and coordinate work via a filesystem-backed message bus.
Motivation
When running multiple Kiro sessions in parallel (e.g., via cmux for oncall triage, parallel development, or research+implementation pipelines), agents have no way to communicate. This power provides the missing coordination layer.
Real-world use case: During AWS Firewall Manager oncall, we had 34 open sev-2 tickets. We spawned 3 parallel Kiro investigators via cmux, each working a different ticket. The coordinator session needed to read findings, prevent duplicate work, and synthesize priorities — but agents had no awareness of each other.
What's included
MCP Tools (5)
agent_post_messageagent_read_messagesagent_signalagent_wait_signalagent_list_agentsSteering Files (2)
Architecture
/tmp/kiro-agent-bus/KIRO_AGENT_BUS_DIRenv varPower Structure
Related