File size: 3,093 Bytes
3baf8d1 3c60300 3baf8d1 da8a951 3baf8d1 3c60300 da8a951 3c60300 da8a951 3c60300 da8a951 3c60300 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | ---
base_model:
- Qwen/Qwen2.5-Coder-3B
license: mit
pipeline_tag: text-generation
library_name: transformers
---
# Mixture-Code-Qwen2.5-Coder-3B
[๐ Project Page](https://recursivemas.github.io) | [๐ป Code](https://github.com/RecursiveMAS/RecursiveMAS) | [๐ Paper](https://huggingface.co/papers/2604.25917)
We introduce **RecursiveMAS**, a multi-agent framework that scales agent collaboration through latent-space recursion.
RecursiveMAS treats a multi-agent system as a unified recursive computation, where heterogeneous agents iteratively exchange, refine, and evolve their latent states across recursion rounds. In the Mixture-Style setting, the Code Specialist Agent focuses on code generation and programming-related tasks, while collaborating with other domain-specialized agents through RecursiveLink modules for final response generation.
## Model Details
| Item | Description |
|---|---|
| Model | Mixture-Code-Qwen2.5-Coder-3B |
| Collaboration Style | Mixture-Style |
| Agent Role | Code Specialist Agent |
| Base Model | Qwen2.5-Coder-3B |
โ ๏ธ **Note:** This checkpoint is a **role-specific agent** in [**RecursiveMAS**](https://huggingface.co/papers/2604.25917), rather than a standalone model intended for plain-text generation.
## Sample Usage
To use this model as part of the RecursiveMAS system, you can load the entire system using the provided loader from the [official repository](https://github.com/RecursiveMAS/RecursiveMAS):
```python
from system_loader import load_mas_system
# Load the Mixture-Style MAS pipeline
mas = load_mas_system(
style="mixture",
device="cuda",
trust_remote_code=True,
)
# Access the Code Specialist agent
code_agent = mas.agents["code"].model
```
For detailed usage instructions and running on downstream tasks, please refer to the [GitHub repository](https://github.com/RecursiveMAS/RecursiveMAS).
## Model Collections for RecursiveMAS
| Style | Model Collection |
|---|---|
| Sequential-Style | [๐ค HuggingFace](https://huggingface.co/collections/RecursiveMAS/sequential-style-recursivemas) |
| Mixture-Style | [๐ค HuggingFace](https://huggingface.co/collections/RecursiveMAS/mixture-style-recursivemas) |
| Distillation-Style | [๐ค HuggingFace](https://huggingface.co/collections/RecursiveMAS/distillation-style-recursivemas) |
| Deliberation-Style | [๐ค HuggingFace](https://huggingface.co/collections/RecursiveMAS/deliberation-style-recursivemas) |
## Experiment Results
<p align="center">
<img src="https://raw.githubusercontent.com/RecursiveMAS/RecursiveMAS/main/assets/hero_fig.png" width="95%" alt="RecursiveMAS Experiment Results">
</p>
## Citation
```bibtex
@misc{recursivemas,
title={Recursive Multi-Agent Systems},
author={Xiyuan Yang and Jiaru Zou and Rui Pan and Ruizhong Qiu and Pan Lu and Shizhe Diao and Jindong Jiang and Hanghang Tong and Tong Zhang and Markus J. Buehler and Jingrui He and James Zou},
year={2026},
eprint={2604.25917},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2604.25917},
}
``` |