You cannot play Spiral Knights offline. There is no offline play mode available, as the game is designed to be played online.
Because of this, you will need an active internet connection to log in and play. If you are hoping for a solo offline option, unfortunately Spiral Knights does not offer one.