<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Context-Management on Yushi's Blog</title><link>https://blog.yushi91.com/blog/context-management/</link><description>Recent content in Context-Management on Yushi's Blog</description><generator>Hugo</generator><language>en-US</language><copyright>Copyright © 2025, Yushi Cui.</copyright><lastBuildDate>Tue, 05 May 2026 10:00:00 +1200</lastBuildDate><atom:link href="https://blog.yushi91.com/blog/context-management/index.xml" rel="self" type="application/rss+xml"/><item><title>Three Stages of an Agent Workflow: Prompt, Context, Harness</title><link>https://blog.yushi91.com/blog/three-stages-agent-workflow/</link><pubDate>Tue, 05 May 2026 10:00:00 +1200</pubDate><guid>https://blog.yushi91.com/blog/three-stages-agent-workflow/</guid><description>&lt;p&gt;&lt;img src="https://blog.yushi91.com/agent-workflow-three-stages.webp" alt="Three stages of an agent workflow" loading="lazy"&gt;
&lt;/p&gt;
&lt;h2 id="the-mental-model"&gt;The mental model&lt;/h2&gt;
&lt;p&gt;I want to talk about the way I currently think about agent workflows. Three stages. Each one solves a different problem, and you need all three before you get something that can run for hours without falling over.&lt;/p&gt;
&lt;p&gt;The three stages are prompt engineering, context management, and the harness. I&amp;rsquo;ll go through each one in the order I learned them.&lt;/p&gt;
&lt;h2 id="stage-one-prompt-engineering"&gt;Stage one: prompt engineering&lt;/h2&gt;
&lt;p&gt;The goal here is simple. Give the agent a clear instruction so it knows what to do.&lt;/p&gt;</description></item></channel></rss>