Claude-Code-Communication  by nishimoto265

Multi-agent communication demo in tmux

Created 3 months ago
451 stars

Top 66.8% 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

2 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
12 stars in the last 30 days

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

0.9%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 10 months ago
Updated 2 days ago
Feedback? Help us improve.