Shadowing-Übung: MCP vs ADK: How Modern AI Agents Connect and Work Together - Englisch Sprechen Lernen mit YouTube

C1
We've been hearing so much about AI agents and all of the different protocols lately, right?
⏸ Pausiert
149 Sätze
Wenn Sätze zu kurz oder zu lang sind, klicke auf Edit, um sie anzupassen.
1
We've been hearing so much about AI agents and all of the different protocols lately, right?
2
So if you're wondering whether you need to use MCP or to use ADK or maybe both of these or even neither for your AI agent, just know that you're not alone.
3
Yeah, and before you search what is MCP, again, we've got you covered.
4
That's right.
5
Because today we're going to be breaking down the model context protocol and the agent development kit, talking about what they actually do, how they're different, some use cases, and when you would typically reach for one versus the other.
6
And spoiler, they're not really competing, but we'll get to that.
7
Hey, whoa, no spoilers.
8
Sorry, sorry, all right, let's freak it down.
9
Well, let's begin with the world that we're living in, right?
10
Because AI agents, not just chatbots, but agents that can actually do things are having a moment.
11
Yeah, a very loud moment.
12
Right. And as developers, when we start building these things, we immediately hit two big questions.
13
So, number one, how does my agent talk to external tools and data?
14
But also, number two, how do I actually build and orchestrate the agent?
15
Yeah, so two different problems entirely.
16
And that's exactly where MCP and ADK come in.
17
So the Model Context Protocol, or MCP for short, is an open standard created by Anthropic that answers the first question.
18
It's all about connectivity.
19
How do you give an LLM access to things like APIs, and databases, and files in a way that's clean and reusable?
20
Right. And the Agent Development Kit, or the ADK, which comes from Google, is all about that second question.
21
How do you actually build, how do you structure to also run an agent?
22
But let's say that you have multiple agents that you want to run, like a team of engineers or developers.
23
Well, how you structure all of these agents together to be orchestrated?
24
Yeah, valid questions.
25
I like to think of it like this.
26
MCP is about the LLM agents and how they talk to the outside world.
27
And ADK is the framework for building the agent itself.
28
Okay, so model context protocol.
29
Let's go a little bit deeper because before MCP, if you want in your LLM or the agent that you're building, we have right here to access different resources that it needs to answer a question, which could mean, say for example, accessing a database, so Postgres or something like that, or maybe scraping the web to find new up-to-date information or maybe reading files that are on your directory or your file system.
30
You had to write this custom integration every single time.
31
And I might write this integration, but Anna might write it, and other organizations are all doing the same thing just to retrieve data from these different sources.
32
Yeah, custom glue code, I mean, really accelerating work, don't you think?
33
Fun stuff, right?
34
No, but MCP, what it did was standardize this interface and it defined a protocol, meaning a set of rules for how a client, so maybe your AI agent or an LLM host here, would talk and communicate with these different types of servers, right, so what is actually exposing the tool or the data that our agent needs in order to answer a question or perform task.
35
Yeah, and how does the MCP host communicate with the MCPs server?
36
Do they have like their own secret language?
37
Well, it's not actually much of a secret, because the message format that MCP uses is JSON RPC, which is almost like plain text that is passed from the MCP server to the host agent and the LLM that's running.
38
So it depends, though, where the actual server is running.
39
So for example, if we're running an MCP's server locally on our machine, like an IDE plugin that's accessing your file system, or maybe a desktop application that's access accessing github.
40
It's going to use standard input and output to process and pass that data back and forth.
41
Now, if we're trying to do this on the web with remote servers, it's gonna use HTTP with streaming support in order to pass that information using things like authentication tokens to authenticate that the host is actually talking to the server and back and fourth.
42
Nice! So the MCP server is like a little wrapper around your tool.
43
You write it once and any MCP compatible client can use it.
44
Exactly. And MCP has three main primitives.
45
First off are the tools, like what we've been talking about here.
46
And these are functions that the LLM can call like search the web or run this SQL query.
47
Now, secondly, there's also resources.
48
So resources are things that the LM can read.
49
So files, documentation, internal and external databases.
50
And then finally, MCP also includes the capability for prompts that are pre-built prompt templates that you can use and expose to the server so that you don't have to write them each time.
51
Okay, and what happens if you swap the model you use to build the application or maybe you build an entirely new one?
52
Well, that's a great question.
53
And actually, that is not a problem at all, because since we're not rebuilding these integrations each time, we're actually able to reuse the same MCP server.
54
And that's what makes MCP such a time saver, because there's no need for countless hours spent building these custom integrations to talk to our data sources.
55
It's just plug and play.
56
Nice. Yeah, and I think the thing that developers really appreciate about MCP is that it's model-agnostic, right?
57
So it doesn't matter if you're using Claude, GPT, Gemini, a local model, whatever.
58
If it speaks MCP, it works.
59
Exactly, and the ecosystem is growing really fast.
60
Actually, there's already MCP servers for a lot of the resources that you use every day, like GitHub or Slack, Google Drive, Postgres as a database, Jira, Figma, and The List keeps growing because the community is building them.
61
All right, so you've got your tools figured out, maybe you've a couple MCP servers running, but now you need to actually build the agent.
62
And that's where ADK comes in.
63
So ADK is an open source Python framework for building AI agents, and specifically it gives you structure.
64
Okay, so that's really interesting.
65
What do you mean about having structure for these AI agents?
66
So at its core, ADK forces you to organize your agent in a way like you'd structure real software.
67
Under the hood, it has a couple core building blocks.
68
Those are agents, tools, memory, events, and runners.
69
All the primitives you need to build predictable and testable systems.
70
Okay, that's great.
71
So, what does it actually look like in practice?
72
Yeah, so let's start with the agent itself.
73
In ADK, an agent isn't just an LLM with a prompt, it's a defined execution unit.
74
So it has a model, it has sets of instructions, tools it's allowed to use, and a controlled reasoning loop.
75
An ADK gives you different types of agents.
76
So you can have LLN-driven ones for reasoning, which are more flexible, or deterministic workflow agents.
77
So these can be sequential, parallel, and loop, when you want strict control form.
78
And we also have the flexibility of creating our own custom agents.
79
So that's really cool because ADK lets you pick between, hey, we can let the model figure it out and other situations where we need to do these steps exactly in order each time.
80
That's exactly right.
81
And behind the scenes, a user query is received by the runner and then passed to the agent.
82
And once the agent has a response, so a tool call request or a state change to report, it yields back and passes it to the runner.
83
And the runner can then process the update produced by the agent and can pass it upstream.
84
That's super cool.
85
And I'm assuming that the runner executes these tools and it commits that change to the overall agent session state, right?
86
Yeah. Exactly.
87
So in this loop here, the agent is suspended at each yield, so it's giving the runner full control to handle consequences before the agent sees what's going to happen next.
88
And that's what makes debugging and tracing behavior so much easier with ADK than with ad hoc agent code.
89
I understand that, I get that because I like predictable behavior and our agents historically don't always provide that, right?
90
Yeah, and that's why ADK also gives you proper session state and memory.
91
So state is short-term.
92
It's the working memory inside a single conversation.
93
And memory is long-term, it's what the agent remembers across sessions, such as user preferences.
94
And for anything external, ADK lets agents use tools to run code, call APIs, or even use other agents as tools.
95
That's awesome.
96
And ADK, I guess, it gives you this entire framework, right?
97
You've got structure, you've got state, the orchestration, the debugging, the whole thing.
98
Yeah, it's pretty great.
99
And that's the power of it.
100
ADK isn't just making an LLM do stuff.
101
It's a full stack system for building reliable, multi-agent architectures.
102
Right, and I've heard ADK is great for these multi-agent systems where you could have a root orchestrator agent that delegates subtasks to specialized sub-agents.
103
So instead of one general purpose agent that we have, we've got a research agent, a writing agent, a validation agent, all of these different individual roles that work together that are specialized for each use case, and ADK supports different types of agents out of the box.
104
Yeah, right, so you've got LLM agents, like we spoke about, which are the classic think and act loops, but you also have workflow agents, so those are the sequential, parallel, and loop-based agents.
105
And if you know ahead of time that certain steps need to happen in order, you can hard code that structure instead of leaving it up to the model.
106
That's huge for reliability.
107
Less LLM decision-making stuff that we don't always need and more ability to build custom workflows to fix our problems and solve what we need.
108
Yeah, exactly.
109
An ADK supports multiple model backends, so you're not locked in.
110
And the cool thing is that ADK is a tool framework agnostic at the integration layer.
111
So that means.
112
Well, it means it works with MCP servers.
113
You can plug any MCP server in as a tool source for your ADK agent.
114
Okay, let's make this concrete with a real scenario for when you should use MCP or ADK, because it depends.
115
It's a valid answer, I think, but it makes for a terrible video.
116
That's fair.
117
So let's say that you built your own coding assistant that can search your repo, open up files, run tests for you, and help you debug problems that you might have.
118
So first question, how are you actually building the agent's logic, right?
119
The memory, the tool use, the reasoning that it's going to have, and the retries when it inevitably makes something worse.
120
Yeah, so that's ADK territory.
121
You're defining what the agent's behavior is, how it decides to search the repo, for example, when to run tests, and how it should react to inevitable failures.
122
Agreed, and ADK helps you structure the cognition of the agent, so this involves the planning and the tool orchestration and the guardrails so it doesn't delete your production database for debugging purposes.
123
Yeah, that's some real nightmare fuel.
124
Tell me about it.
125
But let's say now that your assistant needs standardized access to that repository, and to your test runner, and access to your issue tracker.
126
That's where MCP comes in.
127
And so MCP is going to help us out to standardize how the model and the agent talks to those external tools in a consistent way.
128
It's that protocol layer.
129
Okay, I like this.
130
So, ADK defines what the agent should do, and MCP defines how it actually does those things by communicating with the world while doing them.
131
So different layers, but complementary roles.
132
It's not Rivals, right?
133
Yeah, only in the title of the video.
134
Well, listen, the algorithm demanded we have some conflict.
135
I get it. So, to wrap it up, if you're building AI agents, you're going to hear a lot about both MCP and ADK.
136
Don't let the names confuse you.
137
Right? Because MCP solves this connectivity problem and ADK solves the orchestration problem.
138
They're complementary and they're not competitors.
139
Yeah, and the real question isn't which one, it's what problem am I solving right now?
140
And hopefully this video gave you the context that you needed.
141
That was good.
142
I see what you did there.
143
It's corny, but I'll allow it one time.
144
You like that one?
145
I think, you know, I've got more if you'd like to hear some more.
146
Well, how about we save some for the next video?
147
Alright, I tried.
148
I tried, but if you're using ADK, MCP, or both, let us know down below.
149
And if this helped you finally make sense of these two concepts, please make sure to hit the like and subscribe to the channel for more content like this.

App herunterladen

KI-Bewertung für jeden gesprochenen Satz

TRENDING

Beliebt

Kontext & Hintergrund

In der heutigen digitalen Welt spielt die Entwicklung von KI-Agenten eine zentrale Rolle. Der Bildschirm füllt sich mit Diskussionen über verschiedene Protokolle, die es diesen Agenten ermöglichen, effektiv miteinander zu kommunizieren und auf externe Daten und Werkzeuge zuzugreifen. Dies ist besonders relevant für Entwickler, die nicht nur Chatbots, sondern auch autonome Agenten erstellen, die komplexe Aufgaben ausführen können. Dieser Kontext ist entscheidend, um zu verstehen, wie moderne KI-Agenten funktionieren und welche Tools wie MCP und ADK dabei helfen, diese Systeme zu gestalten.

Top 5 Phrasen für die tägliche Kommunikation

  • „Wie kommuniziert mein Agent mit externen Werkzeugen?“ - Eine wichtige Frage für alle, die KI-Agenten entwickeln.
  • „Wie baue ich einen Agenten auf?“ - Das zweite große Anliegen für Entwickler von KI-Systemen.
  • „Was sind die Hauptfunktionen von MCP?“ - Eine Möglichkeit, sich über das Model Context Protocol zu informieren.
  • „Wie strukturiere ich mehrere Agenten?“ - Dies ist entscheidend, wenn man ein Team von Agenten koordinieren möchte.
  • „Wie funktioniert die Kommunikation zwischen dem MCP-Server und dem Agenten?“ - Verstehen der technischen Hintergründe ist essentiell für die Entwicklung.

Schritt-für-Schritt Shadowing-Anleitung

Um die im Video behandelten Themen effektiv zu lernen und zu üben, empfehlen wir die Methode des shadow speech. Hier ist eine strukturierte Anleitung, wie Sie dies tun können:

  1. Hören Sie aktiv zu: Beginnen Sie mit dem Ansehen des Videos und konzentrieren Sie sich auf die Aussprache und Betonung der Sprecher. Notieren Sie sich Schlüsselphrasen.
  2. Wiederholung: Spielen Sie kurze Abschnitte des Videos wiederholt ab. Sprechen Sie die Sätze laut nach, indem Sie den gleichen Rhythmus und die Intonation verwenden, um Ihre Englische Aussprache zu verbessern.
  3. Verstehen von Kontext: Versuchen Sie, den Kontext und die technischen Begriffe zu verstehen. Erklären Sie die Prozesse in Ihren eigenen Worten, um Ihr Verständnis zu vertiefen.
  4. Verwendung der Phrasen: Integrieren Sie die oben genannten Phrasen in alltägliche Gespräche, um Ihre Fähigkeit, Englisch sprechen zu üben, zu steigern.
  5. Konsolidierung: Schließen Sie jede Sitzung mit einer Reflexion ab. Fragen Sie sich, was Sie gelernt haben und welche Bereiche Sie weiter verbessern möchten.

Durch die Kombination von Englisch lernen mit YouTube und gezielten shadow speak-Techniken können Sie Ihre Sprachfähigkeiten erheblich steigern und komplexe Themen mühelos meistern.

Was ist die Shadowing-Technik?

Shadowing ist eine wissenschaftlich fundierte Sprachlerntechnik, die ursprünglich für die professionelle Dolmetscherausbildung entwickelt und durch den Polyglotten Dr. Alexander Arguelles populär gemacht wurde. Die Methode ist einfach aber wirkungsvoll: Du hörst englisches Audio von Muttersprachlern und wiederholst es sofort laut — wie ein Schatten, der dem Sprecher mit nur 1–2 Sekunden Verzögerung folgt. Anders als passives Hören oder Grammatikübungen zwingt Shadowing dein Gehirn und deine Mundmuskulatur, gleichzeitig echte Sprachmuster zu verarbeiten und zu reproduzieren. Studien zeigen, dass es Aussprachegenauigkeit, Intonation, Rhythmus, verbundene Sprache, Hörverständnis und Sprechflüssigkeit signifikant verbessert — was es zu einer der effektivsten Methoden für die IELTS Speaking-Vorbereitung und reale englische Kommunikation macht.

Kauf uns einen Kaffee