AI and Deep Learning Community Question

How do I build an AI Agent using the Vertex AI Agent Engine?

Posted on 2024-09-12 • In AI and Deep Learning • By Michael Brown

I'm interested in the new agentic workflows Google announced. I want to build a "Customer Success Agent" that can not only answer questions but actually look up order statuses in our SQL database and initiate a refund if necessary. How does the Agent Engine in Vertex AI handle these multi-step actions, and what is the best way to connect it to our external APIs?

3 Answers 16,774 Views

All answers to this question 3 Answers

Barbara Miller Answered on 2024-09-14
Answered

The Vertex AI Agent Engine uses a "Reasoning Engine" (based on LangChain) to decompose a complex user request into smaller, actionable steps. To connect it to your SQL database and refund API, you use "Tools." You define your API as a tool in the Agent's configuration, and the model (Gemini) decides when it needs to call that tool based on the user's intent. The Google Agent Development Kit (ADK) simplifies this by providing a framework to build, test, and deploy these agents. It effectively bridges the gap between the LLM's natural language and your company’s technical backend systems.

Thomas Wilson Answered on 2024-09-15
Answered

Are you worried about the agent accidentally issuing too many refunds? You might want to implement a "Human-in-the-loop" step where the agent prepares the refund but requires a manager to click "approve" in a UI before the API call is actually executed.

Michael Brown Commented on 2024-09-16
Commented

Thomas, that is a brilliant safety suggestion. We were definitely worried about "hallucinated refunds!" Barbara, the "Reasoning Engine" sounds exactly like what we need. I’ll start by looking at the ADK documentation to see how to wrap our existing Python functions as tools. If we can combine the reasoning of Gemini with a manual approval step for financial transactions, this will be a massive win for our support team's productivity.

Susan Taylor Answered on 2024-09-17
Answered

Vertex AI Search is also integrated here. You can have the agent search your help docs if it can't find an order number, giving the user a helpful fallback.

Barbara Miller Commented on 2024-09-18
Commented

Susan's right. Using Vertex AI Search as a "retrieval tool" makes the agent much more versatile for non-transactional queries.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.