Table of Contents
Fetching ...

Build Your Personalized Research Group: A Multiagent Framework for Continual and Interactive Science Automation

Ed Li, Junyu Ren, Xintian Pan, Cat Yan, Chuanhao Li, Dirk Bergemann, Zhuoran Yang

TL;DR

This work aims to facilitate broader adoption of automated research across scientific domains, enabling practitioners to deploy interactive multiagent systems that autonomously conduct end-to-end research -- from ideation through experimentation to publication-ready manuscripts.

Abstract

The automation of scientific discovery represents a critical milestone in Artificial Intelligence (AI) research. However, existing agentic systems for science suffer from two fundamental limitations: rigid, pre-programmed workflows that cannot adapt to intermediate findings, and inadequate context management that hinders long-horizon research. We present \texttt{freephdlabor}, an open-source multiagent framework featuring \textit{fully dynamic workflows} determined by real-time agent reasoning and a \coloremph{\textit{modular architecture}} enabling seamless customization -- users can modify, add, or remove agents to address domain-specific requirements. The framework provides comprehensive infrastructure including \textit{automatic context compaction}, \textit{workspace-based communication} to prevent information degradation, \textit{memory persistence} across sessions, and \textit{non-blocking human intervention} mechanisms. These features collectively transform automated research from isolated, single-run attempts into \textit{continual research programs} that build systematically on prior explorations and incorporate human feedback. By providing both the architectural principles and practical implementation for building customizable co-scientist systems, this work aims to facilitate broader adoption of automated research across scientific domains, enabling practitioners to deploy interactive multiagent systems that autonomously conduct end-to-end research -- from ideation through experimentation to publication-ready manuscripts.

Build Your Personalized Research Group: A Multiagent Framework for Continual and Interactive Science Automation

TL;DR

This work aims to facilitate broader adoption of automated research across scientific domains, enabling practitioners to deploy interactive multiagent systems that autonomously conduct end-to-end research -- from ideation through experimentation to publication-ready manuscripts.

Abstract

The automation of scientific discovery represents a critical milestone in Artificial Intelligence (AI) research. However, existing agentic systems for science suffer from two fundamental limitations: rigid, pre-programmed workflows that cannot adapt to intermediate findings, and inadequate context management that hinders long-horizon research. We present \texttt{freephdlabor}, an open-source multiagent framework featuring \textit{fully dynamic workflows} determined by real-time agent reasoning and a \coloremph{\textit{modular architecture}} enabling seamless customization -- users can modify, add, or remove agents to address domain-specific requirements. The framework provides comprehensive infrastructure including \textit{automatic context compaction}, \textit{workspace-based communication} to prevent information degradation, \textit{memory persistence} across sessions, and \textit{non-blocking human intervention} mechanisms. These features collectively transform automated research from isolated, single-run attempts into \textit{continual research programs} that build systematically on prior explorations and incorporate human feedback. By providing both the architectural principles and practical implementation for building customizable co-scientist systems, this work aims to facilitate broader adoption of automated research across scientific domains, enabling practitioners to deploy interactive multiagent systems that autonomously conduct end-to-end research -- from ideation through experimentation to publication-ready manuscripts.
Paper Structure (20 sections, 10 figures, 2 tables)

This paper contains 20 sections, 10 figures, 2 tables.

Figures (10)

  • Figure 1: freephdlabor is a multiagent framework for research automation featuring: (1) dynamic workflows that adapt to real-time findings, (2) a modular architecture with customizable agents, (3) a workspace for robust communication and memory, and (4) human-in-the-loop capabilities for continual research.
  • Figure 2: Dynamic Agent Decision-Making in freephdlabor. When encountering a limitation in the current research context, the system's ManagerAgent autonomously reasons about the appropriate response and decides whether to delegate to specialized agents, interact with the workspace, or call other tools. This dynamic decision-making enables adaptive research workflows that respond to real-time progress.
  • Figure 3: Example architecture of freephdlabor. Note that arrows in the figure do not indicate workflows like figures in other work do, but rather options that are available for an agent to autonomously choose from. The ManagerAgent serves as the coordinator orchestrating information flow, delegating tasks to specialized agents and managing communication through a shared workspace. All agents can read from and write to the workspace with customizable access. Thus, in addition to directly messaging each other, they may refer to files in the workspace when communicating with other agents to avoid the game of telephone as illustrated in \ref{['fig:game_of_telephone']}. It is important to note that this set of agents shown here is not stationary, users can modify, add, or remove agents as needed.
  • Figure 4: Dissecting a single step of an agent. At any given step, an agent receives inputs constructed from its own role-specific system prompt, available tools, and memory. Memory contains a task step (given by users for ManagerAgent and by ManagerAgent for other agents in our example system) and all previous action steps of this agent. It then outputs an action, a code blob containing tool calls, which is parsed and then executed, possibly producing some observation (e.g., error messages, print() statements, etc.). Then, the action-observation pair is appended to the agent's memory for future.
  • Figure 5: Information Degradation in String-Based Inter-Agent Communication. Visual illustration of the game of telephone effect in multi-agent systems. The figure depicts how information fidelity deteriorates across successive communication hops. In this example, an initial concept (a cat) undergoes progressive distortion through agent-to-agent message passing: the first agent observes the original subject, the second agent receives and reinterprets a description (resulting in a different representation), and the third agent receives further degraded information (reducing the concept to the text "CAT" on clothing). Each transcription step introduces potential for information loss, misinterpretation, or abstraction. In contrast, workspace-based communication via direct file references preserves the original data, eliminating this degradation pathway.
  • ...and 5 more figures