TNI agent gateway