How Ant Group’s Ragent Redefines LLM‑Based AI Agents on Ray

This article introduces Ant Group’s new Ray‑based distributed agent framework Ragent, outlines its background and motivation, and details the four core modules—Profile, Memory, Planning, and Action—that together enable sophisticated LLM‑driven AI agents for large‑scale applications.

DataFunSummit
DataFunSummit
DataFunSummit
How Ant Group’s Ragent Redefines LLM‑Based AI Agents on Ray

Background

Ray is the underlying distributed framework used by OpenAI for large‑model training. Ant Group joined Ray early, contributed over 26% of its core code, and now operates more than 1.5 million CPU cores, making it the second‑largest contributor worldwide and the largest user in China.

Motivation

Building on years of Ray experience, Ant developed multiple engines—Realtime, Mobius, Mars, and the Multi‑Tenant architecture—to support streaming, machine learning, inference, and scientific computing, culminating in the Unified AI Serving framework that integrates offline, online, and AI deployment workloads.

Design & Implementation

The Ragent framework structures an LLM‑based agent into four essential modules:

Profile : Defines the agent’s persona and role, such as a gentle travel assistant that can manage itineraries and perform data analysis.

Memory : Consists of Knowledge (domain and prior knowledge) and Experience (recorded dialogues, user queries, reasoning steps, and outcomes) to enable continual learning and error avoidance.

Planning : Decomposes complex tasks into manageable subtasks using algorithms like Chain‑of‑Thought or Tree‑of‑Thought, similar to flowcharts in software design.

Action : Executes tasks based on memory and plans, featuring Function Calling to invoke external services or interact with physical devices such as robotic arms.

These four modules constitute the core components required for a robust LLM‑based AI agent.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Distributed Systemsmachine learningAI AgentsLLMRayAnt GroupRagent
DataFunSummit
Written by

DataFunSummit

Official account of the DataFun community, dedicated to sharing big data and AI industry summit news and speaker talks, with regular downloadable resource packs.

0 followers
Reader feedback

How this landed with the community

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.