MassGen
π MassGen is an open-source multi-agent scaling system that runs in your terminal, autonomously orchestrating frontier models and agents to collaborate, reason, and produce high-quality results. | Join us on Discord: discord.massgen.ai
claude mcp add --transport stdio massgen-massgen uvx massgen
How to use
MassGen is a Python-based, multi-agent coordination framework that orchestrates multiple AI agents to tackle complex tasks through parallel work, observation, critique, and iterative refinement. It supports various coordination modes and includes features like live visualization, consensus-based validation, and optional web/Rich UI displays. To start MassGen you run the MassGen package with the uv command, which launches the MCP-compatible server and enables the built-in agent collaboration workflow. Once running, you can interact with MassGen through its configured frontends and APIs, observe agent voting and task progress, and leverage the automated refinement cycles to converge on higher-quality solutions. The system emphasizes redundancy across agents and iterative improvement through cycles of refinement and restart, with consensus used to select the best validated result.
How to install
Prerequisites:
- Python 3.11+ installed on your system
- Access to a shell/terminal
- Internet connection to fetch the MassGen package
-
Create and activate a Python virtual environment (recommended): python3.11 -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate
-
Install MassGen from PyPI: pip install massgen
-
Install the UV toolchain (used to run MassGen via MCP). Depending on your setup, you can install the uv/uvx CLI tooling. A common approach is to install via your preferred method (e.g., pipx):
- If using pipx: pipx install uvx
- Or follow the official UV/uvx installation instructions from the project pages to ensure the uvx CLI is available as uv or uvx
-
Run MassGen via MCP (MCP-compatible command): uv run massgen --quickstart
-
Optional: pin a specific version or start in a virtual environment to avoid system-wide changes.
Notes:
- Ensure Python 3.11+ compatibility with MassGen. Some features may require newer dependencies.
- If you encounter permission errors on install, consider using --user or virtual environments.
Additional notes
Environment variables and configuration options can customize MassGen behavior (e.g., model backends, tool integrations, and UI preferences). If you're using a cloud or container environment, ensure network access to required APIs and that the UV toolchain has runtime permissions. Typical issues include missing dependencies for agents/tools, authentication for OpenAI or other models, and resource limits on CPU/GPU. When debugging MCP-related tasks, check the MassGen logs for agent voting outcomes and iteration counts to understand how consensus is reached. If you want to switch backend models or enable multimodal tool support, refer to the MassGen configuration docs and the backend configuration reference.
Related MCP Servers
easy-vibe
vibe coding from 0 to 1 ο½ vibecoding ιΆεΊη‘ζη¨ ο½ δΊ§εεεγAI θ½ειζγεεη«―εΌεγε€εΉ³ε°εΊη¨εΌεζη¨
amazon-q-developer-cli
β¨ Agentic chat experience in your terminal. Build applications using natural language.
agentic-radar
A security scanner for your LLM agentic workflows
sdk-typescript
A model-driven approach to building AI agents in just a few lines of code.
joinly
Make your meetings accessible to AI Agents
agent-builder
An example agent demonstrating streaming, tool use, and interactivity from your terminal. This agent builder can help you to build your own agents and tools.