agent and tryKeyboard support