Playtime is Over, Hail to Akgents! Why AI Agents Should Evolve into AI Actors!
The intrinsic limitations of agent based systems
In recent months, AI Agents have emerged as the standard for developing advanced systems powered by “reasoning” AI engines like LLMs. These agent-based systems have shown significant value in addressing the limitations of monolithic AI systems, such as constraints on model size and performance stemming from insufficient high-quality training data. While experts have long recognized these challenges, they have only recently gained broader attention. As a result, we anticipate a surge of interest in agent-based approaches in the coming months.
Several frameworks have emerged to build agentic systems, including popular general-purpose ones like LangGraph and more specialized ones like MetaGPT. At B12 Consulting, we’ve already used these tools to develop solutions to real-world challenges. This hands-on experience has highlighted the advantages of agent-based approaches over traditional monolithic methods, particularly for complex applications like evolved RAG systems. However, we’ve also identified severe shortcomings shared by most existing frameworks along the way:
Rethinking Multi-Agent Architecture with Inspiration from Scalable Systems
As AI specialists but also experienced software engineers, we’ve explored solutions to these challenges by drawing inspiration from established paradigms for building scalable systems. For instance, our prior work with Scala and frameworks like Akka has shown the power of immutability and reactive, message-driven architectures.
We believe the fundamental architecture of multi-agent systems should adopt principles found in highly scalable architectures, specifically the actor model.
The actor model (originating in 1973!) is a mathematical framework for concurrent computation. It defines actors as independent entities capable of [1]:
Actors communicate exclusively through messaging, ensuring loose coupling and enabling massive scalability.
Enter the “Akgent”: A Scalable AI Actor
We’ve coined the term Akgent to describe the foundational unit of a multi-agent system aligned with the actor model. An akgent is a computational entity with reasoning capabilities (often powered by LLMs) that processes messages through Aktions, i.e., internal methods triggered by message types. Akgents can:
In an akgent, an LLM, possibly augmented with tools (or even an entire graph of classical agents), interprets messages and decides which actions to perform based on the akgent internal state and the message content. But unlike traditional actor based architectures, this decision is probabilistic and non-deterministic.
Recommended by LinkedIn
Initial Implementation and Key Advantages
We’ve developed a prototype of this architecture in Python using tools like Langchain (to abstract LLM dependencies) and Pykka (a simple implementation of the actor model). We’re also considering scaling up using industry-standard frameworks like Akka. Relying on well established actor frameworks such as Akka also allows us to leverage advanced features such as rejection or deferral of new messages in cases of computing resource limitations, and notifications of upstream actors or systems to adjust the rate of message production.
Even in its early stages, our approach has demonstrated feasibility and several key advantages:
Real-World Applications and Future Plans
The possibilities are nearly endless. We’ve already demonstrated the practical value of this approach by tackling real-world problems, such as agentic code migrations. Here, akgents represent team roles (e.g., analysts, developers, reviewers), and the system can dynamically scale the number of akgents of a certain role (e.g., “developers”) based on demand! This flexibility could enable unprecedented scalability.
Another example is collaborative document drafting, where human agents and akgents can take on roles of managers, writers, verifiers and domain experts and work together to bring to realization anything from business contracts to legislation drafts.
More generally, akgentic systems could allow us to build digital twins of organizations, so we can study how to make them more resilient, sustainable and scalable.
Our next step is to release our first implementation as an Open Source project with proper examples, paving the way for others to explore and contribute to the development of the approach.
Join the Conversation
If you have any questions, ideas, or feedback, we’d love to hear from you. Stay tuned for more updates as we continue refining and expanding the akgent paradigm.
[1] Carl Hewitt; Peter Bishop; Richard Steiger (1973). "A Universal Modular Actor Formalism for Artificial Intelligence"
Search Relevance Engineer | Data Evangelist | work @ Luminis | Author @ Manning
1moI like this idea, cannot wait to see more :-)
Managing Director @ B12/Yuma | AI, data science, physics & photography
3moMarc Senterre
Managing Partner at B12 Consulting
3moWout Van Wijnendaele