This research introduces an intelligent multi-agent automation framework that integrates Retrieval-Augmented Generation (RAG) within a modular architecture to enhance adaptive decision-making and knowledge-driven task execution. The system achieved retrieval accuracy of 86.5%, decision correctness up to 67%, and maintained latency under 0.36 seconds. The proposed system embeds lightweight AI agents capable of sensing, reasoning, and acting autonomously within workflow environments. These agents interact through a Multi-Agent System (MAS) layer that supports coordination, task allocation, and consensus formation. The RAG layer combines knowledge retrieval from a vector database with context-aware generation using large language models, enabling agents to make informed and fact-based decisions. To address the limitations of static workflow systems, this study proposes a dynamic, agent-native architecture. Experimental evaluation demonstrates that increasing the number of agents and task rates improves throughput, adaptability, and reliability with minimal impact on latency. The system achieved high retrieval accuracy, decision accuracy, and robust fault recovery, validating its effectiveness for real-time intelligent automation in industrial and smart environments.
Introduction
This research proposes an Agent-Native Automation Framework for the n8n workflow platform that integrates AI agents, Multi-Agent Systems (MAS), and Retrieval-Augmented Generation (RAG) to enable adaptive, context-aware, and collaborative automation. Traditional workflow automation platforms like Zapier and n8n are rule-based and static, limiting their ability to respond dynamically to changing data or complex decision-making tasks. By embedding lightweight AI agents within n8n nodes, coordinating them via MAS, and enhancing reasoning with RAG (retrieving context from external knowledge sources for LLMs), workflows become intelligent, self-adaptive, and explainable.
The framework is modular, allowing agents to perceive, reason, and act autonomously, while MAS ensures coordination, fault tolerance, and scalability. RAG enhances decision-making by grounding outputs in factual knowledge, reducing errors. Use cases include IT support, academic workflows, and e-commerce automation, exemplified by a multimodal Telegram assistant that processes text, voice, and image messages, interacts with Google AI models, and manages tasks in real time. Overall, this approach transforms static workflow automation into dynamic, AI-driven, collaborative enterprise systems.
Conclusion
The proposed multi-agent automation framework demonstrated significant improvements in task handling efficiency and intelligent decision-making performance. Experimental results with varying numbers of agents and task rates revealed that increasing the task rate generally enhanced throughput, indicating better resource utilization and parallel execution efficiency. The latency values remained within an acceptable range (approximately 0.32–0.36 seconds), confirming that system responsiveness was maintained even under higher load conditions.
Moreover, the system achieved consistently high retrieval accuracy (around 0.84–0.86) and AI decision accuracy (around 0.83–0.86), validating the reliability of the integrated intelligent agents. The fault recovery rate and success rate exceeded 90 percent across most configurations, showing the robustness of the framework against operational failures. Overall, the results prove that the multi-agent system can coordinate complex decision tasks with low latency and high stability, outperforming single-agent or sequential task execution methods. This architecture lays the foundation for globally scalable, explainable, and privacy-conscious intelligent automation systems.
References
[1] Zapier, “Automation Without Limits: How Businesses Use Zapier,” Zapier Blog, 2025.
[2] n8n, “Open Source Workflow Automation for Technical Teams,” n8n Documentation, 2025.
[3] M. Cheong, “Static vs Dynamic Workflow Systems: The Case for Adaptive Automation,” Journal of Intelligent Systems Engineering, vol. 19, no. 4, pp. 312–324, 2024.
[4] IBM, “Types of AI Agents: Simple Reflex, Goal-Based, Utility-Based, and Learning Agents,” IBM Think Blog, 2025.
[5] P. Stone and C. Veloso, “Multiagent Systems: A Survey from a Machine Learning Perspective,” Autonomous Robots, vol. 8, no. 3, pp. 345–383, 2000.
[6] A. Singh, A. Ehtesham, S. Kumar, and T. T. Khoei, “Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG,” arXiv preprint, arXiv:2501.09136, 2025.
[7] S. Russell and P. Norvig, Artificial Intelligence: A Modern Approach, 4th ed., Pearson, 2021.
[8] IBM, “Types of AI Agents: Reflex, Model-Based, Goal-Based, Utility-Based, and Learning Agents,” IBM Think Blog, 2025.
[9] M. Wooldridge, An Introduction to MultiAgent Systems, 2nd ed., Wiley, 2009.
[10] P. Stone and C. Veloso, “Multiagent Systems: A Survey from a Machine Learning Perspective,” Autonomous Robots, vol. 8, no. 3, pp. 345–383, 2000.
[11] V. Lesser, “Cooperative Multiagent Systems: A Personal View of the State of the Art,” IEEE Transactions on Knowledge and Data Engineering, vol. 11, no. 1, pp. 133–142, 1999.
[12] J. Ferber, Multi-Agent Systems: An Introduction to Distributed Artificial Intelligence, Addison-Wesley, 1999.
[13] Y. Li et al., “A Multi-Agent Based Cloud Resource Management Framework,” Future Generation Computer Systems, vol. 142, pp. 414–428, 2023.
[14] P. Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” Advances in Neural Information Processing Systems (NeurIPS), 2020.
[15] J. Zhao and A. Kumar, “Mitigating Hallucinations in LLMs through Knowledge-Augmented Retrieval,” ACM Transactions on Information Systems, vol. 42, no. 7, 2024.
[16] A. Singh, A. Ehtesham, S. Kumar, and T. T. Khoei, “Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG,” arXiv preprint, arXiv:2501.09136, 2025.
[17] X. Yang et al., “Retrieval-Augmented Models for Domain-Specific Reasoning in Healthcare,” IEEE Access, vol. 12, pp. 105612–105626, 2024.
[18] Make.com, “Automation for Teams: The Future of Workflow Integration,” Make Platform Documentation, 2025.
[19] Microsoft, “Introducing AI Builder in Power Automate,” Microsoft Power Platform Blog, 2024.
[20] D. Richards, “How to Build Multi-Agent RAG Systems with Microsoft’s AutoGen 3.0: A Complete Enterprise Implementation Guide,” RAGAboutIt, 2025. [Online]. Available: https://ragaboutit.com
[21] A. Arora, “RAGENTIC: RAG-Enhanced Multi-Agent Architecture,” Microsoft Tech Community, 2024. [Online]. Available:
https://techcommunity.microsoft.com
[22] S. Paniego, “Multi-Agent RAG System,” Hugging Face Open-Source AI Cookbook, 2025. [Online]. Available:
https://huggingface.co/learn/cookbook/en/multiagent_rag_system