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

The article presents Ant Group’s Ray‑based Ragent framework, detailing its background, motivation behind unified AI serving, and the four core modules—Profile, Memory, Planning, and Action—that together enable large‑language‑model agents for financial applications.

DataFunTalk
DataFunTalk
DataFunTalk
How Ant Group’s Ray‑Powered Ragent Redefines LLM‑Based AI Agents
Ragent diagram
Ragent diagram

This article introduces Ragent, Ant Group’s latest distributed agent framework built on Ray, and outlines its key components and motivations.

Background

Ray, originally developed by OpenAI for large‑model training, has been adopted by Ant Group since 2017. Ant contributed over 26% of Ray’s core code, becoming the second‑largest contributor worldwide, and now operates more than 1.5 million CPU cores in production while maintaining a vibrant Ray community in China.

Motivation

During the 2023‑2024 era of large models, Ant built Unified AI Serving in the United States, integrating offline, online, inference, and deployment workflows into a single framework that powers a core business scenario across its massive compute fleet.

Design & Implementation

Ragent is organized around four essential modules that together enable a large‑language‑model (LLM) based agent:

Profile : Defines the agent’s persona, 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 action outcomes) to improve future behavior.

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

Action : Executes real‑world tasks based on experience 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 an LLM‑based agent in financial and other domains.

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 SystemsRayAI FrameworkLLM agentsAnt GroupRagent
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

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.