Just started with Crew and finding it difficult to grok best approach given the move to yaml files for agent and task definition but the docs still reference the old way? What’s the best source of up to date info for building future-proof crews?
Not sure what you mean the old way, the docs explain how to build with YAML - Quickstart - CrewAI
That’s super helpful, and that’s what comes in new project boilerplate, but my understanding (and I might be wrong) is other examples in the docs use a different approach? i.e. Agents - CrewAI
Correct, no YAML is used here. Could you clarify your question? What specific issue are you facing?
Just want to add that all the of the configuration settings should be the same regardless of yaml or non-yaml approach.
The main confusion I have faced recently in this department is that when I use the decorators, crewai is expecting yaml. So even if you specify all the settings in your crew code, it will complain about missing yaml files in the config folder.
Other than that, it seems that ‘future-proofing’ mainly entails being able to debug crewai errors locally yourself since the source code can change often and errors are not very user friendly, regardless of using YAML or not. I have found this to be true of most open source projects in this domain since it is a fast changing field.