How to build modular LLM agents?
LLM-AGENT-UMF: LLM-BASED AGENT UNIFIED MODELING FRAMEWORK FOR SEAMLESS INTEGRATION OF MULTI ACTIVE/PASSIVE CORE-AGENTS
This paper introduces a new framework called LLM-Agent-UMF to help software engineers better understand and build LLM-based multi-agent systems. It proposes a new component called the "core-agent" which acts as the brain of the agent, managing how LLMs interact with tools and the environment. Core-agents can be either "active," meaning they can plan and make decisions, or "passive," meaning they simply follow instructions. The paper also explores different ways to combine multiple core-agents, like having one active core-agent manage multiple passive ones. This approach is suggested as a simpler and more efficient way to build complex systems compared to traditional multi-agent systems. The framework is applied to existing LLM agents, demonstrating its usefulness in analyzing and comparing different designs and identifying potential areas for improvement, particularly regarding security and privacy.