Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

CCAI Generative Playbooks - How to properly Invoke Agents

Hi All,

I am currently working on a Vertext Ai conversation app (Agent builder) to allow users make bookings and allow them to ask questions about the facility. I have structured my app to use 3 agents.

1. Steering Agent - Agent to direct to other agents

2. Booking Agent - Cancel and make new bookings via an OpenAPI tool

3. Information Agent - Answer questions about the facility via a datastore tool

I am running into the below issue.

When I ask questions about the facility, The main agent does route to the "Information Agent". However once the information has been served when the user wants to make a booking it's not Invoking the "Booking Agent".

Any idea why that is ? I tried to add an example to show to Invoke the Booking Agent from the Information Agent. But I got an error saying the playbook is not referenced.

Below is where I am expecting the Booking Agent to be invoked from the Information Agent

Faile.png

Additionally below is the architecture diagram of my solution

playbook.png

 Thank You!

Solved Solved
0 1 897
1 ACCEPTED SOLUTION

I was able to resolve this by updating the instructions of the "Information" agent to route requests to the "Booking" agent if the user wants to create or cancel a booking. Thanks

View solution in original post

1 REPLY 1

I was able to resolve this by updating the instructions of the "Information" agent to route requests to the "Booking" agent if the user wants to create or cancel a booking. Thanks