<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LLM on Jack's Blog</title><link>https://cj9208.github.io/tags/llm/</link><description>Recent content in LLM on Jack's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 Sep 2026 10:15:00 +0800</lastBuildDate><atom:link href="https://cj9208.github.io/tags/llm/index.xml" rel="self" type="application/rss+xml"/><item><title>Good System Design and Good Presentations Both Hide Complexity</title><link>https://cj9208.github.io/blog/ai_study/system_design/good-system-design-and-good-presentations-both-hide-complexity/</link><pubDate>Thu, 24 Sep 2026 00:18:35 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/system_design/good-system-design-and-good-presentations-both-hide-complexity/</guid><description>&lt;p&gt;In presenting technical work, a common failure is to treat displayed complexity as proof of capability. Framework names fill the slides, layers fill the diagrams; after a thirty-minute talk the audience cannot say what problem the work solves, and something that demos smoothly can still fail in production. AI projects, with terms like multi-agent orchestration, dynamic RAG, and context engineering, are the most visible example today.&lt;/p&gt;
&lt;p&gt;Good system design puts complexity inside the system. The hard work stays in the code, the user sees clear behavior, and the business gets predictable results. Good presentations reduce the cognitive load on the audience. The two are the same discipline, applied at two different points.&lt;/p&gt;</description></item><item><title>大模型的高估值幻觉：当“替代白领”也救不了大模型公司</title><link>https://cj9208.github.io/blog/investment/llm-high-valuation-illusion/</link><pubDate>Fri, 21 Aug 2026 21:24:10 +0800</pubDate><guid>https://cj9208.github.io/blog/investment/llm-high-valuation-illusion/</guid><description>&lt;h2 id="导论承接幻觉与硬核追问价值捕获的终局"&gt;导论：承接“幻觉与硬核”，追问价值捕获的终局&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;在《&lt;a href="https://cj9208.github.io/blog/investment/ai-bubble-financial-logic/"&gt;幻觉与硬核：2026年 AI 泡沫的底层财务逻辑与破圈真相&lt;/a&gt;》中，我们论证了当前 AI 浪潮的“双重奇观”：&lt;strong&gt;宏观估值层&lt;/strong&gt;长着最危险的泡沫毒瘤（披着 SaaS 外衣的资本内循环、套娃游戏掏空的自由现金流、卖铲人的周期顶点幻觉），&lt;strong&gt;微观落地层&lt;/strong&gt;却正在啃食最坚硬的产业硬核（风险调节型人机协同、老旧系统的基因重组式重构），并据此判断：泡沫终将破裂，但产业硬核会活下来。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;本文想顺着这条线索，提出另一种更进一步的观点：&lt;strong&gt;即便“微观硬核”的判断完全成立，甚至把假设推到最乐观的物理极限——假定“全量替代白领”今天彻底成真——大模型基座厂商也未必能把这份生产力盈余装进自己的营收与估值里。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;在资本市场的宏大叙事中，以 OpenAI、Anthropic 为代表的大模型巨头，其估值已相继跨过数千亿美元门槛，并全力冲击万亿美元关口。支持这一极高溢价的底层逻辑极其简单且诱人：大模型不再是传统的辅助软件，而是“通用脑力基础设施”，它将全面替代全球庞大的白领劳动力，从而锚定一个每年数万亿美元的脑力支付池。&lt;/p&gt;
&lt;p&gt;然而，微观经济学与商业博弈的铁律表明，&lt;strong&gt;“创造价值”与“捕获价值”是完全不同的两件事&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;即使我们完全抛开技术成熟度与工程落地的阻力，&lt;strong&gt;假定“全量替代白领”这一最完美的极值假设今天就彻底成立&lt;/strong&gt;，大模型基座厂商也无法凭借这一技术突破来支撑其万亿估值。在自由竞争的市场博弈中，大模型厂商终将面临定价权的丧失，而其创造的巨额生产力盈余，也将被上游基础设施与下游终端买家瓜分干净。&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="第一章-极值假设如果白领替代完全成立"&gt;第一章 极值假设：如果“白领替代”完全成立？&lt;/h2&gt;
&lt;p&gt;为了探究大模型估值的上限，我们必须将推演条件拉到最乐观的物理与商业边界。&lt;/p&gt;
&lt;p&gt;假设在最理想的场景下（以下均为极值假设，非实测数据，仅用于推导估值上限）：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;能力无缝覆盖&lt;/strong&gt;：大模型具备完美的推理、编写、分析与决策能力，可以 0 阻力接入各种企业工作流。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;成本大幅下挫&lt;/strong&gt;：大模型将知识工作者的生产成本降低了 80% 以上，且故障率趋近于零。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;在这一假设下，全球白领（涵盖软件开发、法律咨询、财务审计、市场营销、行政管理等领域）每年数万亿美元的薪酬支出，将被彻底重构。大模型确实释放出了人类工业革命以来规模最庞大的&lt;strong&gt;社会生产力盈余（Productivity Surplus）&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;然而，商业推演的关键问题在于：&lt;strong&gt;这笔极其庞大的生产力盈余，究竟会在产业链的哪一部分沉淀？&lt;/strong&gt; 大模型公司是否有能力通过定价机制，将这笔巨大的社会效益转化为自身的营业收入与自由现金流？&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="第二章-智力平权与定价权丧失被抹平的溢价空间"&gt;第二章 智力平权与定价权丧失：被抹平的溢价空间&lt;/h2&gt;
&lt;p&gt;资本给与高估值的前提，是企业能够长期垄断某项关键资源并享有极高的定价权。然而，大模型市场从诞生之日起，就缺乏形成物理垄断的微观基础。&lt;/p&gt;
&lt;h3 id="1-开源与高性价比模型的智力平权"&gt;1. 开源与高性价比模型的“智力平权”&lt;/h3&gt;
&lt;p&gt;以 DeepSeek、Qwen 等为代表的新一代开源与高性价比模型体系的迅速迭代，彻底击碎了头部实验室对“通用智力”的绝对垄断。前沿模型的性能差距被压缩至几个月以内，通用大模型的推理能力迅速走向平权化。&lt;/p&gt;
&lt;h3 id="2-标准化接口与零切换成本"&gt;2. 标准化接口与零切换成本&lt;/h3&gt;
&lt;p&gt;与操作系统或社交网络不同，大模型并不具备网络效应（Network Effects）：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;接口高度同质化&lt;/strong&gt;：企业使用大模型主要通过 API 调取，各家大模型的输入与输出结构高度统一。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;零迁移壁垒&lt;/strong&gt;：下游企业可以轻松部署多模型路由（Dynamic Routing），在保证效果的前提下，毫秒级切换到当前报价最低的模型。用户对单一模型缺乏任何资产锁定或使用黏性。&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="3-微观经济学铁律边际竞争决定售价"&gt;3. 微观经济学铁律：边际竞争决定售价&lt;/h3&gt;
&lt;p&gt;在无网络效应且高度同质化的买方市场中，商品的售价不取决于它“为客户节省了多少钱”，而取决于“同行的最低边际报价是多少”。&lt;/p&gt;
&lt;p&gt;当市场上存在多家性能相当的智力供给方时，大模型 API 价格不可避免地卷入降价潮。通用“智力”迅速沦为同质化的基础商品（Commodity），其价格持续向成本线靠拢，大模型厂商试图凭“替代白领”来按比例分成的溢价空间被彻底抹平。&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="第三章-生产力盈余去哪了下游买单者的反客为主"&gt;第三章 生产力盈余去哪了？下游买单者的“反客为主”&lt;/h2&gt;
&lt;p&gt;在缺乏垄断屏障的商业产业链中，大模型厂商本质上只是提供“智力原材料”的乙方。而乙方的定价权与利润率，永远由竞争对手（丙方）和买方（甲方）共同决定。&lt;/p&gt;
&lt;p&gt;大模型创造的数万亿美元生产力盈余，并没有留在模型层，而是沿着产业链发生转移：&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; 【生产力盈余流向】
 │
 ┌─────────────────────────┼─────────────────────────┐
 ▼ ▼ ▼
 【上游基础设施】 【下游终端企业】 【终极消费者】
 (芯片 / 能源 / IDC) (律所 / 咨询 / 软件厂) (产品与服务买家)
 ───────────────── ───────────────── ─────────────────
 • 锁定确定性 CAPEX • 削减 80% 劳动力成本 • 享受价格战带来的
 • 拿走硬核硬件利润 • 转化为企业 EBITDA • 极致廉价服务
&lt;/code&gt;&lt;/pre&gt;&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;上游基础设施拿走确定性收益&lt;/strong&gt;：芯片巨头、能源供应商与数据中心运营商，在大模型厂商进行算力军备竞赛的过程中，率先锁定了确定性的资本支出（CAPEX）利润。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;下游终端企业吞噬大部分盈余&lt;/strong&gt;：传统咨询公司、律所、软件开发商利用廉价的 API 接口替代了大量初级白领，其降本带来的利润提升直接沉淀为企业自身的营业利润（EBITDA）。大模型帮企业省下了 1,000 万美元的人工成本，但企业只需要支付几万美元的 API 费用。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;竞争市场让利给终极消费者&lt;/strong&gt;：在充分竞争的下游行业中，各家企业为了抢夺客户，会利用 AI 带来的降本效益打价格战，生产力盈余最终转化为全社会消费品与服务价格的下降。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;大模型厂商承担了最昂贵的研发成本与最剧烈的同业竞争，最终却沦为向全社会提供廉价脑力的“输配电网”。&lt;/p&gt;</description></item><item><title>From Board Games to Reasoning Agents: The Evolution of Reinforcement Learning in Large Language Models</title><link>https://cj9208.github.io/blog/ai_study/rl-evolution-llm-reasoning-agents/</link><pubDate>Thu, 06 Aug 2026 00:28:29 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/rl-evolution-llm-reasoning-agents/</guid><description>&lt;h2 id="1-foundations-of-classical-reinforcement-learning"&gt;1. Foundations of Classical Reinforcement Learning&lt;/h2&gt;
&lt;h3 id="11-core-abstractions-and-mathematical-setup"&gt;1.1 Core Abstractions and Mathematical Setup&lt;/h3&gt;
&lt;p&gt;Reinforcement Learning (RL) provides a mathematical framework for training an agent to make sequential decisions under uncertainty. The environment is formalized as a Markov Decision Process (MDP), defined by the 5-tuple:&lt;/p&gt;
&lt;span class="katex-display"&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi mathvariant="script"&gt;S&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;A&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;P&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;R&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi&gt;γ&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{M} = (\mathcal{S}, \mathcal{A}, \mathcal{P}, \mathcal{R}, \gamma)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;M&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.075em;"&gt;S&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;A&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.08222em;"&gt;P&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;R&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.05556em;"&gt;γ&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{S}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.075em;"&gt;S&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; represents the state space.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;A&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{A}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; represents the action space.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;P&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{P}(s_{t+1} \mid s_t, a_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.08222em;"&gt;P&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;span class="mbin mtight"&gt;+&lt;/span&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2083em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∣&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; defines the transition probability distribution over next states given the current state &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;s_t&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.5806em;vertical-align:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and action &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;a_t&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.5806em;vertical-align:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;R&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{R}(s_t, a_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;R&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the reward function assigning a scalar feedback signal to state-action pairs.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;γ&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;mo stretchy="false"&gt;[&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\gamma \in [0, 1)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.7335em;vertical-align:-0.1944em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.05556em;"&gt;γ&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∈&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;[&lt;/span&gt;&lt;span class="mord"&gt;0&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the discount factor prioritizing immediate over future rewards.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The agent&amp;rsquo;s decision-making strategy is parameterized by a policy &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\pi_\theta(a_t \mid s_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal" style="margin-right:0.03588em;"&gt;π&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3361em;"&gt;&lt;span style="top:-2.55em;margin-left:-0.0359em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight" style="margin-right:0.02778em;"&gt;θ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∣&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, which maps states to probability distributions over actions. The canonical objective of RL is to find parameter settings &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\theta^*&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6944em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal" style="margin-right:0.02778em;"&gt;θ&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.6887em;"&gt;&lt;span style="top:-3.063em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mbin mtight"&gt;∗&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; that maximize the expected cumulative discounted return across generated trajectories &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;τ&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mtext&gt; &lt;/mtext&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\tau = (s_0, a_0, s_1, a_1, \dots)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.4306em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.1132em;"&gt;τ&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="minner"&gt;…&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;:&lt;/p&gt;</description></item><item><title>Harness Engineering 合集</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/</link><pubDate>Fri, 17 Jul 2026 22:34:14 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/</guid><description>&lt;p&gt;This series is built around one core thesis:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;The LLM is a probabilistic engine.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;The harness is the deterministic runtime wrapped around it.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;System reliability comes from better boundaries, not bigger models.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The six articles progress from &lt;em&gt;why&lt;/em&gt; to &lt;em&gt;what&lt;/em&gt; to &lt;em&gt;how&lt;/em&gt; to &lt;em&gt;closed-loop&lt;/em&gt;: first arguing why the harness is the real key to reliability, then breaking down its two pillars (context management and deterministic guardrails), and finally landing on closed-loop control and comparator design — the two places where high-stakes systems most often fail.&lt;/p&gt;</description></item><item><title>The Comparator Trap: Why High-Stakes AI Fails</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/the-comparator-trap-why-high-stakes-ai-fails/</link><pubDate>Fri, 26 Jun 2026 23:28:56 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/the-comparator-trap-why-high-stakes-ai-fails/</guid><description>In the current generative AI landscape, most development teams are inadvertently stuck in an open-loop mindset. Prompt engineering and context engineering, regardless of how meticulously detailed they are, function as open-loop systems. They operate exactly like a traditional toaster: you turn a dial to three minutes, and the heating coils activate blindly. The toaster possesses no internal feedback mechanism to know if your bread is perfectly golden or actively catching fire; it simply executes its pre-set instructions without checking the actual state of the environment.</description></item><item><title>The Algorithm of Compute: Why Modern Agent Harnesses Focus 80% of Their Design on Context Management</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/the-algorithm-of-compute-why-modern-agent-harnesses-focus-80-of-their-design-on-context-management/</link><pubDate>Tue, 23 Jun 2026 23:55:47 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/the-algorithm-of-compute-why-modern-agent-harnesses-focus-80-of-their-design-on-context-management/</guid><description>In modern AI engineering, system design has converged on a clean architectural formula:</description></item><item><title>Beyond the Echo Chamber: Engineering Resilient LLM Agent Harnesses</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/beyond-the-echo-chamber-engineering-resilient-llm-agent-harnesses/</link><pubDate>Tue, 23 Jun 2026 23:30:44 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/beyond-the-echo-chamber-engineering-resilient-llm-agent-harnesses/</guid><description>Moving a Large Language Model (LLM) from a conversational playground into a production-grade software system requires a fundamental paradigm shift. Naive implementations drop an LLM into an infinite loop, hand it full access to a local terminal, and expect it to self-correct when things go wrong. In production, this approach consistently collapses into confirmation bias, infinite reasoning loops, or accidental environment corruption.</description></item><item><title>The Systems Engineering of LLM Context Management</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/the-systems-engineering-of-llm-context-management/</link><pubDate>Tue, 23 Jun 2026 22:59:40 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/the-systems-engineering-of-llm-context-management/</guid><description>To keep an LLM agent from drowning in its own conversation history during an autonomous development loop, a modern harness must treat the context window like a structured system memory layout.</description></item><item><title>Harness as an OS: Architectural Musings on Reasonix</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/harness-as-os-reasonix/</link><pubDate>Mon, 22 Jun 2026 14:19:05 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/harness-as-os-reasonix/</guid><description>&lt;blockquote&gt;
&lt;p&gt;原文首发：&lt;a href="https://zhuanlan.zhihu.com/p/2052391922094837769"&gt;Harness as an OS: Architectural Musings on Reasonix（知乎专栏：陈杰的金融笔记）&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Reasonix is an advanced LLM harness engineered for non-deterministic environments, designed natively to exploit the unique context-caching and compute architectures of DeepSeek models. Moving past the era of ephemeral prompt scripts, Reasonix treats the underlying LLM not merely as an API endpoint, but as an unconventional, non-deterministic compute core.&lt;/p&gt;
&lt;p&gt;To govern this core with strict predictability, cost efficiency, and structural resilience, Reasonix implements two foundational system-level architectures: &lt;strong&gt;Deterministic Prefix Caching&lt;/strong&gt; and a &lt;strong&gt;Unified Graceful Fallback Pipeline&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>From Prompts to Autopilot: Why "Harness Engineering" is the True Key to LLM Reliability</title><link>https://cj9208.github.io/blog/ai_study/harness-engineering/from-prompts-to-autopilot-why-harness-engineering-is-the-true-key-to-llm-reliability/</link><pubDate>Wed, 17 Jun 2026 14:28:29 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/harness-engineering/from-prompts-to-autopilot-why-harness-engineering-is-the-true-key-to-llm-reliability/</guid><description>The AI industry is currently caught in an arms race to build the biggest, hottest engine possible. Tech giants pour billions into training next-generation large language models (LLMs), chasing the promise of raw artificial intelligence. Yet, when developers deploy these brilliant models as autonomous agents in the real world, a frustrating reality sets in: the agents confidently hallucinate, get stuck in infinite loops, or completely break down when faced with basic software errors.</description></item></channel></rss>