Advent-Of-Agents-Day4
By For Agents
Summary
Topics Covered
- MCP Is the USB-C of AI Agents
- One Agent, Multiple Services
- Zero-Code Cross-Platform Intelligence
Full Transcript
Hey all, have you ever spent way too much time bouncing between zero or linear tickets trying to figure out which GitHub pull request actually fixed
the bug?
What if your AI agent could just do all the contact switching for you? Welcome
to the day four of Google's advent of agents season 2. My name is Raindra and we are going to build a triage agent
that natively understands both linear and github by wiring up multiple model context protocol or MCP servers simultaneously.
Before we look into the code, let's talk about MCP. The model context protocol
about MCP. The model context protocol is a kind of open standard like USBC for AI agents. In our case,
AI agents. In our case, if you see this architecture, then we are wiring up two MCP servers with our agent. One is for GitHub, second is for
agent. One is for GitHub, second is for linear.
So instead of writing custom API integration with the APIs, you can just plug in the MCP servers and you will get the access of underlying context, tools,
permissions and everything.
So let check this out.
In our case, we have created one agent in Google ADK and the actual magic is happening in this tools section where we have
wired up two MCP servers, one for GitHub and one for linear.
Apart from it, we have provided a special instructions to the agent which is kind of a five-step playbook if you can see on my screen.
So our agent will be following this five steps playbook and even for output we have provided the structure so that it will be returning the structured output
like title, author, branch and other stuff. So let's see this in action. I'm
stuff. So let's see this in action. I'm
running ADK web and it will start the agent locally. Let's see. So if you can
agent locally. Let's see. So if you can see on my screen, I'm just asking a very simple question. Can you please check if
simple question. Can you please check if we have fixed RAID issue in our web master repo? And this issue is coming
master repo? And this issue is coming from my linear account.
So I'm just pressing enter. Let's see.
So now you can see our agent is started firing up the tools with the help of MCB servers. It is basically getting the
servers. It is basically getting the issues from linear and then searching the relevant PR and then reading the relevant details from that PR.
Now you can see the structured output.
So it is providing you everything whatever we have mentioned. Thanks for
watching.
Loading video analysis...