Place cauliflower in the air fryer. If your air fryer is one that has holes in the bottom you'll need to use an air fryer insert.
Set the temp to 350 degrees. Cook 10 minutes.
Open the air fryer, grab the pot by the handle, remove and shake and slide back in the compartment.
Add the sliced onion, stir and cook 10 more minutes.
Add garlic, stir and cook 5 more minutes.
Mix soy sauce, rice vinegar, coconut sugar, Sriracha, salt & pepper together in a small bowl.
Add the mixture to cauliflower and stir. Cook 5 more minutes. The insert keeps all of the juices inside.
To serve sprinkle sliced scallions over the top for garnish.