Mule is a sophisticated multi-agent workflow engine that automates software development tasks using AI. It combines deterministic workflow orchestration with intelligent AI agents to handle complex development workflows, from issue resolution to code generation and deployment.
- Multi-Agent Workflows: Orchestrate specialized AI agents for different tasks (architect, coder, reviewer, tester)
- Intelligent Issue Resolution: Automatically processes GitHub issues labeled with
mule - RAG-Powered Context: ChromeM vector database provides semantic search across codebases
- Multiple AI Providers: Support for OpenAI, Anthropic, Google AI, and local models via Ollama
- Production Integrations: Discord, Matrix, RSS feeds, and comprehensive APIs
- Advanced Memory System: Persistent memory for context and learning across workflows
- Validation Framework: Built-in code quality and testing validation
- Go 1.24+ (as specified in go.mod)
- Git with SSH keys configured for GitHub access
- AI provider access (Ollama recommended for local setup)
git clone https://github.com/mule-ai/mule.git
cd mule
make runThe web interface will be available at:
- Web UI: http://localhost:8083
- gRPC API: localhost:9090
- REST API: http://localhost:8083/api
- Label an issue with
mulein GitHub or create one in the local provider - Mule automatically detects the labeled issue and analyzes requirements
- AI agents collaborate to plan, implement, and validate the solution
- Pull request created with the implemented solution
- Request refinements by commenting on the PR
Below is a quick demo of the agent interaction workflow using the local provider. This same workflow can be done using a GitHub provider and performing these steps in the GitHub UI.
demo-readme.mp4
- Architect Agent: Analyzes requirements and designs solutions
- Code Agent: Implements features and fixes based on specifications
- Reviewer Agent: Reviews code quality and suggests improvements
- Tester Agent: Creates and runs tests to validate functionality
- Sequential Orchestration: Step-by-step agent coordination
- Validation Pipeline: Automated quality checks (formatting, linting, testing)
- Error Recovery: Intelligent retry and refinement mechanisms
- Context Preservation: Maintains conversation and code context across agents
providers:
- name: ollama
models: [qwen2.5-coder:32b, qwq:32b-q8_0]
workflows:
- name: code-generation
agents: [architect, coder]
validations: [goFmt, goModTidy, golangciLint, goTest]
integrations:
- discord: enabled
- matrix: enabled
- rss: enabled
- grpc: port 9090- Custom Agents: Define specialized agents for your domain
- Validation Functions: Custom validation rules and quality checks
- Provider Selection: Configure multiple AI providers with fallbacks
- Memory Management: Persistent context and learning configuration
- RAG (Retrieval-Augmented Generation): ChromeM-based vector database with repository indexing
- Multi-Agent Workflows: Sequential and parallel agent orchestration
- Multiple AI Providers: OpenAI, Anthropic, Google AI, Ollama support
- Production Integrations: Discord bot, Matrix client, RSS feeds, gRPC/HTTP APIs
- Validation Framework: Go toolchain integration (goFmt, goTest, golangciLint, etc.)
- Repository Management: GitHub integration and local Git operations
- Memory System: Persistent memory for context and learning
- Authentication: SSH and token-based GitHub authentication
- Event-Based Actions: Webhook triggers and real-time responses
- Visual Workflow Designer: Low-code workflow creation interface
- Advanced Orchestration: Hierarchical agents and consensus mechanisms
- Enterprise Security: RBAC, audit logging, and compliance features
- Image Support: Multimodal AI for visual context and analysis
- Discord: Bot for workflow triggers and notifications
- Matrix: Decentralized chat integration
- RSS: Automated feed monitoring and processing
- GitHub: Issue tracking, PR management, repository operations
- Git: Local repository management and version control
- Testing: Automated test execution and validation
- OpenAI: GPT-4, GPT-3.5-turbo support
- Anthropic: Claude-3 family integration
- Google AI: Gemini Pro and vision models
- Local Models: Ollama for private, offline inference
- API Reference: API.md - Comprehensive gRPC and REST API documentation
- Architecture Guide: wiki/architecture.md - System design and components
- Package Documentation: wiki/ - Detailed package and module guides
- Examples: examples/ - Sample workflows and integrations
- Find an issue marked
good first issue - Fork the repository
- Create a feature branch
- Submit a Pull Request
make testmake buildmake devHigh-performance, type-safe API for:
- Workflow execution and monitoring
- Agent management and control
- Provider configuration
- System health and metrics
HTTP/JSON API for:
- Web application integration
- Simple automations
- Health checks and status
- Configuration management
See API.md for complete API documentation and examples.
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs and request features on GitHub Issues
- Discussions: Join conversations on GitHub Discussions
- Documentation: Visit muleai.io for guides and tutorials
Mule - Automating software development through intelligent multi-agent workflows.