A collaborative design assistance system powered by specialized AI agents communicating through a Model Communication Protocol (MCP) server.
-
Multiple Specialized Agents:
- Coordinator Agent: Orchestrates tasks between specialized agents
- Aesthetic Agent: Provides visual and aesthetic design guidance
- UX Flow Agent: Creates user experience flows and interaction patterns
- Accessibility Agent: Ensures designs meet accessibility standards and best practices
- Persona Agent: Analyzes design from different user persona perspectives
-
Enhanced Infrastructure:
- Redis-based shared memory for persistent state management across agents
- Solana blockchain integration for verifiable agent contributions
- Robust error handling and monitoring with Prometheus and Grafana
- Comprehensive test suite with unit and integration tests
- CI/CD pipelines for automated testing and deployment
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Frontend UI │◄────►│ MCP Server │◄────►│ Coordinator │
└───────────────┘ └───────┬───────┘ └───────┬───────┘
│ │
▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Redis │◄────►│ Specialized │◄────►│ Solana │
│ Shared Memory │ │ Agents │ │ Blockchain │
└───────────────┘ └───────────────┘ └───────────────┘
- Docker and Docker Compose
- Node.js 16+ (for UI development)
- Python 3.9+ (for agent development)
- Redis (for shared memory, included in Docker Compose)
- Solana CLI tools (optional, for blockchain integration)
-
Clone the repository:
git clone https://github.com/your-org/multi-agent-design-system.git cd multi-agent-design-system -
Create a
.envfile with your OpenAI API key:OPENAI_API_KEY=your_openai_api_key_here -
Install dependencies:
pip install -r requirements.txt
Start the entire system with a single command:
docker-compose upThis will launch:
- MCP Server (WebSocket server at ws://localhost:8080)
- All specialized agents (coordinator, aesthetic, ux-flow, accessibility, persona)
- Redis for shared memory
- Local Solana test validator (for blockchain integration)
- Frontend UI (available at http://localhost:3000)
- Monitoring stack (Prometheus at http://localhost:9090, Grafana at http://localhost:3001)
To run individual components for development:
-
Start the MCP server:
cd mcp-server zig build run -
Start Redis (if not using Docker):
redis-server
-
Start individual agents:
cd agents/coordinator python agent.py # In separate terminals cd agents/aesthetic python agent.py cd agents/ux-flow python agent.py cd agents/accessibility python agent.py cd agents/persona python agent.py
-
Start the frontend UI:
cd ui npm install # First time only npm start
Run unit tests:
pytest tests/unit/Run integration tests:
pytest tests/integration/Run with coverage:
coverage run -m pytest tests/
coverage report-
Create a new directory under
agents/:mkdir -p agents/new-agent-name
-
Create an agent implementation based on the template:
cp agents/shared/templates/agent_template.py agents/new-agent-name/agent.py
-
Update the agent.py file with your specialized logic
-
Add the new agent to docker-compose.yml
agents/- All specialized agentscoordinator/- Task orchestration agentaesthetic/- Visual design agentux-flow/- User experience agentaccessibility/- Accessibility standards agentpersona/- User persona analysis agentshared/- Shared utilities and modulesmemory/- State management modules
blockchain/- Solana smart contracts for agent registrymcp-server/- Model Communication Protocol server (Zig)monitoring/- Prometheus and Grafana configurationsprotocols/- Communication protocol definitionstests/- Unit and integration testsunit/- Unit tests for individual componentsintegration/- Tests for component interactions
ui/- Frontend React application
- Fork the repository
- Create a feature branch:
git checkout -b feature/new-feature - Commit your changes:
git commit -m 'Add new feature' - Push to the branch:
git push origin feature/new-feature - Open a Pull Request