تگ: An Adaptive Framework