How would you make a simple keyframe sequencer or animation plugin?

I recently got into animation in Blender (previously I’d been animating in Moon Animator for around a month or two) and I was interested in making my own animation plugin, since most of the ones out there don’t have features such as graph editors, etc.

How is an animation plugin made, are there any specific services for keyframe manipulation and sequencing?