Multi-agent: A GenAI secret weapon for enterprise success
GenAI is one of the most rapidly developing fields of artificial intelligence and continues to advance at breakneck speed.? In this first article, we will introduce the reader to multi-agent platforms, their importance, and how we see them applied to the enterprise.
The use of LLMs and some challenges imposed today
GenAI models are trained on massive datasets, advanced methodologies, or even data generated from another model. They can then use this knowledge to create new content often indistinguishable from human-created work. Depending on the training dataset, prompt, parameters and the purpose of the model, the results/outcomes will change, and the model may “hallucinate”. For sure, you’ve already seen that some models behave better than others based on the ask, such as dealing with natural language or generating an image. Experiments say that using plugins or agents can significantly improve the outcomes or results for many generic or specific tasks, enabling decisions based on the most up-to-date information. Examples are ChatGTP functions/plugins to customise a particular behaviour or integration, or as in Retrieval Augmented Generation (RAG, such as Azure Cognitive Search), where LLM models are injected with relevant information before they do their reasoning.
Using one agent at a time limits the capabilities of how far we can go, and that’s where the Multi-Agents System (MAS) helps by allowing interaction between user and agents, both human and synthetic. Advanced use cases enable agents to generate code and execute the tasks for you or even work collaboratively.
“By 2026, more than 80% of enterprises will have used generative AI APIs and models and/or deployed GenAI-enabled applications in production environments, up from less than 5% in 2023.” Source: Gartner 2023 (link here)
Gartner highlight benefits for “business users, that will have ubiquitous access to knowledge and technical skills that wasn’t possible before, heralding a new wave of productivity”. Multi-agents can bring the technical skills to improve business productivity, so let’s discuss how.
Multi-Agent Systems Using Generative AI
Multi-agent systems can assume complex organisational roles through actors (synthesised through agents) to automate collaboration for solving complex tasks. Such capability can produce outstanding business results and drive optimised business outcomes.
Think of multi-agent frameworks as harnessing the power of multiple generative AI models, plugins, agents, and tools, where collaborative software entities assigned different roles to different models are combined cohesively to build a more intelligent and assertive system.
The image below shows a way to visualise how multi-agent systems can be combined, being flexible to perform simple to more complex tasks. We can see agents interacting with end users, LLMs, code generation and code interpreters, safeguards, and using internal or external tools in the enterprise.
A recent paper from Microsoft, Pennsylvania State University and the University of Washington, titled "AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation", is one example of a multi-agent system. The paper states that by combining multiple agents and focusing on the tasks they are best for, we have better outcomes.
It’s important to highlight that this doesn’t have to be just chaining of LLMs; multiple types of existing or new AI/ML models can be aggregated to address specific goals and tasks, and integration with third-party tools sometimes can perform exceptionally well for specific problems.
Here are a few key features of multi-agent systems:
领英推荐
Looking at the diagram below, we can see diverse applications that can be built using multi-agent systems.
What benefits could we expect from Muti-agent systems, and are they the first applications at the enterprises?
Here are some advantages:
Examples of use cases where multi-agent systems are already being experimented with
Challenges and Concerns
While multi-agent systems hold great promise as a secret weapon for enterprise success, challenges and concerns need to be carefully considered and addressed. There are also some challenges and considerations associated with the use of multi-agents because as they can be used to perform more effectively and faster, they could be used to create harmful content, such as fake news, propaganda, sophisticated scamming and cyberattacks, which have generated a lot of discussion and investment in ethical AI. Of course, looking at the positive side, they can also be used to detect and automatically prevent or minimise the impact of attacks whilst executing a neutralisation strategy.
Addressing these challenges requires technical expertise, rigorous testing, clear policies and regulations and ongoing monitoring. As the field of multi-agent systems continues to evolve, so will the solutions to these challenges. Enterprises investing in this technology must remain vigilant, adaptable, and committed to ethical and responsible AI practices to unlock the full potential of multi-agent systems for their success.
Summary
This post introduced the reader to multi-agent systems, a complex and revolutionary approach to automation in the workplace that has the potential to provide organisations with huge benefits and whose adoption will continue at a fast pace.
The article was written by Shynish Meladath , Lisbeth R. , and Miguel Gaspar with the support and review of Mark Stubbs .