How to integrate a workflow to an existing team o agents

Hi all,

I have a team of agents already deployed to production. It is a colaborative team which delegates questions to agents according to user input and agent prompt.

We came to an idea of using a workflow to implement a ticket creation in GLPI.

How would you guys suggest I can achieve it?

Also, an important point, team interacts with user by Evolution API, so I also need to think how I can successfully accomplish message exchanges.

Hey @fabriziorocha, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!

Hi @fabriziorocha we have WorkflowTools which you can use with agent or team. just define your workflow and pass it as a tool to be called by the agent. Give clear instructions when to call etc.

Here’s an example- Workflow Tools - Agno

Hi @kausmos!

It would be very helpful if there were an example of using workflow 2.0 with conversational agents that interact with the user.
The documentation isn’t very clear on how to implement this interaction within the workflow.

hey @Fabricio to clarify do you mean using workflow as a tool with single agents (i mentioned a link above for that using WorkflowTools)

or do you mean to primarily use workflows but have a chat like experience with it?
Because this is WIP and we are working on it-

  1. This WIP pr- feat: workflow history by kausmeows · Pull Request #4785 · agno-agi/agno · GitHub is one step towards it where we enable to share workflow history with throughout the steps the conversation feels more like a continuous flow. See README if you want to try locally on the branch

  2. We are also working on having an agent at the workflow level-

    ```python

Workflow(

..

agent=Agent(...),
...
```
This agent will be responsible for things like- if you as a query the agent decides if it wants to run the workflow to get its answer, or if from previous workflow session runs it can directly infer the answer and reply directly without running workflow again.
This is also WIP- feat: [WIP] workflow agent by kausmeows · Pull Request #4775 · agno-agi/agno · GitHub

We’ll let you know once we are done with this, thanks!

What I actually need is a workflow to collect and validate various user data: One step would be to collect the name, another the document, another the email, etc. Each step would have a validation. What I need is for this to be harmonious, with the agent requesting data step by step in the workflow, sending a message to the user requesting the information, and requesting it again if the data is invalid. If it is validated, it goes to the next step. I still don’t quite understand how to do this interaction within the workflow (requesting data from the user) because my team of agents interacts with the user via FastAPI with the WhatsApp application (messaging).

Great news! This is exactly what I need. Is there a release date for these features?

the workflow agent one should be released by late next week i think, its WIP. Also what you mentioned above might be more like Human in the loop if i am not wrong? more like pausing the flow and requesting for information and running again on confirmation.. if its that then HITL on both team and workflow is big feature we need to get to later next week. so consider that 2-3 weeks for the release probably…

2 Likes