Yeah you definitely get me! Correct - a lot would be through the system prompts, but also potentially the framework would dictate the different subagents I create to handle different parts of the agent creation.
Like with Pydantic AI I would create an agent specifically to define the dependencies. But with CrewAI I probably wouldn’t.
Maybe a way to generalize this and LLMs can assist with the system prompting for sure!