<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Agentic Loop on Bruce on AI Engineering</title><link>http://www.heyuan110.com/tags/agentic-loop/</link><description>Recent content in Agentic Loop on Bruce on AI Engineering</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 07 Mar 2026 18:00:00 +0800</lastBuildDate><atom:link href="http://www.heyuan110.com/tags/agentic-loop/index.xml" rel="self" type="application/rss+xml"/><item><title>Build an AI Coding Agent from Scratch in Python (Complete Tutorial)</title><link>http://www.heyuan110.com/posts/ai/2026-03-07-build-ai-agent-python/</link><pubDate>Sat, 07 Mar 2026 18:00:00 +0800</pubDate><guid>http://www.heyuan110.com/posts/ai/2026-03-07-build-ai-agent-python/</guid><description>&lt;p&gt;&lt;img src="http://www.heyuan110.com/posts/ai/2026-03-07-build-ai-agent-python/cover.webp"
 alt="Build an AI coding agent from scratch in Python — complete tutorial with agentic loop and tool use"
 
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 width="1200"
 height="630"
/&gt;
&lt;/p&gt;
&lt;p&gt;Every AI coding tool — &lt;a href="http://www.heyuan110.com/posts/ai/2026-02-28-claude-code-complete-guide/"&gt;Claude Code&lt;/a&gt;, Cursor, Copilot — runs on the same core architecture. In this tutorial, you will build that architecture yourself: a terminal AI coding agent in Python, from zero to a working 250-line tool that reads files, writes code, runs commands, and makes autonomous multi-step decisions.&lt;/p&gt;
&lt;p&gt;No frameworks. No abstractions. Just Python and a clear understanding of how AI agents actually work.&lt;/p&gt;</description></item><item><title>Build Your Own Claude Code from Scratch in Python (250 Lines)</title><link>http://www.heyuan110.com/posts/ai/2026-02-24-build-magic-code/</link><pubDate>Tue, 24 Feb 2026 10:00:00 +0800</pubDate><guid>http://www.heyuan110.com/posts/ai/2026-02-24-build-magic-code/</guid><description>&lt;p&gt;&lt;img src="http://www.heyuan110.com/posts/ai/2026-02-24-build-magic-code/cover.webp"
 alt="MagicCode terminal AI coding assistant demo"
 
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 width="1200"
 height="630"
/&gt;
&lt;/p&gt;
&lt;p&gt;You&amp;rsquo;ve probably used &lt;a href="http://www.heyuan110.com/posts/ai/2026-01-14-claude-code-guide/"&gt;Claude Code&lt;/a&gt; — or at least heard the hype. It reads your codebase, writes files, runs tests, and fixes bugs, all from a terminal prompt. It feels like magic.&lt;/p&gt;
&lt;p&gt;But here&amp;rsquo;s the thing: &lt;strong&gt;the core architecture behind it is surprisingly simple.&lt;/strong&gt; Simple enough that you can rebuild it from scratch in an afternoon with Python and about 250 lines of code.&lt;/p&gt;</description></item></channel></rss>