API.AI Java SDK allows using voice commands and integration with dialog scenarios defined for a particular agent in API.AI.