Challenges in building an extension

So using the API or CLI doesn’t need the device group or device, right?

Kindly share with me an open-source Activegate plugin with this pattern.

Thanks in advance.