Send AT commands programatically to ESP8266 without Arduino
You don't use AT commands. You install the esp8266 boards package and program the esp8266 as if it were an Arduino. That means learning the esp8266 WiFi API which has plenty of examples included.


https://github.com/esp8266/Arduino/