This paper proposes an adaptive genetic algorithm (AGA) for optimizing Quality of Service (QoS) parameters in cognitive radio systems, aiming to enhance spectrum allocation for secondary users through real-time decision-making. The AGA adjusts crossover and mutation rates based on population performance to prevent premature convergence and improve overall algorithm adaptability. Simulations demonstrated the AGA's effectiveness compared to conventional genetic algorithm approaches, emphasizing its capability in managing dynamic radio environments.