Python library for API.AI
Python Makefile
Latest commit f398077 Jan 16, 2017 Dmitriy Kuragin version 1.2.2

README.rst Python SDK for API.AI


The API.AI Python SDK makes it easy to integrate speech recognition with API.AI natural language processing API. API.AI allows using voice commands and integration with dialog scenarios defined for a particular agent in API.AI.


Create an API.AI account.

Running examples

  1. Find examples from 'examples' path.
  2. Insert API key.


  • Speech Recognition.
  • Voice Activity Detection.
  • Natural Language Processing.


To install apiai, simply:

$ pip install apiai

or install it from repo:

$ pip install

You might run into problems because some dependencies in your python environment are missing. You need to install numpy (which is available in almost all package managers). For running the examples you also need python audio.

In ubuntu the following will do the job:

$ apt-get install python-pyaudio python-numpy
$ pip install apiai


Documentation is available at