VirtAPI This is a Libvirt/KVM wrapper which have API bindings available, and cli tool which works out of the box.