<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI Agent on Code Now</title><link>https://blog.0xnullpath.cc/en/tags/ai-agent/</link><description>Recent content in AI Agent on Code Now</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 27 May 2025 16:04:10 +0000</lastBuildDate><atom:link href="https://blog.0xnullpath.cc/en/tags/ai-agent/index.xml" rel="self" type="application/rss+xml"/><item><title>LLM Life from Scratch: How to Write an Agent</title><link>https://blog.0xnullpath.cc/en/posts/note-snippet-9-llm-life-from-scratch-how-to-write-an-agent/</link><pubDate>Tue, 27 May 2025 16:04:10 +0000</pubDate><guid>https://blog.0xnullpath.cc/en/posts/note-snippet-9-llm-life-from-scratch-how-to-write-an-agent/</guid><description>&lt;blockquote>
 &lt;p>This article aims to explain what an LLM Agent is in plain language and to implement a simple Agent in Python.&lt;/p>
&lt;/blockquote>&lt;h2 id="1-introduction-to-agents">1. Introduction to Agents&lt;/h2>
&lt;h3 id="11-what-is-an-agent">1.1 What Is an Agent?&lt;/h3>
&lt;p>There is no precise definition of an LLM Agent, but one core characteristic stands out:&lt;/p>
&lt;blockquote>
 &lt;p>An LLM serves as the main controller or &amp;ldquo;brain&amp;rdquo; that controls a flow of operations needed to complete a task or user request. &amp;mdash;《Prompt Engineering Guide》&lt;/p></description></item><item><title>LLM Agent Programming from Scratch: The MCP Edition</title><link>https://blog.0xnullpath.cc/en/posts/note-snippet-5-llm-agent-programming-from-scratch-the-mcp-edition/</link><pubDate>Mon, 21 Apr 2025 08:23:57 +0000</pubDate><guid>https://blog.0xnullpath.cc/en/posts/note-snippet-5-llm-agent-programming-from-scratch-the-mcp-edition/</guid><description>&lt;h2 id="1-what-is-mcp-model-context-protocol">1. What Is MCP (Model Context Protocol)&lt;/h2>
&lt;p>MCP (Model Context Protocol) is a communication protocol launched and open-sourced by Anthropic in 2024, designed to solve the connection problem between large language models (LLMs) and external data sources and tools. It defines the protocol for communication between the Model and external interfaces/data/Prompts. Tool/resource providers only need to implement the MCP protocol to connect with an LLM APP that implements an MCP client. During runtime, the LLM APP automatically retrieves the tool list/Prompt/resource list returned by the protocol from the MCP server via JsonRpc.&lt;/p></description></item></channel></rss>