Iterative workflow with "n" amount of agents question

Hi folks,

I’m trying to create a workflow, but I’m not sure if it’s possible.

I believe it should be, and it would work like this:

  1. It’s an iterative process with “n” agents.
  2. Each agent is enhanced by three tools:
    a. Vector data categorization
    b. Document and JSON file creation
    c. Upload to GDrive and Pinecone vector database
  3. The process iterates through the agents (1, 2, …, n-1, n), with each one building on the output of the previous step.
  4. Each iteration involves vector categorization, document creation, and database updates.
  5. The final output will be all the documents uploaded to their respective Google Drive folders, and all that knowledge upserted and categorized in the Pinecone database.

Overall, I think the workflow is feasible. However, I have a few questions:

  1. How can I make it all run in one chat interface? Is that even possible? Is there a better approach? My idea is to manage each agent’s work from that single workflow in a chat format.
  2. This is a very rough workflow description. As I started building it, I realized there are many intricacies and “mid-steps” that I hadn’t anticipated. Given your experience, is there anything from a high-level perspective that I should consider regarding nodes or steps in building it?

These might be very basic questions, so I apologize for my lack of knowledge—I’m just getting started in this world.

Thank you very much for your comments, thoughts, and advice.

Cheers

Does anyone has any hint to share over this?

Would be really appreciated!