Research on the Application of Spark Streaming Real-Time Data Analysis System and large language model Intelligent Agents
Jialin Wang, Zhihua Duan

TL;DR
This paper presents a novel real-time data analysis system integrating Spark Streaming, Kafka, and LangGraph with large language models to enhance flexibility, efficiency, and human oversight in big data environments.
Contribution
It introduces a dynamic, graph-based workflow framework using LangGraph and LLMs for real-time data analysis, overcoming static workflow limitations and enabling adaptive decision-making.
Findings
Effective sentiment classification and trend detection in real-time data
Seamless multi-turn interactions with context retention
Improved reliability through human-in-the-loop mechanisms
Abstract
This study explores the integration of Agent AI with LangGraph to enhance real-time data analysis systems in big data environments. The proposed framework overcomes limitations of static workflows, inefficient stateful computations, and lack of human intervention by leveraging LangGraph's graph-based workflow construction and dynamic decision-making capabilities. LangGraph allows large language models (LLMs) to dynamically determine control flows, invoke tools, and assess the necessity of further actions, improving flexibility and efficiency. The system architecture incorporates Apache Spark Streaming, Kafka, and LangGraph to create a high-performance sentiment analysis system. LangGraph's capabilities include precise state management, dynamic workflow construction, and robust memory checkpointing, enabling seamless multi-turn interactions and context retention. Human-in-the-loop…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsE-commerce and Technology Innovations · Advanced Computational Techniques and Applications · Wireless Sensor Networks and IoT
