Artificial Intelligence 14 min read

Ragent: Ant Group’s Ray‑Based Distributed Agent Framework

This article introduces Ragent, Ant Group’s Ray‑powered distributed agent framework, covering its background, motivation, design, implementation details, multi‑agent capabilities, and future directions for large‑model AI applications.

DataFunTalk
DataFunTalk
DataFunTalk
Ragent: Ant Group’s Ray‑Based Distributed Agent Framework

Ant Group presents Ragent, a new distributed agent framework built on Ray, aiming to support large‑model AI workloads at massive scale.

Background : Ray, originally developed by OpenAI for large‑model training, has been adopted by Ant Group since 2017, contributing over 26% of Ray’s core code and operating more than 1.5 million CPU cores.

Motivation : Traditional service‑oriented applications struggle with the rapid prototyping, heterogeneous resource requirements, and complex deployment pipelines of AI agents; a unified, scalable solution is needed.

Design & Implementation : Ragent sits atop Ray and Kubernetes, providing a multi‑layer architecture: business layer (Agent Apps), Agent Crafting Platform, algorithm libraries (e.g., LangChain, MetaGPT), and the Ragent SDK that handles distributed execution, memory, tooling, and failover. It leverages Ray primitives (Task, Actor, Object) and Ray Data for batch processing.

The framework defines core agent modules—Profile, Memory, Planning, and Action—and supports tool registration via annotations, enabling agents to invoke external services such as LlamaIndex, Lucene, or custom DB queries.

Ragent also supports multi‑agent workflows, exemplified by a MetaGPT‑style software development pipeline where agents act as product manager, architect, coder, and tester, coordinated through an environment component that tracks tasks and message queues.

Future work includes developing an Agent Mesh protocol for standardized communication across different agent frameworks and extending support for diverse hardware accelerators.

pythonAIlarge language modelsAGENT frameworkRayDistributed Agents
DataFunTalk
Written by

DataFunTalk

Dedicated to sharing and discussing big data and AI technology applications, aiming to empower a million data scientists. Regularly hosts live tech talks and curates articles on big data, recommendation/search algorithms, advertising algorithms, NLP, intelligent risk control, autonomous driving, and machine learning/deep learning.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.