The self-iterating prompt engineering is a different workflow than normal RAG/tool selection.
Do you mean that the prompts would be completely dynamic in your tool vs the prebuilt prompts with templating that Langchain uses?
Dynamic, not templated. Or maybe templated at the start of the workflow, but obviously LLMs will have its own ways to adjust it.
I would be interested to see if something like this actually produces good results. My (limited) experiences with Langchain made me feel like it was too constraining for the use cases I tried.
Why? It’s a good idea…
Like a sibling comment said, Langchain is basically this but with a bit of structure around the prompt templating