<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tool Use on Boyang Yue</title><link>http://blog.boyangyue.com/tags/tool-use/</link><description>Recent content in Tool Use on Boyang Yue</description><generator>Hugo</generator><language>en-us</language><copyright>A Good Year Ahead</copyright><lastBuildDate>Sat, 26 Sep 2026 10:00:00 +0900</lastBuildDate><atom:link href="http://blog.boyangyue.com/tags/tool-use/index.xml" rel="self" type="application/rss+xml"/><item><title>Context Engineering for Long-Horizon Agents</title><link>http://blog.boyangyue.com/2026/09/context-engineering-for-long-horizon-agents/</link><pubDate>Sat, 26 Sep 2026 10:00:00 +0900</pubDate><guid>http://blog.boyangyue.com/2026/09/context-engineering-for-long-horizon-agents/</guid><description>&lt;p&gt;An agent built on a frozen language model has only one place to hold what it learns during a run: the token sequence passed to the next call. Model weights stay fixed across the session, so a hypothesis sketched three turns ago, a traceback from the last command, and an environment rule inferred twenty minutes earlier influence the next step only if they remain in the prompt in a form the model attends to.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; Long sessions pull that window in two directions at once. Models read tokens near the beginning and end of a long prompt more reliably than tokens buried in the middle,&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; while every retained token occupies GPU key-value (KV) cache that serving engines can reuse across turns only as long as the leading token IDs stay identical.&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description></item></channel></rss>