Yuan Ge Speaks: The Five Stages of AI Agents (Prologue)

Hello, everyone, I am your Yuan Ge.

Recently, a new term has emerged in the AI community—”AI Agent”. It sounds quite mysterious, like something out of a sci-fi movie. I thought to myself, isn’t this just giving AI “hands” and “brains” so it can work on its own?

As a hardcore tech enthusiast who loves tinkering, I have dabbled in everything from software to hardware, from cloud services to embedded systems. Today, let’s talk about AI Agents and their “mysterious backer”—the AI Agent SDK, and see whether it is a “toy” or a “productivity tool”!

1. AI Agent: Isn’t it just a “high-level script”?

This might sound a bit rough, but it’s true. Think about it, the automation scripts we used to write were just setting rules for the computer to execute repeatedly. You can understand an AI Agent as a “super-smart” automation script.

What makes it powerful? It stands behind a robust large language model (LLM). You no longer need to painstakingly write fixed rules; you just need to give it a “top-level command” in natural language, like “Help me check the flights to Beijing today, find the cheapest one,” and it can figure things out, browse the internet, call tools, and finally present the results to you.

Doesn’t it sound a bit like having a “digital version” of a personal assistant? Exactly, that’s the charm of AI Agents—they can understand your intentions and autonomously complete complex tasks.

2. AI Agent SDK: Your Swiss Army Knife for “Training” AI

So how can we developers have our own AI Agents? We can’t just tease it in the ChatGPT dialogue box every day, right?

That’s where today’s star—the AI Agent SDK—comes into play!

SDK (Software Development Kit) is essentially a set of tools for software development. In simple terms, it’s a toolkit provided by big companies like OpenAI, Anthropic, and Vercel to simplify the complex process of building AI Agents.

What’s the use of this? Let me give you an analogy.

If you want to assemble a computer yourself, you can start from the most basic circuit board and chips, solder and wire everything yourself, sweating profusely, and still not be sure if it will power on. That’s the “manual” mode.

Alternatively, you can choose to buy a motherboard, CPU, and RAM, plug them in, install an operating system, and be done. That’s the “SDK” mode.

The AI Agent SDK is like that “motherboard”; it helps you solve the most troublesome problems:

  1. “Understanding human language”: The SDK handles communication with the LLM, so you don’t have to worry about low-level API calls or network requests; just throw your commands at it.

  2. “Using hands and feet”: For the Agent to work, it needs to call external tools (Tools), like checking the weather, booking flights, or sending emails. The SDK provides a standard “tool interface” that allows your Agent to easily connect to various third-party services.

  3. “Good memory”: Complex tasks cannot be completed in one step. The Agent needs to remember previous actions and results, which is known as “state management”. The SDK takes care of all this, giving your Agent “memory”.

3. Which of the “Big Three” SDKs is better?

Currently, the mainstream AI Agent SDKs on the market include:

  • OpenAI Agents SDK: As the “originator”, OpenAI’s SDK is naturally well-established. Its biggest feature is the “home advantage”; it integrates best with its own GPT models. If you are a loyal OpenAI user, you can’t go wrong with it. Its `Assistant` API is designed like hiring a “butler” for AI, helping you manage tools, threads, and states, making it very user-friendly.

  • Anthropic Agent SDK: Anthropic’s Claude model emphasizes “safety, reliability, and trustworthiness”. Therefore, its SDK is designed with a strong focus on controllability and transparency. It provides a clear process for tool usage and result handling, allowing you to know exactly what the Agent is doing at every step, preventing it from “going off-script”.

  • Vercel AI SDK: This one is a “jack of all trades”. It doesn’t produce large models itself, but it aims to be the “universal remote control” for all large models. The biggest advantage of Vercel AI SDK is its front-end friendliness, especially suitable for web developers. It can easily help you integrate AI Agent capabilities into your website or app, and supports streaming responses (letting AI output results one word at a time), providing an excellent user experience.

4. “Toy” or “Productivity Tool”? Yuan Ge’s Answer

After discussing all this, what can this thing actually do?

Calling it a “toy” isn’t entirely wrong. Many current applications of AI Agents do seem a bit “AI for AI’s sake”, like chatting with you or writing poetry; they look cool but don’t yield much practical output.

However, I want to say that any impressive technology, on the eve of its explosion, looks like a “toy”.

Think about personal computers and the internet; weren’t they also just “toys” for geeks at first?

From my perspective as a “veteran”, the potential of AI Agents is definitely more than that. Their true value lies in “connection” and “automation”.

  1. Connecting the digital world: Agents can serve as “translators” between us and complex software systems.

  2. Freeing up productivity: In enterprises, a lot of repetitive tasks can be handed over to AI Agents.

  3. Empowering the physical world: I love tinkering with hardware, like Raspberry Pi and ESP32; combined with the brain of an Agent, the possibilities are enormous!

5. Yuan Ge’s Summary and Preview

The emergence of the AI Agent SDK has greatly lowered the threshold for us developers to “play” with AI. It’s like a Swiss Army knife, giving us the ability to “train” AI.

Right now, it may still seem like a “toy” in many aspects, but its potential is undeniable. In the future, AI Agents will surely become the infrastructure of the software world, just like today’s operating systems and databases.

For us developers, now is the best time to “dive in”.

However, a general introduction is definitely not enough. To help everyone thoroughly understand AI Agents, I am preparing a series called “The Five Stages”.

This article is the Prologue, helping you quickly establish an overall understanding. In the following five chapters, I will take you deeper into the “thoughts”, “practices”, “advanced techniques”, “protocols”, and “prospects” of AI Agents.

Stay tuned for the next article, the “Thoughts” chapter, where we will delve into the core ideas of AI Agents, what makes them powerful, and why they are the future trend!

Stay tuned!

Leave a Comment