The exponential growth of smart devices and network scale has led to a rapid increase in network traffic, posing severe challenges to network resource utilisation and transmission efficiency. Intent-based networking (IBN) provides a high-level, automated method for network management. It dramatically simplifies network operations and enhances network flexibility and manageability. However, existing studies mainly focus on applying IBN in certain stages of network management without fully leveraging IBN’s network awareness and automated deployment features to comprehensively optimise network management and traffic forwarding. We propose an architecture for optimising network traffic based on user intents, i.e., UINT, which aims to simplify network management and optimise network traffic forwarding to enhance the Quality of Service (QoS) for end users. The proposed UINT leverages IBN’s automated sensing capabilities to perceive end device users’ network intents, proactively formulating adaptive network traffic forwarding strategies and deploying these strategies to switches before the user’s requested network traffic arrives. When the traffic user requests arrive, it directly matches the flow table for forwarding, eliminating any waiting time. UINT considers the differences in QoS requirements of various traffic and adjusts the traffic forwarding strategy based on network conditions, providing new perspectives and methods for formulating network traffic forwarding strategies. We verify the effectiveness and reliability of UINT in various network environments through experiments. Extensive evaluation experiments indicate the UINT predictor’s effectiveness and the efficacy of its adaptive routing algorithm and dynamic adjustment mechanism in optimising network traffic latency, throughput, and bandwidth.