Skip to main content
AgentCPM-Report is an open-source large language model agent jointly developed by THUNLP, Renmin University of China RUCBM, and ModelBest. The model is built on the MiniCPM4.1 base (8 billion parameters) and can accept user instructions to autonomously conduct in-depth research and generate long-form reports. Key Highlights:
  • Extreme Performance, Minimal Footprint: Through an average of 40 rounds of deep retrieval and nearly 100 rounds of chain-of-thought reasoning, it achieves comprehensive information mining and restructuring, enabling edge-side models to produce logically rigorous, deeply insightful long-form articles with tens of thousands of words. With just 8 billion parameters, it delivers performance on par with top-tier closed-source systems in deep research tasks.
  • Physical Isolation, Local Security: Specifically designed for high-privacy scenarios, it supports fully offline and agile local deployment, completely eliminating the risk of cloud data leaks. Leveraging our UltraRAG framework, it efficiently mounts and understands your local private knowledge base, securely transforming core confidential data into highly valuable professional decision-making reports without ever leaving its domain.
This document aims to introduce how to configure and use AgentCPM-Report in the UltraRAG framework.
To obtain the best generation results, we strongly recommend downloading and using the supporting proprietary model AgentCPM-Report.

1. Pipeline Structure Overview

The AgentCPM-Report Pipeline adopts a dynamic loop architecture based on a state machine. After initialization, the system enters a core loop where an intelligent router (Router) autonomously decides the next action based on the current task progress—flexibly switching between four branches: information gathering (Search), initial planning (Analyst-Init), content writing (Write), and plan extension (Analyst-Extend). Through continuous “retrieval-planning-writing” iterations, it completes all research tasks and outputs the final formatted report.
examples/AgentCPM-Report.yaml

2. Compile Pipeline File

Execute the following command to compile this workflow:

3. Configure Running Parameters

Modify examples/parameter/AgentCPM-Report_parameter.yaml.
Want to adjust research depth? Please adjust as needed in the custom configuration: increase surveycpm_max_step to extend research time, and increase surveycpm_max_extend_step to obtain more detailed extended content. If you have extremely high quality requirements, be sure to enable surveycpm_hard_mode (hard mode).
examples/parameter/AgentCPM-Report_parameter.yaml

4. Effect Demonstration

After configuration is complete, start the AgentCPM-Report Pipeline in UltraRAG UI.
Since the generation of a 10,000-word review involves a large amount of concurrent retrieval and multi-turn reasoning, it usually takes more than 10 minutes. You can use the UI’s background running function and come back to check the final report after the task is completed.