Skip to content

sounosuke/myteam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐Ÿค– MyTeam - AI Multi-Agent Parallel Execution System

License: MIT GitHub Stars GitHub Issues GitHub Pull Requests Code Quality

๐Ÿš€ Revolutionary AI team collaboration system using Claude CLI and tmux for parallel project execution across development, marketing, planning, and analysis.

๐Ÿ“‹ Table of Contents

โœจ Features

๐ŸŽฏ Core Capabilities

  • ๐Ÿ”„ 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

๐ŸŽจ Advanced Features

  • ๐Ÿ“Š 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

๐Ÿ—๏ธ System Architecture

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
Loading

๐Ÿ”„ Execution Strategies

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

๐Ÿš€ Quick Start

โšก 30-Second Setup

# 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

๐ŸŽฌ Demo Usage

# 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

๐Ÿ“ฆ Installation

๐Ÿ“‹ Prerequisites

  • Claude CLI: Latest version with API access
  • tmux: Terminal multiplexer (v3.0+)
  • Bash: Unix shell (v4.0+)
  • Git: Version control system

๐Ÿ”ง Step-by-Step Installation

1. Claude CLI Setup

# Install Claude CLI (if not already installed)
# Follow official Claude CLI installation guide
claude --version

2. System Dependencies

# macOS
brew install tmux

# Ubuntu/Debian
sudo apt-get install tmux

# CentOS/RHEL
sudo yum install tmux

3. Project Setup

# 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

4. First Run

# Start the system
./start-ai-team.sh

# In another terminal, initialize agents
./initialize-agents.sh

# Test communication
./send-message.sh manager "System status check"

๐Ÿ’ป Usage

๐ŸŽฏ Basic Workflow

1. Start the System

./start-ai-team.sh

Creates two tmux sessions:

  • ceo: CEO interface for strategic decisions
  • team: 4-pane workspace for monitoring all agents

2. Initialize Agents

./initialize-agents.sh

Loads role-specific instructions for each agent.

3. Delegate Projects

# Connect to CEO
tmux attach -t ceo

# Provide project instructions
"Create a mobile app for task management with React Native"

4. Monitor Progress

# Switch to team workspace
tmux attach -t team

# Or view logs in real-time
tail -f logs/communication.log

๐Ÿ“ž Communication Commands

# 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"

๐Ÿ”„ Session Management

# 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

๐Ÿค– Agent Roles

๐Ÿข CEO Agent (ceo:0)

  • 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

๐Ÿ‘” Manager Agent (team:0.0)

  • 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

๐Ÿ‘จโ€๐Ÿ’ป Dev Agent 1 (team:0.1)

  • 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

๐Ÿ‘ฉโ€๐Ÿ’ป Dev Agent 2 (team:0.2)

  • 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

๐Ÿ”ง Dev Agent 3 (team:0.3)

  • 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

๐Ÿ“ž Communication Protocol

๐Ÿ“จ Message Format

๐Ÿข CEO โ†’ Manager Delegation

ใ€ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆ้–‹ๅง‹ๆŒ‡็คบใ€‘
Project: [Project Name]
Requirements: [Detailed requirements]
Priority: [High/Medium/Low]
Deadline: [Timeline]

๐Ÿ“‹ Manager โ†’ Dev Agents Assignment

ใ€ใ‚ฟใ‚นใ‚ฏๅˆ†ๆ‹…ๆŒ‡็คบใ€‘
Agent: [dev1/dev2/dev3]
Role: [Specific role for this project]
Tasks: [Detailed task list]
Dependencies: [Task dependencies]

โœ… Dev Agents โ†’ Manager Completion

ใ€ๅฎŒไบ†ๅ ฑๅ‘Šใ€‘
Task: [Completed task]
Deliverables: [Created outputs]
Status: [Completed/Issues encountered]
Next: [Waiting for instructions]

๐Ÿ“ Logging System

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: "ใ€ๅฎŒไบ†ๅ ฑๅ‘Šใ€‘..."

๐Ÿ”ง Configuration

๐Ÿ“ File Structure

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

โš™๏ธ Agent Configuration

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

๐Ÿ” Security Settings

  • Private Sessions: All tmux sessions use secure configurations
  • Audit Trail: Complete communication logging for accountability
  • Permission Control: --dangerously-skip-permissions flag for controlled access
  • Isolation: Each agent operates in isolated environment

๐Ÿ“š Documentation

๐Ÿ“– Additional Resources

๐Ÿ”ง Advanced Configuration

For advanced users, see:

  • Custom Agent Roles: Modifying instructions/*.md files
  • Workflow Optimization: Tuning task dependency management
  • Integration Patterns: Connecting with external systems
  • Performance Monitoring: Analyzing team effectiveness

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

๐ŸŒŸ Ways to Contribute

  1. ๐Ÿ› Bug Reports: Found an issue? Open an issue
  2. ๐Ÿ’ก Feature Requests: Have an idea? Suggest a feature
  3. ๐Ÿ“– Documentation: Improve docs, add examples, create tutorials
  4. ๐Ÿ”ง Code: Submit pull requests for bug fixes or new features
  5. ๐ŸŽจ UI/UX: Enhance the user experience and interface design

๐Ÿ“‹ Development Process

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“ Contribution Guidelines

  • 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

๐Ÿ† Contributors

Thanks to all contributors who have helped make this project better!

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ“œ MIT License Summary

  • โœ… 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

๐Ÿ™ Acknowledgments

๐Ÿ’ซ Special Thanks

  • 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

๐Ÿ”— Related Projects


๐Ÿš€ Ready to revolutionize your team collaboration?

Get Started | View Demo | Join Community

Made with โค๏ธ by the MyTeam community

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages