Claude-Code-Communication  by nishimoto265

Multi-agent communication demo in tmux

created 1 month ago
427 stars

Top 70.4% on sourcepulse

GitHubView on GitHub
Project Summary

This project demonstrates a hierarchical multi-agent communication system using Tmux, simulating a PRESIDENT, BOSS, and WORKER structure. It's designed for users to experience and test agent-to-agent interaction workflows, particularly for task delegation and reporting.

How It Works

The system leverages Tmux sessions and panes to isolate and manage different agents. A setup.sh script initializes these sessions and panes. Agents communicate by sending commands and messages to specific Tmux panes, simulating a top-down instruction flow from PRESIDENT to BOSS to WORKERS, with WORKERS reporting back completion.

Quick Start & Requirements

  • Install: Clone the repository and run ./setup.sh.
  • Prerequisites: Tmux, Claude Code (authentication required).
  • Setup: Approximately 5 minutes.
  • Links: Repository

Highlighted Details

  • Hierarchical structure: PRESIDENT -> BOSS -> Workers.
  • Simulated workflow: Task delegation and status reporting.
  • Manual control: agent-send.sh for direct agent messaging.
  • Debugging tools: Log file inspection and Tmux session status checks.

Maintenance & Community

The project welcomes contributions via pull requests and issues. No specific maintainer or community channels are listed.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The demo relies on the Claude Code API for agent functionality, requiring user authentication. The setup script automatically terminates existing sessions named multiagent and president, which could interrupt ongoing work.

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
431 stars in the last 90 days

Explore Similar Projects

Starred by Donny Kang Donny Kang(Author of SWC; Maintainer of Turbopack), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
2 more.

claude-squad by smtg-ai

6.0%
4k
Terminal app for managing multiple AI agents
created 4 months ago
updated 1 week ago
Starred by Zhiqiang Xie Zhiqiang Xie(Author of SGLang), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
6 more.

swarm by openai

0.3%
20k
Multi-agent orchestration framework for lightweight agent coordination
created 1 year ago
updated 4 months ago
Feedback? Help us improve.