๐ Revolutionary AI team collaboration system using Claude CLI and tmux for parallel project execution across development, marketing, planning, and analysis.
- โจ Features
- ๐๏ธ System Architecture
- ๐ Quick Start
- ๐ฆ Installation
- ๐ป Usage
- ๐ค Agent Roles
- ๐ Communication Protocol
- ๐ง Configuration
- ๐ Documentation
- ๐ค Contributing
- ๐ License
- ๐ Acknowledgments
- ๐ Parallel AI Execution: 5 AI agents working simultaneously on complex projects
- ๐ง Dynamic Role Adaptation: Agents adapt to project needs (development, marketing, analysis)
- ๐ Hierarchical Delegation: CEO โ Manager โ Execution Agents workflow
- โก Real-time Communication: Inter-agent messaging with complete audit trails
- ๐ Automatic Workflow: Task dependency management and auto-progression
- ๐ก๏ธ Security-First: Built-in security protocols and permission management
- ๐ Task Dependency Analysis: Parallel vs Sequential execution optimization
- ๐ Quality Assurance: Automated testing and validation workflows
- ๐ Comprehensive Logging: Full communication history and decision tracking
- ๐ง Flexible Architecture: Supports any project type and scale
- ๐ Cloud Integration: Compatible with various cloud platforms and services
graph TD
A[๐ข CEO Agent<br/>ceo:0] -->|Delegates| B[๐ Manager Agent<br/>team:0.0]
B -->|Assigns Tasks| C[๐จโ๐ป Dev Agent 1<br/>team:0.1<br/>UI/UX, Frontend]
B -->|Assigns Tasks| D[๐ฉโ๐ป Dev Agent 2<br/>team:0.2<br/>Backend, Infrastructure]
B -->|Assigns Tasks| E[๐ง Dev Agent 3<br/>team:0.3<br/>QA, Testing, Research]
C -->|Reports| B
D -->|Reports| B
E -->|Reports| B
B -->|Reports| A
F[๐ Communication Log<br/>logs/communication.log] -.->|Records All| A
F -.->|Records All| B
F -.->|Records All| C
F -.->|Records All| D
F -.->|Records All| E
style A fill:#ff9999
style B fill:#99ccff
style C fill:#99ff99
style D fill:#99ff99
style E fill:#99ff99
style F fill:#ffff99
| Strategy | Use Case | Execution Pattern |
|---|---|---|
| ๐ Parallel | Independent tasks | All agents work simultaneously |
| โก๏ธ Sequential | Dependent tasks | Tasks execute in order |
| ๐ Mixed | Complex projects | Staged parallel + sequential |
# Clone the repository
git clone https://github.com/yourusername/myteam.git
cd myteam
# Start the AI team system
./start-ai-team.sh
# Initialize all agents
./initialize-agents.sh
# Connect to CEO for project delegation
tmux attach -t ceo# Send a project to your AI team
./send-message.sh ceo "Create a web application with user authentication"
# Monitor the team workspace
tmux attach -t team
# View communication logs
tail -f logs/communication.log- Claude CLI: Latest version with API access
- tmux: Terminal multiplexer (v3.0+)
- Bash: Unix shell (v4.0+)
- Git: Version control system
# Install Claude CLI (if not already installed)
# Follow official Claude CLI installation guide
claude --version# macOS
brew install tmux
# Ubuntu/Debian
sudo apt-get install tmux
# CentOS/RHEL
sudo yum install tmux# Clone and navigate
git clone https://github.com/yourusername/myteam.git
cd myteam
# Make scripts executable
chmod +x *.sh
# Verify setup
./send-message.sh --list# Start the system
./start-ai-team.sh
# In another terminal, initialize agents
./initialize-agents.sh
# Test communication
./send-message.sh manager "System status check"./start-ai-team.shCreates two tmux sessions:
ceo: CEO interface for strategic decisionsteam: 4-pane workspace for monitoring all agents
./initialize-agents.shLoads role-specific instructions for each agent.
# Connect to CEO
tmux attach -t ceo
# Provide project instructions
"Create a mobile app for task management with React Native"# Switch to team workspace
tmux attach -t team
# Or view logs in real-time
tail -f logs/communication.log# Send message to specific agent
./send-message.sh [agent] "[message]"
# Available agents
./send-message.sh --list
# Examples
./send-message.sh manager "Start new sprint planning"
./send-message.sh dev1 "Focus on UI/UX design"
./send-message.sh dev2 "Setup backend infrastructure"# List active sessions
tmux list-sessions
# Attach to specific session
tmux attach -t ceo
tmux attach -t team
# Detach from session (keep running)
# Press: Ctrl+B then D
# Stop entire system
tmux kill-server- Primary Role: Strategic decision-making and final approval
- Behavior: Delegates all work to Manager, never performs direct tasks
- Communication: Issues high-level project directives
- Output: Final project approval and strategic guidance
- Primary Role: Project coordination and task dependency management
- Capabilities:
- Analyzes task dependencies (parallel/sequential/mixed)
- Dynamically assigns roles based on project type
- Automatically progresses workflow based on completion reports
- Communication: Receives from CEO, coordinates with all dev agents
- Output: Task assignments, progress reports, final deliverables
- Specialization: UI/UX, Frontend, Marketing, Design
- Adaptability: Adjusts expertise based on project requirements
- Skills:
- User interface design and development
- User experience optimization
- Marketing strategy and content creation
- Visual design and branding
- Specialization: Backend, Infrastructure, Data Analysis, Strategy
- Adaptability: Scales from simple scripts to enterprise architecture
- Skills:
- Server-side development and APIs
- Database design and optimization
- Cloud infrastructure and DevOps
- Data analysis and business intelligence
- Specialization: Quality Assurance, Testing, Research, Operations
- Adaptability: Ensures quality across all project types
- Skills:
- Automated testing and quality assurance
- Research and technical documentation
- Operations and maintenance procedures
- Security auditing and compliance
ใใใญใธใงใฏใ้ๅงๆ็คบใ
Project: [Project Name]
Requirements: [Detailed requirements]
Priority: [High/Medium/Low]
Deadline: [Timeline]
ใใฟในใฏๅๆ
ๆ็คบใ
Agent: [dev1/dev2/dev3]
Role: [Specific role for this project]
Tasks: [Detailed task list]
Dependencies: [Task dependencies]
ใๅฎไบๅ ฑๅใ
Task: [Completed task]
Deliverables: [Created outputs]
Status: [Completed/Issues encountered]
Next: [Waiting for instructions]
All communications are automatically logged to logs/communication.log:
[2025-07-07 15:30:15] ceo โ manager: "ใใใญใธใงใฏใ้ๅงๆ็คบใ..."
[2025-07-07 15:31:22] manager โ dev1: "ใใฟในใฏๅๆ
ๆ็คบใ..."
[2025-07-07 15:45:33] dev1 โ manager: "ใๅฎไบๅ ฑๅใ..."
myteam/
โโโ ๐ README.md # This file
โโโ ๐ start-ai-team.sh # System startup script
โโโ ๐ง initialize-agents.sh # Agent initialization
โโโ ๐ค send-message.sh # Inter-agent communication
โโโ ๐ ceo-command.sh # CEO helper commands
โโโ ๐ instructions/ # Agent role definitions
โ โโโ ๐ข ceo.md # CEO behavior patterns
โ โโโ ๐ manager.md # Manager workflow system
โ โโโ ๐จโ๐ป developer.md # Dev agent adaptability
โโโ ๐ logs/ # Communication logs
โ โโโ ๐ฌ communication.log # Complete message history
โโโ ๐ ๏ธ docs/ # Additional documentation
Each agent is initialized with specific instructions:
# CEO initialization
claude --dangerously-skip-permissions instructions/ceo.md
# Manager initialization
claude --dangerously-skip-permissions instructions/manager.md
# Dev agents initialization
claude --dangerously-skip-permissions instructions/developer.md- Private Sessions: All tmux sessions use secure configurations
- Audit Trail: Complete communication logging for accountability
- Permission Control:
--dangerously-skip-permissionsflag for controlled access - Isolation: Each agent operates in isolated environment
- Agent Instruction Files: Detailed behavior definitions
- Communication Logs: Historical interaction data
- Setup Scripts: System initialization details
- Demo Examples: Video demonstrations and tutorials
- Best Practices: Optimization tips and troubleshooting
For advanced users, see:
- Custom Agent Roles: Modifying
instructions/*.mdfiles - Workflow Optimization: Tuning task dependency management
- Integration Patterns: Connecting with external systems
- Performance Monitoring: Analyzing team effectiveness
We welcome contributions from the community! Here's how you can help:
- ๐ Bug Reports: Found an issue? Open an issue
- ๐ก Feature Requests: Have an idea? Suggest a feature
- ๐ Documentation: Improve docs, add examples, create tutorials
- ๐ง Code: Submit pull requests for bug fixes or new features
- ๐จ UI/UX: Enhance the user experience and interface design
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow existing code style and conventions
- Add tests for new functionality
- Update documentation for any changes
- Ensure all tests pass before submitting
- Write clear, descriptive commit messages
Thanks to all contributors who have helped make this project better!
This project is licensed under the MIT License - see the LICENSE file for details.
- โ Use: Commercial and private use allowed
- โ Modify: Modification and distribution allowed
- โ Distribute: Distribution allowed
- โ Private: Private use allowed
- โ Include: License and copyright notice required
- โ Liability: No liability or warranty provided
- Claude AI - For providing the intelligent agent capabilities
- Anthropic - For developing Claude and making AI collaboration possible
- tmux Community - For the excellent terminal multiplexer
- Open Source Community - For inspiration and countless tools that made this possible
- Claude CLI - Official Claude command-line interface
- AI Agent Frameworks - Similar multi-agent systems
- Workflow Automation - Task management and automation tools
Get Started | View Demo | Join Community
Made with โค๏ธ by the MyTeam community