Similarly, I've created a simple Pi extension [1] that allows you to summon your LLMs inline from your notes (obsidian or any text format) and it's able to apply any edits (via Pi edit tools)
I created the video to explain how an agent works, with the example of my own learning project. I built this to understand how it works under the hood and now I share it.
[1] https://github.com/piqoni/pi-piqo