-
Notifications
You must be signed in to change notification settings - Fork 159
feat: v0.1.87 #1093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: v0.1.87 #1093
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a866e9e
feat: v0.1.87
Henry-811 27d6d97
docs: add CrewAI/LangGraph/AutoGen comparisons and llms.txt index
ncrispino 821bbff
Small chagnes
ncrispino 4d9a722
Small compare changes
ncrispino b85c629
docs: fix llms.txt relative link and list all comparisons on landing …
ncrispino b50c34f
Merge pull request #1094 from massgen/docs-comparisons-and-llms-txt
Henry-811 5fb01f3
docs: docs for v0.1.87
Henry-811 f44c1a3
update docs
Henry-811 c761319
Merge pull request #1095 from massgen/docs_for_v0.1.87
Henry-811 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # MassGen | ||
|
|
||
| > MassGen is a multi-agent framework that coordinates AI agents through redundancy and iterative refinement. Multiple agents tackle the same task in parallel, observe each other's progress, and vote to converge on the best answer. Agents can use tools (MCP), execute code, and read/write files in your project. | ||
|
|
||
| This file follows the [llms.txt convention](https://llmstxt.org). It is a curated index of canonical MassGen documentation for AI agents and crawlers. A larger, concatenated dump of the same documentation lives at [`/llms-full.txt`](llms-full.txt). | ||
|
|
||
| ## Project | ||
|
|
||
| - [Project README](https://github.com/Leezekun/MassGen): What MassGen is, screenshots, quickstart, the "How It Works" section. | ||
| - [AI_USAGE.md](https://github.com/Leezekun/MassGen/blob/main/AI_USAGE.md): How LLM agents should invoke MassGen via the CLI (always with `--automation`). | ||
| - [Changelog](changelog.html): Release notes for every MassGen version. | ||
|
|
||
| ## Quickstart | ||
|
|
||
| - [Installation](quickstart/installation.html): Install MassGen via uv / pip. | ||
| - [Running MassGen](quickstart/running-massgen.html): First run, CLI, WebUI, automation mode. | ||
| - [Configuration](quickstart/configuration.html): YAML config structure, agents, backends, orchestrator settings. | ||
|
|
||
| ## User guide | ||
|
|
||
| - [Core concepts](user_guide/concepts.html): Agents, orchestrator, voting, consensus, refinement. | ||
| - [Backends](user_guide/backends.html): Supported model providers and how to configure each (Claude, Gemini, GPT, Grok, Azure, LM Studio, OpenRouter, Codex, Claude Code SDK). | ||
| - [Skills](user_guide/skills.html): MassGen-as-a-skill for AI coding agents (Claude Code, Cursor, Copilot, …). | ||
| - [WebUI](user_guide/webui.html): Browser UI for side-by-side agent visualization and voting. | ||
| - [Filesystem & project integration](user_guide/files/index.html): Context paths, permissions, workspaces, snapshots. | ||
| - [Tools (MCP, code execution, custom tools)](user_guide/tools/index.html): How agents call tools and how to add your own. | ||
| - [Multimodal](user_guide/multimodal.html): Image and audio inputs. | ||
| - [Sessions and multi-turn](user_guide/sessions/index.html): Multi-turn conversations, memory, restart, cancellation. | ||
| - [Integration](user_guide/integration/index.html): Python API, LiteLLM custom provider, HTTP server, automation mode. | ||
| - [Validating configs](user_guide/validating_configs.html): Config schema validation. | ||
| - [Logging](user_guide/logging.html): How to read MassGen run logs. | ||
|
|
||
| ## Reference | ||
|
|
||
| - [CLI reference](reference/cli.html): All `massgen` command flags. | ||
| - [Python API reference](reference/python_api.html): Async API for embedding MassGen. | ||
| - [YAML schema](reference/yaml_schema.html): Full configuration schema. | ||
| - [Configuration examples](reference/configuration_examples.html): Worked examples per use case. | ||
| - [MCP server registry](reference/mcp_server_registry.html): MCP servers known to MassGen. | ||
| - [Supported models](reference/supported_models.html): Model registry. | ||
| - [Timeouts](reference/timeouts.html): Timeout configuration. | ||
| - [Status file](reference/status_file.html): The `status.json` file emitted in automation mode. | ||
| - [Comparisons](reference/comparisons.html): MassGen vs LLM Council, CrewAI, LangGraph, AutoGen. | ||
|
|
||
| ## Examples | ||
|
|
||
| - [Available configs](examples/available_configs.html): Index of YAML configs shipped with MassGen. | ||
| - [Basic examples](examples/basic_examples.html): Single-agent and small multi-agent setups. | ||
| - [Advanced patterns](examples/advanced_patterns.html): Complex coordination patterns. | ||
| - [Case studies](examples/case_studies.html): Side-by-side visual comparisons of MassGen vs single-agent solutions. | ||
|
|
||
| ## Optional | ||
|
|
||
| - [Development & contributing](development/contributing.html): How to contribute to MassGen. | ||
| - [Architecture](development/architecture.html): Internal architecture notes. | ||
| - [Roadmap](development/roadmap.html): What's planned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| ========================== | ||
| MassGen vs AutoGen / AG2 | ||
| ========================== | ||
|
|
||
| `AutoGen <https://github.com/microsoft/autogen>`_ is Microsoft's multi-agent conversation framework (CC-BY-4.0 docs / MIT code, ~58K GitHub stars as of May 2026). It pioneered the "agents that chat with each other and tools" pattern that much of the field now builds on. `AG2 <https://github.com/ag2ai/ag2>`_ is the community-governed continuation of AutoGen (Apache 2.0 with original MIT components, ~4.6K stars, hosted under the new ``ag2ai`` organization). Both descend from the same codebase but have diverged in stewardship and roadmap. | ||
|
|
||
| .. note:: | ||
|
|
||
| **Maintenance status — read this first.** | ||
|
|
||
| - **Microsoft AutoGen** is in maintenance mode. Microsoft has positioned `microsoft/agent-framework <https://github.com/microsoft/agent-framework>`_ as the enterprise successor, with documented migration paths from both AutoGen and Semantic Kernel, supporting Python + .NET with graph-based orchestration. AutoGen continues to receive bug fixes but no new features are planned. | ||
| - **AG2** is actively developed and serves as the community continuation of the AutoGen lineage. It is the project MassGen's own README cites as a direct predecessor — the "multi-agent conversation" idea in AG2 is part of what MassGen builds on. | ||
|
|
||
| If you are choosing today: AG2 for the AutoGen-style API with active development, Microsoft Agent Framework for the new Microsoft-stack story, and AutoGen itself only for existing codebases pinned to it. | ||
|
|
||
| This page compares MassGen with the AutoGen / AG2 lineage. Where AutoGen and AG2 differ, the differences are called out. | ||
|
|
||
| .. contents:: On This Page | ||
| :local: | ||
| :depth: 2 | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| .. list-table:: | ||
| :header-rows: 1 | ||
| :widths: 18 41 41 | ||
|
|
||
| * - Aspect | ||
| - MassGen | ||
| - AutoGen / AG2 | ||
| * - **Primary Goal** | ||
| - Parallel coordination of agents on the same task with voting and consensus | ||
| - Multi-agent conversation: agents and tools exchange messages to solve a task | ||
| * - **Architecture** | ||
| - All agents tackle the full task in parallel and converge through voting | ||
| - ``ConversableAgent`` base + group chat / swarm / nested chats / society-of-mind patterns | ||
| * - **Maintenance** | ||
| - Actively developed with regular releases | ||
| - **AutoGen:** maintenance only (successor: Microsoft Agent Framework). **AG2:** actively developed. | ||
|
|
||
| Architecture & Coordination Model | ||
| --------------------------------- | ||
|
|
||
| Both **AutoGen** and **AG2** model multi-agent work as a *conversation*. The shared lineage gives them a common shape: | ||
|
|
||
| - ``ConversableAgent`` is the base abstraction — agents send and receive messages. | ||
| - Group chat coordinates multiple agents through a *speaker selection* policy (round-robin, manager-chosen, etc.). | ||
| - Higher-level patterns (swarms, nested chats, society-of-mind) compose conversations into richer flows. | ||
| - Tools are registered as Python functions and exposed to agents; MCP servers are supported via extensions. | ||
| - Termination is rule-based (max turns, sentinel message, predicate) — there is no native voting / consensus primitive. | ||
|
|
||
| AutoGen layers this as Core / AgentChat / Extensions APIs and also ships AutoGen Studio (a no-code GUI). AG2 keeps the same conceptual model but emphasizes open governance ("AgentOS" branding) and is iterating on the API independently of Microsoft. | ||
|
|
||
| **MassGen** runs all agents in parallel on the *same* task. Coordination is voting-based: at each step every agent decides between submitting a new answer or voting for an existing one. The orchestrator detects consensus automatically and the winner presents. | ||
|
|
||
| In one line: AutoGen / AG2 model multi-agent work as a *conversation* where turn-taking is the control primitive. MassGen models it as *parallel attempts with collective validation* where voting is the control primitive. Both are valid; they optimize for different shapes of problem. | ||
|
|
||
| Feature Comparison | ||
| ------------------ | ||
|
|
||
| .. list-table:: | ||
| :header-rows: 1 | ||
| :widths: 22 22 22 34 | ||
|
|
||
| * - Feature | ||
| - MassGen | ||
| - AutoGen / AG2 | ||
| - Notes | ||
| * - **License** | ||
| - Apache 2.0 | ||
| - AutoGen: MIT (code) / CC-BY-4.0 (docs). AG2: Apache 2.0 with original MIT components. | ||
| - Both lineages fully open source for self-hosted use | ||
| * - **Languages** | ||
| - Python | ||
| - AutoGen: Python, .NET / C#. AG2: Python. | ||
| - AutoGen's .NET track is one reason to prefer it on the Microsoft stack | ||
| * - **CLI** | ||
| - ✅ ``massgen``, ``massgen --automation``, ``massgen --web`` | ||
| - AutoGen: ``autogenstudio ui``. AG2: Python-first; CLI present but less emphasized. | ||
| - Different focuses | ||
| * - **Python API** | ||
| - ✅ Async API | ||
| - ✅ Core, AgentChat, Extensions (AutoGen); ``ConversableAgent`` + orchestration patterns (AG2) | ||
| - Both layered; pick the level you want | ||
| * - **WebUI / Studio** | ||
| - ✅ Side-by-side agent panels with live streaming and vote/consensus view | ||
| - AutoGen Studio (no-code GUI; docs note it is not production-ready without extra hardening) | ||
| - Different roles | ||
| * - **MCP tools** | ||
| - ✅ First-class on every backend (Claude, Codex, Gemini, OpenAI-compatible, Grok, Claude Code SDK) | ||
| - ✅ MCP server support via extensions in both AutoGen and AG2 | ||
| - Both work | ||
| * - **Model providers** | ||
| - 10+ direct backends with per-agent heterogeneity (Claude, Gemini, GPT, Grok, Azure, LM Studio, OpenRouter, Codex, Claude Code SDK) | ||
| - OpenAI primary; other providers via extension clients / generic ``LLMConfig`` | ||
| - MassGen's backend matrix is broader and first-class | ||
| * - **Voting / consensus** | ||
| - ✅ Core mechanism; agents vote, winner presents | ||
| - ❌ Not built in (group chat uses speaker selection + termination, not voting) | ||
| - This is the central design difference | ||
| * - **Maintenance** | ||
| - Active development | ||
| - AutoGen: maintenance only. AG2: active. | ||
| - Affects long-term roadmap, not current functionality | ||
| * - **Successor / continuation** | ||
| - n/a | ||
| - AutoGen → `microsoft/agent-framework <https://github.com/microsoft/agent-framework>`_ (Python + .NET, graph-based; migration paths from both AutoGen and Semantic Kernel). AG2 is the community continuation. | ||
| - For new work, evaluate AG2 (Python-first) or Microsoft Agent Framework (Python + .NET) | ||
|
|
||
| Voting and Consensus (the MassGen Differentiator) | ||
| ------------------------------------------------- | ||
|
|
||
| AutoGen and AG2 group chats pick the *next speaker*; MassGen's protocol picks the *winner*. The two are not the same: | ||
|
|
||
| - Speaker selection is a *turn-taking* mechanism — useful when one agent's output is the input to the next. | ||
| - MassGen's voting is a *selection* mechanism — useful when you want N agents to attempt the same thing and the system to identify the strongest answer. | ||
|
|
||
| If your task is genuinely conversational (an agent asks another agent to do something, they trade messages, the chat terminates on a condition), AutoGen / AG2 is well-shaped for it. If your task benefits from many parallel attempts converging on the best answer, MassGen is purpose-built for it. | ||
|
|
||
| When to Use Each | ||
| ---------------- | ||
|
|
||
| **Choose AG2 when you need:** | ||
|
|
||
| - An *AutoGen-style API* (``ConversableAgent``, group chats, swarms, nested chats) with active community-led development. | ||
| - An open governance model independent of any single corporate steward. | ||
| - Compatibility with the broader AutoGen ecosystem of notebooks and patterns. | ||
|
|
||
| **Choose Microsoft AutoGen when you need:** | ||
|
|
||
| - Compatibility with an existing AutoGen codebase you cannot migrate. | ||
| - The .NET / C# code path alongside Python on the Microsoft stack. (Note: for new Microsoft-stack work, Microsoft Agent Framework is the recommended forward path.) | ||
|
|
||
| **Choose MassGen when you need:** | ||
|
|
||
| - *Parallel attempts + voting* as a first-class control flow with iterative refinement. | ||
| - Side-by-side live visualization of every agent's reasoning and answer. | ||
| - Heterogeneous backends per agent (Claude + Gemini + GPT + Grok all on the same task). | ||
| - An actively developed open-source project with regular releases and a broad backend matrix. | ||
|
|
||
| Related | ||
| ------- | ||
|
|
||
| - :doc:`crewai` — role-based decomposition framework | ||
| - :doc:`langgraph` — graph-based orchestration substrate | ||
| - :doc:`../comparisons` — back to comparisons hub |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.