惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
H
Help Net Security
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
博客园 - 叶小钗
Y
Y Combinator Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
C
Check Point Blog
Recent Announcements
Recent Announcements
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
B
Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Google just launched ADK for AI agents. I built something...
Aftab Bashir · 2026-05-03 · via DEV Community

On April 30th I got an email from Google about something called GEAR, their new program for building AI agents using ADK, the Agent Development Kit. I signed up, watched the intro video, and had a strange feeling of recognition.

The pattern was familiar. Define tools. Write descriptions. Connect an AI model to those tools. Let the model decide which tool to call based on what the user asks.

I built exactly this in .NET back in February, except I used MCP instead of ADK. And I pointed it at a Kubernetes cluster instead of a database.

What ADK and MCP are both trying to solve

The problem both frameworks address is the same. You have an AI model and you want it to do real things in the world, not just generate text. To do that, the model needs tools. A tool is just a function the model can call: search the web, query a database, restart a server, create a file.

The hard part is telling the model what each tool does well enough that it picks the right one. Both ADK and MCP solve this with descriptions. You write a description for each tool, and the model reads those descriptions to decide what to call.

ADK does this in Python, Java, TypeScript, or Go. You define an agent with a name, a model, an instruction, and a list of tools. The framework handles the rest.

MCP does this through a server protocol. You define tools with names, descriptions, and input schemas. Any MCP-compatible client, including Claude Desktop, can connect to your server and use those tools through natural language.

What I built

My MCP server lets Claude manage a Kubernetes cluster through natural language. You type something like "restart the idp-platform deployment" and Claude figures out which tool to call, what parameters to pass, and executes it.

The server exposes 8 tools: list pods, get pod logs, scale a deployment, restart a deployment, describe a node, get cluster events, and a couple more. Each tool has a detailed description that tells Claude what it does and when to use it.

Here is what one tool definition looks like in .NET:

[McpServerTool, Description(
    "Scale a Kubernetes deployment to a specific number of replicas. " +
    "Use this when you need to increase or decrease the number of running instances. " +
    "Provide the deployment name and namespace. " +
    "Returns the updated replica count and deployment status.")]
public async Task<string> ScaleDeployment(
    [Description("The name of the deployment to scale")] string deploymentName,
    [Description("The Kubernetes namespace")] string namespaceName,
    [Description("The desired number of replicas")] int replicas)

Enter fullscreen mode Exit fullscreen mode

The description is doing a lot of work here. It tells Claude what the tool does, when to use it, what it needs, and what it returns. That is exactly the same thing ADK tool descriptions do.

The key insight both frameworks share

Tool descriptions are the interface layer, not documentation.

When you write a description for a tool, you are not writing it for a developer to read. You are writing it for the AI model to read. That changes everything about how you should write them.

Be specific about when to use this tool versus a similar one. Be clear about what the inputs mean. Be explicit about what the output contains. Vague descriptions lead to the model picking the wrong tool or calling it with the wrong parameters.

I learned this the hard way. My first version of the scale deployment tool had a description that just said "Scale a deployment." Claude kept confusing it with the restart tool. Adding specificity about what scaling means versus restarting fixed it immediately.

Where they differ

ADK is a full framework. It handles multi-agent systems, bidirectional streaming, session management, deployment to Google Cloud, evaluation, and observability. It is designed for production enterprise applications.

MCP is a protocol. It is lighter, more focused, and model-agnostic. Any AI client that speaks MCP can connect to your server. Claude Desktop, Cursor, and increasingly other tools all support MCP. You write the server once and it works across clients.

For my use case, MCP was the right choice. I wanted Claude to control my local Kubernetes cluster during development. I did not need multi-agent orchestration or managed cloud deployment. I needed a reliable protocol that Claude Desktop could speak natively.

If I was building a production AI system for a business with multiple agents, audit logging, and cloud scale, ADK would be more appropriate.

The .NET angle

Neither ADK nor MCP has official .NET support as a primary language. ADK supports Python, Java, TypeScript, and Go. The official MCP SDK supports Python and TypeScript.

There is a community .NET MCP SDK that works well and that is what I used. But it does mean you are working slightly outside the official tooling for both frameworks if you are a .NET developer.

That said, building an MCP server in .NET is straightforward once you have the SDK. The tooling, testing, and deployment story is the same as any other .NET application.

What ADK does that impressed me

The built-in Dev UI is genuinely useful. When you run an ADK agent locally, you get a browser interface that shows you exactly what the agent is thinking, which tools it called, what parameters it passed, and what came back. That visibility into the agent's reasoning is something I had to build myself for debugging my MCP server.

The multi-agent support is also impressive. ADK lets you define hierarchies of agents where a primary agent can delegate to specialist agents. I have not needed this yet but I can see why it matters for complex workflows.

Source code

My MCP Kubernetes Manager is open source: github.com/aftabkh4n/mcp-kubernetes-manager

It includes an AI-generated release notes pipeline as well - every merged PR automatically generates a structured changelog entry using Claude and GitHub Actions.

If you are a .NET developer curious about building AI agents, MCP is worth exploring even while the official tooling catches up. The protocol is solid and the community SDK works well.

If you are starting fresh and language flexibility matters, ADK is worth a serious look. Google has clearly put real engineering behind it.

Either way, the mental model is the same. Tools, descriptions, and an AI that reads them. That part does not change no matter which framework you use.