I want to orchestrate work of 3 agents with some tools, but having issues.
- first agent should create structured output - regular Agent with response_model being a class similar to the one in Firestore
- second agent should create image with DalleTools - so this one has access to a DalleTools tool.
- third agent is responsible for communicating with Firestore and FirebaseStorage. For that; I created 2 tool functions - 1 for inserting into Firestore collection, and another one for uploading image to the storage.
I tried with using main agennt with both modes . colaborate and coordinate, but it never works. Either the tools are not being called or the execution stops in the middle. I do not know what am I dong wrong, or should there be any other approach more suitable. In debug there’s just a number of communication, and steps are being defined, but no tools are being called. Should I also make tools available to main agent? That does not make sense to me, as I gave pretty clear (to my feeling) instructions to follow steps in the prompt. Any suggestions.