https://github.com/webdevtodayjason/splitmind
SplitMind is a self-spawning team of AI coders using Claude Code, Tmux sessions, and Git worktrees.
https://github.com/webdevtodayjason/splitmind
Last synced: 8 months ago
JSON representation
SplitMind is a self-spawning team of AI coders using Claude Code, Tmux sessions, and Git worktrees.
- Host: GitHub
- URL: https://github.com/webdevtodayjason/splitmind
- Owner: webdevtodayjason
- Created: 2025-06-05T12:20:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-08T03:44:47.000Z (about 1 year ago)
- Last Synced: 2025-10-06T01:30:33.322Z (8 months ago)
- Language: Python
- Size: 1.89 MB
- Stars: 10
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SplitMind v2.0
๐ง Enterprise-Grade Multi-Agent AI Development Platform
---
## ๐ **What's New in SplitMind v2.0**
### ๐๏ธ **Complete Platform Redesign**
- **๐๏ธ Professional Web Dashboard** - Modern React/TypeScript interface
- **๐ก๏ธ Enterprise Security** - Safe project management with confirmation workflows
- **โก Real-time Everything** - Live WebSocket updates across all features
- **๐๏ธ Project Manager** - Complete project lifecycle management
- **โ๏ธ Global Settings** - Centralized configuration and API management
### ๐ค **Advanced Agent Coordination (A2AMCP)**
- **๐ Multi-Agent Protocol** - Agents coordinate through Redis backend
- **๐ Live Coordination Dashboard** - Real-time agent monitoring with interactive graphs
- **๐ File Locking System** - Prevents conflicts during parallel development
- **๐ฌ Agent Communication** - Direct agent-to-agent messaging and interface sharing
- **๐ Comprehensive Analytics** - Todo tracking, heartbeat monitoring, completion metrics
### ๐ฏ **Smart Project Management**
- **๐ Project Manager Homepage** - Default landing page for power users
- **๐๏ธ Safe Deletion** - Type project name to confirm with complete cleanup options
- **๐ Project Reset** - Clean slate functionality for testing and iteration
- **๐ Project Statistics** - Real-time insights and health monitoring
- **๐ One-Click Launch** - Simplified project creation and setup
---
## โก **Quick Start**
### ๐ฏ **One Command Setup**
```bash
git clone https://github.com/webdevtodayjason/splitmind.git
cd splitmind
python setup.py
```
### ๐ **Launch Command Center**
```bash
python launch-dashboard.py
```
**Then open:** http://localhost:8000
---
## ๐ **Core Features**
### ๐๏ธ **Command Center Dashboard**
- **๐ Real-time Project Overview** with live statistics
- **๐ค Agent Status Monitoring** with start times and duration tracking
- **๐ Task Flow Visualization** with drag-and-drop kanban boards
- **โ๏ธ Orchestrator Control** with configurable agent limits and auto-merge
- **๐ WebSocket Live Updates** for instant status synchronization
### ๐ง **AI Task Master 2.0**
- **๐ Wave-Based Task Generation** - Intelligent dependency management
- **๐ฏ Custom AI Prompts** - Tailored instructions for each task
- **๐ Structured Task Breakdown** - Professional development workflows
- **๐ Adaptive Planning** - Dynamic task adjustment based on progress
- **๐ Plan Editing** - Manual refinement of AI-generated strategies
### ๐ **Multi-Agent Coordination**
- **๐ค A2AMCP Protocol** - Advanced agent-to-agent communication
- **๐ก Real-time Coordination** - Live monitoring of agent interactions
- **๐ Conflict Prevention** - File locking and resource management
- **๐ฌ Agent Messaging** - Direct communication between AI agents
- **๐งฉ Interface Sharing** - Type definitions and shared components
### ๐ก๏ธ **Enterprise Security & Management**
- **๐ Safe Project Deletion** - Type confirmation with cleanup options
- **๐ Project Reset** - Complete environment cleanup
- **โ๏ธ Global Configuration** - Centralized API key and settings management
- **๐ Audit Trails** - Complete activity logging and monitoring
- **๐จ Error Recovery** - Graceful handling of failures and conflicts
---
## ๐ฏ **Complete Workflow**
### 1๏ธโฃ **First Time Setup**
```bash
# Quick installation
python setup.py
# Launch dashboard
python launch-dashboard.py
```
### 2๏ธโฃ **Configure Global Settings**
1. Click **โ๏ธ Settings** in top navigation
2. Add your **Anthropic API Key**
3. Configure **Orchestrator Settings**:
- Max concurrent agents (1-20)
- Auto-merge preferences
- Spawn intervals
### 3๏ธโฃ **Create Your First Project**
1. **Project Manager** opens as homepage for returning users
2. Click **"+ Create Project"** or use **"Manage Projects"** button
3. Configure project details:
- **Name & Description**
- **Git Repository Path**
- **Agent Limits**
### 4๏ธโฃ **Generate AI-Powered Development Plan**
1. Navigate to project **Settings Tab**
2. Add **Project Overview** and **Initial Prompt**
3. Click **"๐ AI Task Master"** for comprehensive planning
4. Review generated **wave-based task breakdown**
### 5๏ธโฃ **Launch Multi-Agent Development**
1. **Start Orchestrator** in project sidebar
2. Watch **real-time task progression**:
- `UNCLAIMED` โ `UP_NEXT` โ `IN_PROGRESS` โ `COMPLETED` โ `MERGED`
3. Monitor agents in **Coordination Dashboard**:
- Live agent visualization
- File lock monitoring
- Communication tracking
### 6๏ธโฃ **Monitor & Coordinate**
- **๐ Task Board**: Drag-and-drop task management
- **๐ค Agent Monitor**: Live status and performance metrics
- **๐ Coordination Tab**: Real-time multi-agent coordination
- **๐ก Event Stream**: Live coordination events and communications
---
## ๐๏ธ **Architecture Overview**
### ๐๏ธ **Dashboard Architecture**
```
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ React/TS โ โ FastAPI โ โ Redis โ
โ Frontend โโโโโบโ Backend โโโโโบโ Coordination โ
โ โ โ โ โ Store โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโ โ
โ โ WebSocket โ โ
โโโโโโโโโโโโโโโโค Real-time โโโโโโโโโโโโโโโโ
โ Updates โ
โโโโโโโโโโโโโโโโโโโ
```
### ๐ค **Agent Coordination (A2AMCP)**
```
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Agent 1 โ โ Coordination โ โ Agent 2 โ
โ (Claude CLI) โโโโโบโ Monitor โโโโโบโ (Claude CLI) โ
โ โ โ (Redis) โ โ โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโ โ
โ โ File Locks โ โ
โโโโโโโโโโโโโโโโค & Messages โโโโโโโโโโโโโโโโ
โ & Interfaces โ
โโโโโโโโโโโโโโโโโโโ
```
### ๐ **Development Flow**
```
Project Creation โ AI Planning โ Task Generation โ Agent Spawning
โ โ โ โ
โผ โผ โผ โผ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
โ Settings โ โ AI Task โ โ Wave โ โ Parallel โ
โ & Overview โ โ Master โ โ Based โ โ Execution โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ Tasks โ โโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโ โ
โ โผ
โผ โโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโ โ Real-time โ
โCoordination โ โ Monitoring โ
โ & Merge โ โ & Control โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
```
---
## ๐ ๏ธ **Configuration**
### โ๏ธ **Global Settings**
Access via **Settings icon** in top navigation:
#### ๐ง **Anthropic API**
- **API Key**: Secure storage with validation
- **Model Selection**: Claude 3 Opus, Sonnet, Haiku, 3.5 Sonnet
- **Direct link** to Anthropic Console
#### ๐ฅ **Orchestrator Control**
- **Enable/Disable**: Master orchestrator switch
- **Max Agents**: 1-20 concurrent agents
- **Auto-merge**: Automatic vs manual review
- **Spawn Interval**: 10-600 second intervals
- **Merge Strategy**: merge, rebase, squash
### ๐ **Project Settings**
Individual project configuration:
- **Project Overview**: Detailed context for AI agents
- **Initial Prompt**: Development objectives
- **Max Agents**: Project-specific limits
- **Git Integration**: Branch management and worktree handling
---
## ๐ **Real-time Monitoring**
### ๐๏ธ **Coordination Command Center**
**Location**: Project โ Coordination Tab
#### ๐ธ๏ธ **Live Agent Graph**
- **Pulsing nodes** represent active agents
- **Color coding**: ๐ข Active, ๐ก Working, ๐ด Offline
- **Progress bars** show todo completion
- **File lock indicators** prevent conflicts
- **Communication lines** show agent interactions
#### ๐ก **Event Stream**
Real-time feed of:
- Agent registrations and heartbeats
- Todo creation and completion
- File locking and unlocking
- Inter-agent communications
- Task completion notifications
#### ๐ **Live Statistics**
- **Active vs Total Agents**
- **Todo Completion Rates**
- **File Lock Counts**
- **Communication Graph Analysis**
### ๐ค **Agent Status Monitoring**
**Location**: Project โ Agents Tab
- **Individual agent cards** with health status
- **Start times** and **duration tracking**
- **Live session monitoring**
- **iTerm integration** for direct agent access
- **Session management** and cleanup tools
---
## ๐๏ธ **Project Management**
### ๐ **Project Manager Homepage**
**Default page for returning users** - accessible via **"Manage Projects"**
#### ๐ **Project Grid View**
- **Visual project cards** with status indicators
- **Creation dates** and **Git repository status**
- **Quick access buttons**: Edit, Reset, Delete
- **Project statistics** and health monitoring
#### โ๏ธ **Project Operations**
- **โ๏ธ Edit**: Update name, description, settings
- **๐ Reset**: Clean tasks, sessions, branches
- **๐๏ธ Delete**: Safe deletion with confirmation
### ๐ก๏ธ **Enhanced Delete Safety**
**Enterprise-grade protection**:
1. **โ ๏ธ Hazardous confirmation dialog**
2. **Type project name** to enable deletion
3. **Complete cleanup toggle**:
- **Safe**: Remove from SplitMind only
- **Complete**: Remove tasks, worktrees, branches, sessions, .splitmind directory
4. **Real-time validation** with visual feedback
5. **Disabled delete button** until confirmed
---
## ๐งฑ **Technical Architecture**
### ๐ **Project Structure**
```
splitmind/ # Main installation
โโโ ๐ README.md # This documentation
โโโ ๐ launch-dashboard.py # One-click launcher
โโโ โ๏ธ setup.py # Installation script
โโโ ๐ dashboard/ # Web interface
โ โโโ ๐ง backend/ # FastAPI server
โ โ โโโ api.py # REST endpoints
โ โ โโโ orchestrator.py # Agent management
โ โ โโโ coordination_monitor.py # A2AMCP monitoring
โ โ โโโ models.py # Data structures
โ โ โโโ websocket_manager.py # Real-time updates
โ โโโ ๐จ frontend/ # React dashboard
โ โโโ components/ # UI components
โ โโโ services/ # API clients
โ โโโ hooks/ # Custom React hooks
โโโ ๐ค A2AMCP/ # Agent coordination
โ โโโ mcp-server-redis.py # Coordination server
โ โโโ sdk/ # Python SDK
โโโ ๐ projects/ # User projects
โโโ your-project/ # Individual project
โโโ .splitmind/ # Project metadata
โโโ worktrees/ # Git worktrees
โโโ .git/ # Git repository
```
### ๐ **API Architecture**
#### ๐ก **REST Endpoints**
```
๐๏ธ Projects: /api/projects/*
๐ Tasks: /api/projects/{id}/tasks/*
๐ค Agents: /api/projects/{id}/agents/*
โ๏ธ Orchestrator: /api/orchestrator/*
๐ง Plan Gen: /api/projects/{id}/generate-*
๐ Coordination: /api/projects/{id}/coordination/*
```
#### ๐ **WebSocket Events**
```
๐ Real-time Updates: /ws/updates
๐ Coordination Stream: /api/projects/{id}/coordination/live
```
#### ๐ค **A2AMCP Protocol**
```
Redis Store:
โโโ ๐ค splitmind:{project}:agents # Agent registry
โโโ ๐ splitmind:{project}:heartbeat # Agent health
โโโ ๐ splitmind:{project}:todos # Task tracking
โโโ ๐ splitmind:{project}:file_locks # Resource locks
โโโ ๐งฉ splitmind:{project}:interfaces # Shared types
โโโ ๐ฌ splitmind:{project}:messages # Communications
```
---
## ๐จ **Troubleshooting**
### ๐ง **Common Issues**
#### ๐ซ **Can't Delete Projects**
**Symptom**: Delete button stays disabled
**Solution**: Type the exact project name in confirmation field
#### ๐ **Tasks Stuck in UP_NEXT**
**Symptoms**: Tasks not being picked up by agents
**Solutions**:
1. Check **Orchestrator Status** (should be green/running)
2. Verify **Agent Limits** vs currently running agents
3. Review **File Conflicts** in coordination tab
4. Check **Claude CLI** configuration
#### ๐ **WebSocket Disconnections**
**Symptoms**: No real-time updates, status indicators red
**Solutions**:
1. **Refresh browser** - auto-reconnects every 3 seconds
2. **Clear browser cache** and reload
3. **Check backend** is running on port 8000
4. **Restart dashboard**: `python launch-dashboard.py`
#### ๐ **Agent Coordination Issues**
**Symptoms**: Agents not appearing in coordination tab
**Solutions**:
1. **Verify Redis** connection (Docker container running)
2. **Check MCP server** on port 5050
3. **Restart A2AMCP**: `cd A2AMCP && docker-compose restart`
4. **Check agent logs** for MCP registration errors
### ๐งน **Clean Reset**
**Complete system reset**:
```bash
# 1. Stop all processes
tmux kill-server
docker-compose -f A2AMCP/docker-compose.yml down
# 2. Clear configuration
rm -f config.json projects.json
# 3. Reset Redis data
docker-compose -f A2AMCP/docker-compose.yml down -v
# 4. Rebuild frontend
cd dashboard/frontend
rm -rf node_modules dist
npm install
npm run build
cd ../..
# 5. Restart everything
docker-compose -f A2AMCP/docker-compose.yml up -d
python launch-dashboard.py
```
### ๐ **Debug Mode**
**Verbose logging**:
```bash
python launch-dashboard.py --dev
```
---
## ๐ฏ **Advanced Usage**
### ๐ง **Custom Task Prompts**
**Enhanced AI Instructions**:
1. Click any task card to open details
2. Edit the **AI Prompt** field with specific requirements
3. Add **technical specifications** and **context**
4. Include **dependency information** and **constraints**
### ๐ **Coordination Monitoring**
**Real-time Agent Analysis**:
1. Navigate to **Coordination Tab** in any project
2. **๐ธ๏ธ Live Graph**: Interactive agent visualization
3. **๐ก Event Stream**: Real-time coordination events
4. **๐ File Locks**: Active resource conflicts
5. **๐ Statistics**: Performance metrics and health
### ๐๏ธ **Multi-Project Workflows**
**Enterprise Project Management**:
1. **Project Manager Homepage**: Overview of all projects
2. **Quick switching**: Select projects from top navigation
3. **Bulk operations**: Reset or delete multiple projects
4. **Resource monitoring**: Cross-project agent usage
### โ๏ธ **Orchestrator Optimization**
**Performance Tuning**:
- **Agent Limits**: Balance speed vs system resources
- **Spawn Intervals**: Adjust based on task complexity
- **Auto-merge Settings**: Enable for faster iteration
- **File Lock Monitoring**: Prevent coordination conflicts
---
## ๐ฎ **Roadmap**
### ๐ **Version 2.1 (Coming Soon)**
- **๐ GitHub Integration**: Direct PR management
- **๐ Analytics Dashboard**: Performance insights and metrics
- **๐ค Agent Templates**: Pre-configured agent behaviors
- **๐ Workflow Automation**: Custom development pipelines
### ๐ **Version 2.2 (Future)**
- **โ๏ธ Cloud Deployment**: One-click cloud hosting
- **๐ฅ Team Collaboration**: Multi-user project management
- **๐ Plugin System**: Custom integrations and extensions
- **๐ฑ Mobile Interface**: Project monitoring on mobile
### ๐ฏ **Version 3.0 (Vision)**
- **๐ง Multi-LLM Support**: OpenAI, Gemini, local models
- **๐ Advanced Coordination**: Complex multi-agent workflows
- **๐ Enterprise Features**: SSO, audit logs, compliance
- **๐ Distributed Agents**: Cross-platform and remote execution
---
## ๐ค **Contributing**
### ๐ ๏ธ **Development Setup**
```bash
# 1. Fork and clone
git clone https://github.com/yourusername/splitmind.git
cd splitmind
# 2. Install dependencies
python setup.py
# 3. Start development server
python launch-dashboard.py --dev
# 4. Frontend development
cd dashboard/frontend
npm run dev # Hot reload development
```
### ๐ **Contribution Guidelines**
1. **๐ Check Issues**: Look for existing bugs or feature requests
2. **๐ฟ Create Branch**: `git checkout -b feature/amazing-feature`
3. **โ
Follow Standards**: Use existing code style and patterns
4. **๐งช Test Changes**: Verify all functionality works
5. **๐ Update Docs**: Add documentation for new features
6. **๐ Submit PR**: Detailed description of changes
### ๐๏ธ **Architecture Contributions**
- **๐จ Frontend**: React/TypeScript components in `/dashboard/frontend`
- **๐ง Backend**: FastAPI endpoints in `/dashboard/backend`
- **๐ค Coordination**: A2AMCP protocol in `/A2AMCP`
- **๐ Monitoring**: Real-time features and WebSocket handling
---
## ๐ **License**
**MIT License** - see LICENSE file for details.
SplitMind is open source software built for the developer community.
---
## ๐ **Acknowledgments**
### ๐ค **AI Partners**
- **Anthropic Claude** - Powering intelligent agent coordination
- **Claude Code** - Development acceleration platform
### ๐ ๏ธ **Technology Stack**
- **React + TypeScript** - Modern frontend development
- **FastAPI + Python** - High-performance backend
- **Redis** - Real-time coordination store
- **WebSockets** - Live dashboard updates
- **Docker** - Containerized coordination services
### ๐ **Community**
- **Early Adopters** - Feedback and testing
- **Contributors** - Code, documentation, and ideas
- **Developer Community** - Inspiration and innovation
---
## ๐ **Support & Community**
### ๐ **Get Help**
- **๐ง Email**: jason@webdevtoday.com
- **๐ Issues**: [GitHub Issues](https://github.com/webdevtodayjason/splitmind/issues)
- **๐ Documentation**: [Full Docs](https://github.com/webdevtodayjason/splitmind/docs)
### ๐ **Connect**
- **๐ GitHub**: [@webdevtodayjason](https://github.com/webdevtodayjason)
- **๐ฆ Twitter**: [@webdevtodayjason](https://twitter.com/webdevtodayjason)
- **๐ผ LinkedIn**: [Jason Brashear](https://linkedin.com/in/jasonbrashear)
- **๐ Website**: [WebDevToday.com](https://webdevtoday.com)
### ๐ **Enterprise**
For enterprise licensing, custom integrations, or professional support:
- **๐ง Enterprise**: enterprise@webdevtoday.com
- **๐ Consulting**: Available for custom implementations
---
๐ง SplitMind v2.0 - Where AI Agents Collaborate
Built with โค๏ธ by Jason Brashear
---
## ๐ท๏ธ **Tags**
`ai-development` `multi-agent` `claude-ai` `task-orchestration` `real-time-coordination` `web-dashboard` `enterprise-tools` `parallel-development` `agent-coordination` `a2amcp` `redis` `websockets` `react` `typescript` `fastapi` `python`