Skip to content

AgentFactory: Towards Automated Agentic System Design and Optimization

Sep 2026 · Pacific Rim International Conference on Artificial Intelligence · pp. 142-157 · 0 citations · 37 references
Computer Science

TL;DR

AgentFactory is presented, a framework that jointly optimizes both foundation models and workflow structures in agentic systems while considering multiple objectives including performance, cost, and efficiency, and establishes AgentFactory as a promising approach for developing more capable and efficient agentic systems through automated optimization.

Abstract

Large Language Models (LLMs) have demonstrated remarkable capabilities as powerful components in agentic systems, enabling sophisticated reasoning and complex task execution. However, current approaches to manually designing and optimizing agentic systems heavily rely on manual effort, limiting their adaptability and scalability. Recent work has explored the automated optimization of workflow designs. However, these approaches often overlook the crucial role of model capabilities and focus on single performance metrics, failing to address real-world deployment constraints. In this paper, we present AgentFactory, a framework that jointly optimizes both foundation models and workflow structures in agentic systems while considering multiple objectives including performance, cost, and efficiency. AgentFactory leverages advanced LLMs as optimizers to navigate the vast search space of possible configurations, employing a three-stage optimization pipeline to automatically discover effective combinations of fine-tuned models and optimized workflows. Through an iterative optimization process, our framework systematically explores and evaluates different agentic system designs, adapting to task-specific requirements while maintaining operational efficiency. We evaluate AgentFactory across eight benchmarks spanning five domains, including general reasoning, coding, mathematics, medicine, and finance. Our experiments demonstrate that AgentFactory consistently outperforms both manually designed methods and existing automated approaches, achieving an average improvement of 9.1% across all benchmarks, with particularly significant gains in domain-specific tasks (19.6% on MedQA and 18.7% on FinEval). These results establish AgentFactory as a promising approach for developing more capable and efficient agentic systems through automated optimization.

Read PDF

Similar papers

Preprint Aug 2026

EASy: Towards Efficient LLM-Based Agentic System

EASy is proposed, a trainable agentic framework that jointly optimizes task performance and computational efficiency through reinforcement learning and consistently achieves stronger performance-efficiency trade-offs than strong agentic baselines.

Junnan Liu, Linhao Luo, Thuy-Trang Vu et al. · 0 citations
Preprint Aug 2026

OptiMAS: Automatically Optimize Multi-Agent System

This work presents OptiMAS, a task-agnostic agentic optimizer that leverages textual interaction trajectories and task feedback as loss signals for end-to-end MAS evolution and sustains performance improvement over extended optimization horizons.

Yuxin Cheng, Chang Liu, Hanxin Yu et al. · 0 citations
Book Open access Aug 2026

Building Agentic AI Systems with LangGraph: From LLM Pipelines to Multi-Agent Decision Workflows

This hands-on tutorial introduces LangGraph, a framework built on top of LangChain for designing and orchestrating stateful agentic AI workflows that support complex reasoning workflows, adaptive execution paths, and collaborative multi-agent architectures.

Mohammad Amin Kuhail · 0 citations
Review 2026

The Systems Architecture of LLM Multi-Agent Systems: Routing, Memory, and Resource Optimisation

This survey presents a systematic taxonomy and technical review of dynamic orchestration strategies designed to address communication overhead, KV cache management challenges, and increased token consumption within large Language Model-based Multi-Agent Systems.

Heet Nagoriya, H. Raithatha · 0 citations
Review Open access Aug 2026

From Language Models to Agentic AI: A Survey of Autonomous, Action-Enabled, and Collaborative LLM Agents

A unified, taxonomy-driven, and deployment-oriented survey of agentic AI systems, synthesizing recent advances through a modular reference architecture and a four-dimensional taxonomy that characterizes agents along the axes of autonomy, tool use, collaboration, and safety–governance is presented.

Sparsh Bajoria, Shreyanshu Ranjan, Adhitya M et al. · 0 citations
Jul 2026

Scaling LLM-Driven Multi-Agent Systems: Design Principles and Architectural Scalability Analysis

This paper distill four design principles for scalable MAS architectures from a structured analysis of prior work: simplicity, elastic feedback, sequential workflows with optional loops, and summary-based communication, and evaluates four configurations of increasing complexity on a standardized benchmark of terminal-b...

Linus Sander, Feng Pan, Vahid Zolfaghari et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.