Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

AI Developer Accelerator

10.8k members • Free

2 contributions to AI Developer Accelerator
Make a youtube to introduce how to call Google Vertex Agent Engine API for local test and Slack Channel
Hi Brandon, I am a senior data engineer, and a beginner for AI. I have leant a lot from your courses: agent-development-kit-crash-course. deploy-adk-agent-engine. They are really amazing videos and git. To be honest, your videos are the best for AI in youtube. Your logic is very clear and straight forward. It is very easy to follow and understand. Based on your course and code, I have deployed the Agent to Vertex Agent Engine, however, I need to call the Agent Engine API for the front end. For example, I want to test the APP(Vertex Agent Engine API) in my local browser first, and then deploy it my Slack Channel. I tested to use HTML and Java Script to call the API in my local followed by the instruction from Chatgpt, however, the API can not be called even I have setup all authorization. I just wonder if you could please make a youtube and GitHub to introduce how to call the Vertex Agent Engine API for local test, and how to deploy it to Slack channel. I have searched the entire Youtube and Google search, and I have not seen one. You should be the first if you can do it. Thank you very much.
0 likes • Jun 9
Hi Brandon, GM, I do not have Postman account. I just use the regular js to call the API. My code are attached. The workflow is: Project Setup (if not already done): my-chatbot-project/ ├── server.js <-- The Node.js backend code ├── package.json <-- Generated by `npm init` ├── node_modules/ <-- Dependencies installed here └── public/ ├── index.html <-- Your HTML file ├── style.css <-- Your CSS file (if any) └── script.js <-- The updated browser-side JavaScript Install Node.js Dependencies: Open your terminal, navigate to your my-chatbot-project directory, and run: Bash npm install express @google-cloud/dialogflow-cx Configure server.js: Open server.js and replace "your-gcp-project-id", "your-vertex-ai-agent-id" with your actual Google Cloud Project ID and the ID of your deployed Vertex AI Agent. Crucial for Authentication: Ensure your Node.js environment is authenticated to access Google Cloud. The easiest way for local development is to run gcloud auth application-default login in your terminal. For production, you'd typically use a service account key file via the GOOGLE_APPLICATION_CREDENTIALS environment variable. Place Frontend Files: Make sure your index.html, style.css (if any), and the updated script.js are placed inside the public/ directory. Start the Backend Server: In your terminal (still in your project directory), run: Bash node server.js You should see confirmation messages like: Backend server listening at http://localhost:3000 Frontend accessible via http://localhost:3000/index.html Access in Browser: Open your web browser and go to http://localhost:3000/index.html (or http://localhost:3000 if your server config serves index.html by default). Now, your chatbot should correctly send messages to your Node.js backend, which will then use the Dialogflow CX client to interact with your Vertex AI Agent, and stream the responses back. This setup provides the secure and recommended way to integrate with Vertex AI Agent Engine APIs from a browser-based frontend.
1 like • Jun 9
Hi @Tom Welsh Thanks a lot for your comment. Please see my above reply comment.
Could you please help me trouble-shooting
I am learning ADK, and followed with your Youtube: Agent Development Kit (ADK) Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro). I have a trouble for my http://localhost:8000/dev-ui/?app=linkedin_post_agent. For the Event workflow in the web UI, it is not correct showing, I only see the Root agent and first level sub_agents, and don't see any others. Also, I don't see the green color. Please see attached. Could you please help me trouble-shooting to figure out what happend? Thank you very much! Best regards, Eric
Could you please help me trouble-shooting
0 likes • Jun 3
Thank you very much! Brandon. I will attend your class afternoon.
1-2 of 2
Eric Li
2
14points to level up
@eric-li-3677
I am an Engineer. Very nice to meet you!

Active 186d ago
Joined Jun 1, 2025
Powered by