Inspired by https://jina.ai/news/auto-gpt-unmasked-hype-hard-truths-production-pitfalls/
Looking at the code I believe, it should be possible to implement serialisation. Idea would be simple - dump an algorithm into JSON file.
I do wonder if it's a bigger question on agents being able to abstract their own tasks into concepts and create a list of possible tasks to use.
Like when I was writing a trading bot I kept thinking - why agent cannot create a tool once like "get_technical_indicators" and then reuse it. It keeps writing the tool from scratch every time.
It's like software development before invention of libraries.