jQuery 人工智能代理时代
The jQuery Age of AI Agents

原始链接: https://metorial.com/blog/jquery-age-of-ai

## AI 代理的“jQuery 时代” 当前构建 AI 代理——将它们连接到工具和 API——的现状,与 2000 年代中期Web 开发的情况非常相似。 就像开发者们曾经为在不同浏览器上处理不一致的 JavaScript 实现而苦恼一样,我们现在正面临着将代理与各种服务集成这一支离破碎且具有挑战性的过程。 这导致了务实的、临时的“补丁”解决方案,仅仅为了*发布*产品。 模型上下文协议 (MCP) 登场,被比作 AI 领域的 jQuery。Anthropic 发布了 MCP,它提供了一个标准化的抽象层,简化了复杂的“N×M 集成问题”——即为每种代理-工具组合编写自定义代码的需求。 就像 jQuery 一样,它并不能*解决*根本问题,但可以使集成变得不那么痛苦,从而实现快速开发。 然而,AI 标准化的时间线比 Web 快得多,可能导致更快的融合*或*更多的碎片化。 关键在于,风险更高; 故障的代理可能会造成现实世界的损害,因此从一开始就需要强大的安全性。 虽然 MCP 具有早期势头,但来自 Google 的 Agent2Agent 和其他协议的竞争意味着标准化并非得到保证。 最终,MCP 代表了一种临时解决方案,允许在长期标准发展的同时进行创新——这种模式与 jQuery 对 Web 的影响相呼应。

## 黑客新闻讨论:“人工智能的早期” 最近黑客新闻的讨论围绕一篇名为“人工智能的早期”的博文展开。作者将当前的人工智能格局与早期网络浏览器的发展历程相提并论,将人工智能公司之间的竞争比作一场类似于“浏览器大战”的“战争”。 然而,这篇帖子受到了大量批评。许多评论者将其称为“AI垃圾”——被认为质量低劣,并且可能借助大型语言模型(LLM)生成的內容。人们对写作风格、滥用破折号(由Notion自动添加)以及让人联想到ChatGPT的程式化措辞表示担忧。 虽然一些人同意用jQuery来比喻当前人工智能“胶水”代码(MCP)的状态,但另一些人认为XML更适合作为比较,强调当前人工智能构建的临时性。尽管受到批评,作者为自己的作品辩护,称之为真诚的观点,承认LLM在审查方面的帮助,但坚持原创作者身份。这场讨论反映了人们对人工智能生成内容的日益怀疑,以及对更具原创性和洞察力的分析的渴望。
相关文章

原文

I have this theory: that we are in the jQuery age of AI agents.

If you're building with AI right now—connecting agents to tools, wiring up APIs, trying to get Claude to talk to your database—you're living through something weirdly familiar (I think). It's the same chaotic, fragmented, "why is this so hard" energy that web developers felt in the mid-2000s when every browser implemented JavaScript differently and cross-browser compatibility was a prayer, not a promise.

And just like back then, we're reaching for duct-tape solutions. We’re building pragmatic ad-hoc abstractions. Tools that don't fix the underlying mess but make it bearable enough that we can actually ship something. Why would we fix it, OpenAI is announcing a new set of APIs next week anyway.

The parallel is almost too perfect. And if history is any guide, we're about to see some dramatic changes in how AI agents work. And I’m not sure if that’s MCP or another thing.

Let me explain.

Remember When the Web Was Chaos? (No? Me Neither.)

Here's the thing: most people reading this, myself included, weren't even alive when the browser wars started. The first browser war kicked off in 1995. If you were born around the turn of the millennium, you missed the absolute carnage of trying to build websites that worked across Netscape Navigator, Internet Explorer, and whatever else people were using.

But the stories are legendary. I imagine an intense, almost mythical sword fight between Bill Gates and Mark Andreessen … anyway.

Imagine writing the same piece of code three completely different ways because each browser decided to implement JavaScript differently. Imagine seeing "Best viewed in Internet Explorer 6" badges on websites—not as a joke, but as a genuine disclaimer because the site literally wouldn't work in Firefox.

The keen-eyed might already see some parallels between browser and AI companies.

Microsoft and Netscape were locked in what historians now call the "browser wars," each adding proprietary features (Netscape had the <blink> tag, IE had <marquee>—both of them were great additions to the web and we need them back) and completely ignoring any attempts at standardization. The W3C published HTML standards, but no one cared. Why would they, there’s no time for standard while you’re at war.

Then jQuery Showed Up

In 2006, the great John Resig released jQuery at BarCamp NYC. It wasn't magic. It didn't fix the fundamental problem that browsers couldn't agree on how JavaScript should work.

What it did was brilliant in its simplicity: it abstracted away the pain. John Resig went through the painful depths of cross-browser inconsistencies so you didn’t have to.

Instead of writing different code for IE vs. Firefox vs. Safari, you wrote jQuery. One line of jQuery worked everywhere. $('#element').hide() just worked, regardless of which browser your user was running. By 2019, jQuery was running on 80% of the top 1 million websites. It became so dominant that developers would learn jQuery before learning vanilla JavaScript.

But here's what jQuery actually was: a really, really good version of Duktape. Kinda like Flex Tape.

It didn't solve the standards problem. It didn't make browsers agree on anything. It just provided a layer that made the web less bad. And you know what? That was enough for most people.

jQuery enabled an entire generation of web applications to exist while the slower work of actual standardization happened in the background. It even inspired some web APIs that we’re used to now. document.querySelector(’#element’) anyone?

Déjà Vu: The AI Agent Mess of 2025

Now let's talk about building AI agents in 2025. (BTW it’s October already, crazy, right? It’s about to be Christmas time.)

You pick a framework—maybe LangChain because it's popular, or Vercel’s AI SDK because it’s easy. You get your agent running. Great!

Then you want to connect it to Google Drive. And Slack. And your database. And suddenly you're writing custom integration code for every single service. Each one needs its own authentication logic, its own error handling, its own data transformation layer.

This is what researchers call the "N×M integration problem." If you have M different AI applications and N different tools, you need M×N different integrations. Every combination requires custom code.

Sound familiar?

Enter MCP: jQuery for Agents

This is where the Model Context Protocol comes in.

Released by Anthropic in November 2024, MCP does for AI agent integration what jQuery did for browser compatibility: it provides a standardized abstraction layer. Instead of writing custom code for every agent-tool combination, you write one once in the MCP standard.

The architecture is straightforward: tools expose themselves as MCP servers, and agents connect as MCP clients. For the nerds: it transforms the N×M problem into M+N. Build one MCP server for Google Drive, and every MCP-compatible agent can use it. Build one MCP client in your agent, and it can connect to every MCP server.

Everyone know this is a real problem. That’s why major players like OpenAI and Google adopted it. Anthropic released pre-built servers for Google Drive, Slack, GitHub, Postgres (they aren’t good but they’re there).

Why It Feels Like jQuery

MCP has all the hallmarks of jQuery's moment:

  • It's pragmatic, not perfect. MCP doesn't solve all the fundamental problems with agent orchestration. It doesn't magically make security easy or resolve all the complexities of long-running workflows. What it does is make the most painful part—integration—significantly less painful.
  • It solves today's problem. Developers don't need a five-year vision of perfect AI infrastructure. They need to ship an agent that can read emails, or connect to Salesforce, or summarize support tickets this week. MCP delivers that.
  • It's getting you shipping. Just like jQuery let developers build rich web apps while browser vendors sorted out their standards mess, MCP lets you build capable agents while the industry figures out what agent standards should actually look like.

And here's the key insight: that's not a bug, it's a feature. jQuery wasn't a failure because it was temporary. It was a massive success because it enabled a generation of innovation while harder problems got solved. And even though jQuery is lost, its spirit isn’t.

But History Doesn't Just Repeat...

There are some important differences this time around that make the AI agent standardization story potentially faster, but also messier, than the web's journey.

Speed: Months, Not Years

The web took nearly two decades to go from fragmentation to reasonable standardization. HTML5 didn't become a formal recommendation until 2014. 19 years after the first browser war started.

AI agents? We went from the first serious agent frameworks to standardization attempts in months. Chat GPT launched in late 2022. MCP was announced in late 2024. That's not even two years.

This compressed timeline means either we'll see faster convergence... or more catastrophic fragmentation. Either way, we will get a solution faster.

Real Stakes: Agents Can Do Actual Damage

When Internet Explorer crashed, you reloaded the page. Annoying, but not catastrophic.

When an AI agent with tool-calling capabilities misbehaves, it can execute financial transactions, drop production databases, send emails to your entire customer list, or control physical systems.

This isn't theoretical. The security model needs to be right from the start, not retrofitted later.

We’re Still at War

OpenAI, Anthropic, and Google, and whoever might come next haven’t given up on that. Anthropic built a good prototype. It works good enough. It’s being used by people.

But this is war. MCP is a ceasefire at best.

MCP isn't the only player. Google's working on Agent2Agent. There's the Agent Communication Protocol. The Open Agent Schema Framework claims to reduce integration costs by 40-60% compared to custom implementations.

MCP has early momentum, but nothing is guaranteed. The web eventually converged on standards through a combination of market forces, developer pressure, and competitive cooperation between browser vendors. But also because of there sheer fact that eventually companies realized that web browsers are just carriers of information, not actual businesses.

Let’s Embrace the Chaos

This isn’t a love letter to MCP (of to jQuery for that matter). MCP is Duktape for AI agents. It’s not permanent. Every software engineer knows that sometimes Duktape fixes hold up longer than expected, but never forever. The problem remains.

  • We need to connect AI agents to tools, data sources, and whatever the new thing your PM just found and you absolutely need for your product is.
  • We need standardized ways to write those integrations. You don’t want to be the 10.000th person writing a Google Calendar integration.
  • We need standardized ways to connect to those integrations. Just like we have REST, GRPC, and GraphQL.
  • We need observability, and logging. Just how we have Sentry, PagerDuty, Datadog and stdout.
  • We need security. Because legal says so.

This is a bit awkward now, but we also try to solve this at Metorial. Right now, we build around MCP. Depending on how you connect to our platform, you might not even know that, but we do. So if you want to skip the integration nightmare: Metorial gives you 600+ integrations for your AI agents in a couple of lines of code. Our platform is crazy scalable, handles security and of course it’s open source. And tell legal that we’re SOC2 and GDPR compliant.

联系我们 contact @ memedata.com