Agent-Based Process Flows
Overview off Agent-Based Flows
The agentic process flows are AI systems being more proactive, adaptive, and capable of solving problems dynamically, rather than just following a pre-set script. It's a leap beyond simple automation towards more intelligent and flexible systems.
Creating Agent-Based Process Flows
When you create an agent-based process flow you must configure the details in multiple modules in the platform. As you create entities in the platform, background processes trigger as appliable.
The following is a sample of how to create and trigger an agent-based process.
Step 1: AI Agent creation: AI Workbench
- Go to Main Menu > GenIQ > AI Workbench > Activities and create an agent (say, Agent1) based on your requirements.
- Save the agent.
-
Publish the agent by checking the βCustom Activityβ box in the Publish Agent UI.
System Background:
- A custom activity named Agent1 gets added to Management > Configuration Management > Custom Activity.
- Agent1 gets listed as activity in the App Studio > Process flow > Activities - Custom Activity.
Step 2: Process flow creation: App Studio
-
Go to App Studio > Process Flow, create a process flow (say, Process1).
-
Create the required Variables, Forms, and other entities.
-
In the process flow designer, click β+β in the Activity list > Custom Activity > Agent1
-
Design your process flow using Agent1 and other process flow activities as per your needs and design requirements.
-
Save and deploy the process flow.
Step 3: Trigger Agent for process flow: AI Workbench
To trigger process flow through another agent (say, Agent 2):
-
In the AI workbench, create a tool (say Tool1) with the tool source as Trigger Process Flow. Map Process1 to this tool by providing the required input and output variables.
-
Create an agent (Agent 2). In the configurations, select Tool1 as the tool for this agent.
Step 4: Triggering process flow: Triggering Agentic Process flow at Runtime
Method 1:
In the Runtime UI, initiate and execute Process1. Agentic process flow executes.
Method 2:
Access the GenIQ chatbot interface and map Agent2 to the bot for generating responses.
When Agent2 triggers Tool1, this in turn triggers the process flow Process1.