Guide on how to create an agentic loop that profiles your project and constantly optimizes it.
Swear to God it reduced my CPU consumption ~70%
Took me some time to get it done correctly, so let me spare you some time.
You can thank me after reading it ;)