1 00:00:00,02 --> 00:00:01,09 - [Instructor] Okay, so let's try out our agent 2 00:00:01,09 --> 00:00:04,03 with the first tool connected. 3 00:00:04,03 --> 00:00:05,02 How do we do that? 4 00:00:05,02 --> 00:00:07,05 First of all, let's enlarge this one here a little bit 5 00:00:07,05 --> 00:00:09,05 so we can actually see what's going on 6 00:00:09,05 --> 00:00:12,06 and zoom out so we have a good overview here. 7 00:00:12,06 --> 00:00:15,07 All right, so let's start by typing a simple message 8 00:00:15,07 --> 00:00:18,07 that should not call our tool node, 9 00:00:18,07 --> 00:00:23,04 like for example, saying hi. 10 00:00:23,04 --> 00:00:25,09 So, you can see by these check marks 11 00:00:25,09 --> 00:00:28,05 that the AI agent used our Gemini model 12 00:00:28,05 --> 00:00:31,02 and the memory where it stored the current conversation 13 00:00:31,02 --> 00:00:32,08 to generate the answer. 14 00:00:32,08 --> 00:00:36,02 So, you can see there was the answer that is generated here. 15 00:00:36,02 --> 00:00:40,02 Now, let's ask a specific question about the trade show. 16 00:00:40,02 --> 00:00:41,09 This should trigger the agent 17 00:00:41,09 --> 00:00:44,05 to actually call the Knowledge Tool. 18 00:00:44,05 --> 00:00:47,06 For example, we could ask a question like, 19 00:00:47,06 --> 00:00:50,03 at what date is the conference? 20 00:00:50,03 --> 00:00:56,07 (mouse clicks) 21 00:00:56,07 --> 00:00:59,00 You can see that the answer that was generated 22 00:00:59,00 --> 00:01:02,06 is June 15th to 17th, 2026, 23 00:01:02,06 --> 00:01:04,04 and you can also see that this Knowledge Tool 24 00:01:04,04 --> 00:01:07,00 has this little checkbox over here. 25 00:01:07,00 --> 00:01:08,06 Now, if we select the Knowledge Tool here 26 00:01:08,06 --> 00:01:10,02 in the execution Overview, 27 00:01:10,02 --> 00:01:13,04 you can actually see the question that the model generated. 28 00:01:13,04 --> 00:01:16,06 So, what happened was that our AI model figured out 29 00:01:16,06 --> 00:01:18,04 it needs to ask the Knowledge Tool 30 00:01:18,04 --> 00:01:20,08 to actually pull that information, 31 00:01:20,08 --> 00:01:22,05 and it formulated the question, 32 00:01:22,05 --> 00:01:24,08 in this case, date of conference. 33 00:01:24,08 --> 00:01:26,09 Now, this was the input to the workflow 34 00:01:26,09 --> 00:01:30,01 that we just built before, the Knowledge Flow Tool. 35 00:01:30,01 --> 00:01:33,01 The output of this workflow was simply this date, 36 00:01:33,01 --> 00:01:36,00 and this date was now used by our agent 37 00:01:36,00 --> 00:01:38,04 to formulate the answer, here on the left side, 38 00:01:38,04 --> 00:01:40,03 which you can see. 39 00:01:40,03 --> 00:01:41,06 Let's ask some more questions, 40 00:01:41,06 --> 00:01:48,09 like for example, what halls are there? 41 00:01:48,09 --> 00:01:51,05 And there you see, it called the Knowledge Tool again, 42 00:01:51,05 --> 00:01:52,03 and in this case, 43 00:01:52,03 --> 00:01:54,09 it passed the question more or less verbatim, 44 00:01:54,09 --> 00:01:57,07 and the output generated by our Knowledge Workflow 45 00:01:57,07 --> 00:02:00,00 was Hall A and Hall B. 46 00:02:00,00 --> 00:02:02,06 So, and that was used by the model to generate this answer. 47 00:02:02,06 --> 00:02:03,08 Feel free to try this out 48 00:02:03,08 --> 00:02:05,09 and see in which scenarios the agent 49 00:02:05,09 --> 00:02:06,09 is using the Knowledge Tool 50 00:02:06,09 --> 00:02:09,08 and in which scenarios it is not using the Knowledge Tool. 51 00:02:09,08 --> 00:02:11,04 This gives you a very good initial feel 52 00:02:11,04 --> 00:02:15,04 of how the agent interacts with these tools. 53 00:02:15,04 --> 00:02:18,02 So, congrats, you have just built your first agent, 54 00:02:18,02 --> 00:02:19,07 but of course, we don't stop here. 55 00:02:19,07 --> 00:02:22,03 Right now, the agent just has one single tool, 56 00:02:22,03 --> 00:02:24,02 which of course, is not that much. 57 00:02:24,02 --> 00:02:25,03 So, in the next video, 58 00:02:25,03 --> 00:02:27,00 we will add even more tools 59 00:02:27,00 --> 00:02:28,05 and capabilities to our agent, 60 00:02:28,05 --> 00:02:30,00 so I'll see you there.