How Cursor works under the hood

Is anyone aware of any blogs / docs on how cursor works ? It seems to orchestrate calls between LLM and language services, and VS Code APIs ? I realize both cursor and copilot are closed source, but for learning how AI can be applied to coding in IDEs it would be awesome

Probably by comparing the responses from python and ai with the differences in your code (a few custom prompts) the changes are applied.