The AMI API is multi-thread safe and uses multiple threads internally (to guarantee timely processing of AMI protocol related functions). However, it does not impose a threading model on your AMI application. You are free to use the AMI API in a single or multi-threaded application.