Skip to content
项目

AQ-MedAI/MrlX has 224 GitHub stars and 13 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-23 17:59 UTC. Last push 2026-01-19.

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

MrlX: A Multi-Agent Reinforcement Learning Framework

学习资源

README.md

原文

MrlX

Multi-Agent Reinforcement Learning Framework

In MrlX, Agent A and Agent B operate as independent agents, communicating via a message queue that enables cross-agent API calls, abstracts internal logic into external requests, and supports multi-turn interactions, inference result sharing, and collaborative decision-making.

At runtime, Agent A initiates multi-turn dialogue generation, while Agent B also engages in multi-turn responses. The coordination module evaluates both agents’ dialogues, calculates bilateral rewards, and drives iteration through the message queue. Each agent maintains a complete train–infer loop: the Data Buffer manages training samples, the SGLang Router schedules inference tasks, and Megatron executes model training, forming a “Generate → Train → Sync” flywheel mechanism.

Training data flows from the Data Buffer into Megatron, where updated weights are synchronized back to the inference service. This enables efficient knowledge transfer and continuous co-evolution between agents, transcending single-task limitations and allowing multi-agent systems to improve decision-making capabilities in dynamic environments.

Table of Contents

Architecture-Overview

framework

Module Description

  • training (Megatron): Responsible for the main training process; reads data from the Data Buffer, trains the model, and synchronizes updated parameters to the Rollout module
  • rollout (SGLang + router): Generates new data (including reward calculation and verification) and stores it in the data buffer
  • data buffer: Serves as a bridge between training and inference, managing prompt initialization, custom data loading, and rollout-generated content
  • custom rollout generation: Implements custom data generation logic, tailoring multi-turn interaction strategies, output formats
  • message queue: Transfers multi-turn interaction information between Agent A and Agent B, supports cross-agent API communication, task distribution, and state synchronization, and drives the iterative loop

Use-Cases

MrlX-TakesTwo

See MrlX-TakesTwo

MrlX-DeepResearch

See MrlX-DeepResearch

Acknowledgements

  • Special thanks to the following projects & communities: slime, Miles, SGLang, Megatron-LM, and others.

探索相关项目

加载中…