- [Instructor] Okay, so let's try out our agent
with the first tool connected.
How do we do that?
First of all, let's enlarge this one here a little bit
so we can actually see what's going on
and zoom out so we have a good overview here.
All right, so let's start by typing a simple message
that should not call our tool node,
like for example, saying hi.
So, you can see by these check marks
that the AI agent used our Gemini model
and the memory where it stored the current conversation
to generate the answer.
So, you can see there was the answer that is generated here.
Now, let's ask a specific question about the trade show.
This should trigger the agent
to actually call the Knowledge Tool.
For example, we could ask a question like,
at what date is the conference?
(mouse clicks)
You can see that the answer that was generated
is June 15th to 17th, 2026,
and you can also see that this Knowledge Tool
has this little checkbox over here.
Now, if we select the Knowledge Tool here
in the execution Overview,
you can actually see the question that the model generated.
So, what happened was that our AI model figured out
it needs to ask the Knowledge Tool
to actually pull that information,
and it formulated the question,
in this case, date of conference.
Now, this was the input to the workflow
that we just built before, the Knowledge Flow Tool.
The output of this workflow was simply this date,
and this date was now used by our agent
to formulate the answer, here on the left side,
which you can see.
Let's ask some more questions,
like for example, what halls are there?
And there you see, it called the Knowledge Tool again,
and in this case,
it passed the question more or less verbatim,
and the output generated by our Knowledge Workflow
was Hall A and Hall B.
So, and that was used by the model to generate this answer.
Feel free to try this out
and see in which scenarios the agent
is using the Knowledge Tool
and in which scenarios it is not using the Knowledge Tool.
This gives you a very good initial feel
of how the agent interacts with these tools.
So, congrats, you have just built your first agent,
but of course, we don't stop here.
Right now, the agent just has one single tool,
which of course, is not that much.
So, in the next video,
we will add even more tools
and capabilities to our agent,
so I'll see you there.