<script data-pm-proxy="intercept"></script><?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Learn AI Together ]]></title><description><![CDATA[The Learn AI Together community by Towards AI newsletter! Sharing opportunities, news, memes, projects, collaborations, learning resources and more.]]></description><link>https://learnaitogethernewsletter.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!9-Dl!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc94f3013-8be0-4fbf-b27c-fae180b529d7_180x180.png</url><title>Learn AI Together </title><link>https://learnaitogethernewsletter.substack.com</link></image><generator>Substack</generator><lastBuildDate>Sat, 05 Sep 2026 01:03:40 GMT</lastBuildDate><atom:link href="/__u/learnaitogethernewsletter.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Towards AI]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[learnaitogethernewsletter@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[learnaitogethernewsletter@substack.com]]></itunes:email><itunes:name><![CDATA[Towards AI]]></itunes:name></itunes:owner><itunes:author><![CDATA[Towards AI]]></itunes:author><googleplay:owner><![CDATA[learnaitogethernewsletter@substack.com]]></googleplay:owner><googleplay:email><![CDATA[learnaitogethernewsletter@substack.com]]></googleplay:email><googleplay:author><![CDATA[Towards AI]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[LAI #141: The Questions AI Can't Answer]]></title><description><![CDATA[Plus, continuous batching, vLLM tuning, inference optimization, and what your second GPU is really for.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-141-the-questions-ai-cant-answer</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-141-the-questions-ai-cant-answer</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 03 Sep 2026 15:03:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ALx_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>A lot of AI engineering comes down to decisions that do not have one clean answer. Which trade-off matters more here? Is this system actually failing because of the model, the context, the retrieval layer, or the infrastructure around it? When should you optimize, and when should you leave something alone?</p><p>This week&#8217;s issue is full of those kinds of decisions.</p><p>You&#8217;ll learn:</p><ul><li><p>Why <strong>continuous batching</strong> changes LLM serving efficiency</p></li><li><p>Which <strong>vLLM settings</strong> actually matter and what each one controls</p></li><li><p>How <strong>quantization, distillation, and speculative decoding</strong> change inference trade-offs</p></li><li><p>Why a second GPU may be solving a <strong>KV-cache problem</strong>, not a model-size problem</p></li><li><p>How to preserve conversational context for retrieval without sending the entire history every time</p></li></ul><p>There&#8217;s also a community-built Qwen 3.5 implementation in C, a new poll on how people are working around coding-agent limits, and a few collaboration opportunities from the community.</p><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><p>I create a lot of resources on becoming an AI engineer. We have courses, tutorials, videos, a book, and even a GitHub roadmap that aims to organize the entire learning path.</p><p>All of that is useful. But when I think about how I actually learned most of what I know, a huge part of it came from asking people questions. A lot of questions.</p><p>For me, the problem was always access. I had to find someone who knew more than I did, hope they had time to answer, wait for a response, and often realize that the answer created three more questions.</p><p>That is really the idea behind <strong>Towards AI Mentorship</strong>. We wanted to create a place where you can ask the questions that become too specific for a course, and where an AI can give you an answer but perhaps shouldn&#8217;t be the only opinion you trust.</p><p>Instead of having one person you can occasionally ask, you have access to 15+ senior AI engineers and mentors. You can ask questions asynchronously, join two live sessions each week, bring in your architecture or project for feedback, and get help on the career side too, including resumes, portfolios, and projects.</p><p>You can read more about why we built it in<a href="https://www.louisbouchard.ai/towards-ai-mentorship-for-ai-engineers/?utm_source=chatgpt.com"> my blog post</a>, or see everything included on the<a href="https://towardsai.com/academy/mentorship/"> mentorship page</a>.</p><h4>AI Tip of the Day</h4><p>In a multi-turn conversation, the user&#8217;s latest message is written for the conversation, not for your retrieval system. It often depends on details mentioned several turns earlier.</p><p>A simple example we use in the <em>Context Engineering</em> lesson of our<a href="https://towardsai.com/academy/agent-engineering/?utm_source=newsletter&amp;utm_medium=email&amp;utm_id=AItips"> Agent Engineering course</a> shows why it is important to know this. A user reports a mild headache and wants to avoid medication. A few turns later, they ask: <strong>&#8220;Could stress be causing this?&#8221;</strong></p><p>If you retrieve using only that question, the system no longer knows what &#8220;this&#8221; refers to. It also reduces the severity of the headache and hides the user&#8217;s preference for avoiding medication.</p><p>Instead, maintain a small session state with the important facts from the conversation. Keep the last two or three raw messages as well, then build the retrieval query from that state plus the newest message.</p><p>To check whether this actually improves retrieval, test it on 20 follow-up questions. Run each one twice: once with only the latest message, and once with the session state. Track:</p><ul><li><p>Whether a relevant source appears in the top five</p></li><li><p>Whether any important user constraint is missing from the query</p></li></ul><p>This gives retrieval the context it needs without sending the entire conversation back to the model every time.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1543687057929535548">Exquisite_peacock_20933</a> shared qwen35-in-c, a from-scratch C implementation of Qwen 3.5 inference. Rather than relying on PyTorch or a full serving framework, the project exposes the lower-level operations involved in loading the model, running its attention and linear-attention layers, maintaining state, and generating tokens. It is especially useful if you want to understand what an LLM inference runtime is actually doing beneath libraries such as Transformers or vLLM. The implementation is small enough to inspect rather than another abstraction to learn around. <a href="https://github.com/promptsmith1990/qwen35-in-c">Check out the repo</a> and support a fellow community member. If you have questions or feedback, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1543687057929535548">share them in the thread</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1544094652716683284" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 424w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 848w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dCx9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png" width="1245" height="974" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4d03aa43-ee40-4845-b359-bca346526110_1245x974.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:974,&quot;width&quot;:1245,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1544094652716683284&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 424w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 848w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dCx9!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d03aa43-ee40-4845-b359-bca346526110_1245x974.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>What stands out to me is that 47% of you hit your subscription limit at least once a day, while another 29% rarely or never do. That is quite a wide gap for the same generation of coding tools.</p><p>I don&#8217;t think this necessarily measures how much someone codes with AI. It may measure how they have designed their workflow around AI. Long-running sessions, large contexts, higher reasoning effort, parallel agents, and more autonomous tasks can consume dramatically more capacity than short, bounded tasks. Both Claude Code and Codex explicitly meter usage differently depending on context, task complexity, model choice, and agentic work.</p><p>So I&#8217;m curious whether heavy AI users eventually split into two camps: those who keep buying more capacity and those who redesign their workflows to make each token go further.</p><p>For those hitting the daily limit, what have you optimized first: model routing, shorter contexts, splitting work across agents/providers, API fallbacks, or simply paying for more capacity? And for the heavy users who rarely hit a limit, I&#8217;m especially interested in your setup. That&#8217;s the more useful workflow to learn from. <a href="https://discord.com/channels/702624558536065165/833660976196354079/1544094652716683284">Share it in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooding with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/rj6m9AF7eC">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1543076528693190818/1543076528693190818">Siammzm</a> is looking for a learning partner to build AI skills through studying, experimenting, discussing ideas, and building things. If you are also working towards the same goal, <a href="https://discord.com/channels/702624558536065165/1543076528693190818/1543076528693190818">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1544752703308042301">Likelytobelaura.</a> is building ConspiracyBench, a benchmark to evaluate whether models believe various conspiracy theories, and is looking for someone interested in working on the benchmark and eventually fine-tuning the model. If this sounds interesting, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1544752703308042301">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1543227268875419778">Prafullmishra.</a> is starting a group to build ML projects and share resources. If you are pursuing a similar track, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1543227268875419778">contact him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1543812796024750141" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 424w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 848w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ALx_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png" width="1220" height="982" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:982,&quot;width&quot;:1220,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1543812796024750141&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 424w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 848w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ALx_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F95a816ff-40aa-445e-b252-a29377073ed2_1220x982.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1543812796024750141">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/llm-continuous-batching-explained-the-secret-behind-fast-llms-d4d8cbe083b6?sk=87af2a0f5be3be53f6cfcfe172b3f89b">LLM Continuous Batching Explained: The Secret Behind Fast LLMs</a> by<a href="https://yadavdivy296.medium.com/?source=post_page---byline--d4d8cbe083b6---------------------------------------"> Divy Yadav</a></p><p>Continuous batching is why LLM responses stay fast even under heavy concurrent load. This article builds on that idea from single-request serving and static batching, then explains how prefill, decode, PagedAttention, and chunked prefill fit into the same system. It also separates continuous batching from dynamic batching and speculative decoding, with benchmarks demonstrating that scheduling alone can yield substantial throughput gains.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/tuning-vllm-what-every-setting-does-to-the-arithmetic-28d5f65e231b?sharedUserId=tai-tech">Tuning vLLM: What Every Setting Does to the Arithmetic</a> by<a href="https://medium.com/@net_satsawat?source=post_page---byline--28d5f65e231b---------------------------------------"> Satsawat Natakarnkitkul (Net)</a></p><p>vLLM has dozens of settings, but only a handful usually deserve attention, and each controls a different bottleneck. This article maps six important knobs to the resource they actually change: concurrency, KV-cache capacity, work per scheduling step, prefix reuse, KV-cache precision, and eager execution. It also explains why vLLM&#8217;s unified token-budget scheduler allows chunked prefill, prefix caching, and speculative decoding to work together rather than as separate optimizations. Most importantly, it shows how to tune against your own traffic using TTFT, TPOT, throughput, and goodput instead of chasing a single benchmark number.</p><p>2. <a href="https://pub.towardsai.net/the-ultimate-guide-to-llm-inference-optimization-part-1-71ec501c189d?sk=1eb0c40d4774a401a014c7f8f8966e83">The Ultimate Guide to LLM Inference Optimization</a> by<a href="https://medium.com/@ashishabraham02?source=post_page---byline--71ec501c189d---------------------------------------"> Ashish Abraham</a></p><p>A large model can fit on paper and still be impractical to serve once weights, KV cache, latency, and throughput are factored in. This guide works through the model-level techniques that make inference cheaper: quantization, distillation, and speculative decoding. It shows the arithmetic behind mapping FP32 weights to lower-precision formats, explains when post-training quantization differs from quantization-aware training, and compares knowledge transfer through logits with Orca-style reasoning traces. It then shows how approaches such as EAGLE and Medusa use draft predictions to accelerate training of larger models without changing their final output distributions.</p><p>3. <a href="https://pub.towardsai.net/function-zoo-polynomial-rational-piecewise-inverse-a48c442aad56?sk=e1ad30c7ae3d40b3e2cfa2e2a0c42dc2">Polynomial Degree And Turning Points, Made Simple, Really Simple</a> by<a href="https://iknahar.medium.com/?source=post_page---byline--a48c442aad56---------------------------------------"> Kamrun Nahar</a></p><p>You can often predict what a function will look like before plotting a single point. This article builds that intuition through real examples instead of starting with definitions: UK stopping distances reveal how linear and quadratic terms combine, the MPG illusion shows what happens when you invert a ratio, and Runge&#8217;s classic experiment explains why higher-degree polynomials can behave badly at the edges. Tax brackets, skid marks, and Anscombe&#8217;s quartet extend the same reasoning to other function families.</p><p>4. <a href="https://pub.towardsai.net/your-second-gpu-is-bought-for-the-cache-not-the-model-2d022eee49a7?sharedUserId=tai-tech">Your Second GPU Is Bought for the Cache, Not the Model</a> by<a href="https://medium.com/@net_satsawat?source=post_page---byline--2d022eee49a7---------------------------------------"> Satsawat Natakarnkitkul (Net)</a></p><p>Adding GPUs does not solve one scaling problem; it can solve several completely different ones. This article separates the reasons to scale into model capacity, throughput, and KV-cache capacity, then maps each to data, tensor, pipeline, or expert parallelism. It also covers the problem that another GPU alone does not fix: prefill and decode competing for the same hardware, which systems such as DistServe, Mooncake, and NVIDIA Dynamo address by separating them into different pools and moving KV cache between them.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #140: Our AI Coding Playbook]]></title><description><![CDATA[Three coding workflows, better LLM testing, plus the personal agent system I use every day.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-140-our-ai-coding-playbook</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-140-our-ai-coding-playbook</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 27 Aug 2026 15:03:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!i7lV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>There&#8217;s a big difference between getting an AI agent to write code and getting it to produce code you can actually ship. This week, I&#8217;m sharing the workflows we use at Towards AI to close that gap, from context and debugging to testing and review.</p><p>I also have a simple rule for testing stochastic LLM systems that catches failures a single successful run can hide. And if you use Claude Code or Codex regularly, I&#8217;m opening up my own AI engineering setup in a live workshop with Packt, including how I work across agents, manage usage limits, and keep skills and knowledge synced.</p><p>Plus, this week&#8217;s reads will help you:</p><ul><li><p>Understand what an FFT is actually doing, with working Python</p></li><li><p>See why long context can make your KV cache larger than the model</p></li><li><p>Reduce inference cost with prompt caching and KV offloading</p></li><li><p>Understand how LLM text watermarking works and where it fails</p></li><li><p>Build persistent agent memory beyond basic RAG</p></li></ul><p>Let&#8217;s dive in!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-9SCkcVKPEy0" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;9SCkcVKPEy0&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/9SCkcVKPEy0?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week, in What&#8217;s AI, I am sharing what the Towards AI engineering team uses to ship reliable code with AI agents, including three AI coding workflows, context rules, debugging habits, tests, and review guardrails. There is still a huge gap between the people who ship working products with agents and the people who ship working demos. This article shares everything you need to close that gap. By the end, you will have the best practices for your own repo, whether you are a developer learning to direct agents or a beginner upgrading from random vibe coding to something that ships. <a href="https://www.louisbouchard.ai/ai-coding-workflows-that-ship/">Read the full article here</a>, or, if you prefer, <a href="https://www.youtube.com/watch?v=9SCkcVKPEy0">watch the walkthrough on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>A student in our<a href="https://towardsai.com/academy/llm-primer/?utm_source=newsletter&amp;utm_medium=email&amp;utm_id=AItip"> 10-Hour LLM Fundamentals Video Course</a> asked us a useful question: <strong>How many times should you run an important test before trusting the result?</strong></p><p>For stochastic LLM tests, our practical baseline is five runs.</p><p>Suppose a difficult test passes 90% of the time. If you run it once and it passes, you might conclude that everything is working. Run the same test five times, though, and there is about a 41% chance you will see at least one failure.</p><p>For important tests, run the same case five times and record two things:</p><ul><li><p>The pass rate across all runs</p></li><li><p>Whether it passed all five times</p></li></ul><p>Keep the prompt, model, temperature, and other randomness settings, as well as the source context, fixed. Otherwise, you are changing the test while trying to measure its consistency.</p><p>Five runs is not a statistical guarantee. It is a simple way to catch intermittent failures that a single successful run can easily hide.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h4>Live Workshop: Build Your Personal AI Engineering System</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.eventbrite.co.uk/e/build-your-personal-ai-engineering-system-registration-1998640855601?aff=oddtdtcreator&amp;keep_tld=true" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!i7lV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://www.eventbrite.co.uk/e/build-your-personal-ai-engineering-system-registration-1998640855601?aff=oddtdtcreator&amp;keep_tld=true&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!i7lV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a56bab8-cfb5-4363-83b1-dedab124788d_1600x800.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In other exciting news, I&#8217;m doing a<a href="https://www.eventbrite.co.uk/e/build-your-personal-ai-engineering-system-registration-1998640855601?aff=oddtdtcreator&amp;keep_tld=true"> </a><strong><a href="https://www.eventbrite.co.uk/e/build-your-personal-ai-engineering-system-registration-1998640855601?aff=oddtdtcreator&amp;keep_tld=true">90-minute live workshop with Packt</a></strong> on how I&#8217;ve structured my own AI engineering setup around coding agents like Claude Code and Codex.</p><p>If you&#8217;re already using agents in your workflow, this should be especially useful. You&#8217;ll see how I:</p><ul><li><p>Keep <strong>skills, instructions, and knowledge synced across agents</strong></p></li><li><p>Turn repeated corrections into <strong>reusable skills</strong></p></li><li><p>Decide <strong>what stays in context and what gets retrieved</strong></p></li><li><p>Split work between <strong>Claude Code and Codex</strong></p></li><li><p>Work around <strong>usage and token limits</strong></p></li><li><p>Set up <strong>scheduled and always-on tasks</strong></p></li><li><p>Use an <strong>open-source vault template</strong> you can adapt</p></li></ul><p><strong>Who it&#8217;s for:</strong> AI engineers and developers already using coding agents who want a more structured system around them.</p><ul><li><p><strong>When:</strong> Tuesday, September 8, 2026</p></li><li><p><strong>Time:</strong> 8:30 PM-10 PM GMT+5</p></li><li><p><strong>Where:</strong> Online</p></li></ul><p><strong><a href="https://www.eventbrite.co.uk/e/build-your-personal-ai-engineering-system-registration-1998640855601?aff=oddtdtcreator&amp;keep_tld=true">Register here</a></strong></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1541583090646777866">Jose_sonder</a> has built SkillNet, an open-source adaptive learning system. Users can share a topic or existing material, and it builds a structured course that presents the same knowledge differently for each learner. It can run as a shared space for an organization or class, or as an individual learning workspace. In a dynamic course, the shared knowledge and objectives remain stable, while the explanation, activities, support, and interface adapt based on the learner&#8217;s declared preferences, role, level, and progress. <a href="https://github.com/ANFAIA/SkillNet">Check it out on GitHub</a> and support a fellow community member. If you have any questions or feedback, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1541583090646777866">share them in the thread</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1541469511147061388" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 424w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 848w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 1272w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!T63t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png" width="1220" height="1319" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1319,&quot;width&quot;:1220,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1541469511147061388&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 424w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 848w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 1272w, /__u/substackcdn.com/image/fetch/$s_!T63t!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44f05def-359e-4c76-ba07-b058ddd1e6e7_1220x1319.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Most of you are still on free or basic plans, which makes me wonder how coding agents actually fit into your work today. Are they already handling a meaningful share of your coding and automation, or are you still bringing them in for specific tasks where they are particularly useful?</p><p>I&#8217;m also curious about the people at either end. If you&#8217;re paying for 5x or more, what makes the extra capacity worthwhile? Is it simply that you use agents much more often, or is staying within a familiar Claude Code/Codex workflow valuable enough that you would rather pay than move work elsewhere?</p><p>And the 8% running locally might be the group I&#8217;m most curious about: what are you running, on what hardware, and which parts of your workflow have you been able to move local?</p><p>There are probably some very different AI engineering setups hiding behind these percentages. <a href="https://discord.com/channels/702624558536065165/833660976196354079/1541469511147061388">Share yours in the thread, especially what you use, what you pay for, and what still runs locally</a>.</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1542229068894969866" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!0_3H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png" width="965" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:965,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1542229068894969866&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 424w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 848w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 1272w, /__u/substackcdn.com/image/fetch/$s_!0_3H!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a6302c2-4028-4a6a-98cd-44d99a3dfd5a_965x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1542229068894969866">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/fourier-transform-signal-processing-beginners-guide-44ba53b18ed5?sk=bf450dfe30c49412abc91cd3f93653f8">How The Fast Fourier Transform Actually Works</a> by<a href="https://iknahar.medium.com/?source=post_page---byline--44ba53b18ed5---------------------------------------"> Kamrun Nahar</a></p><p>If you have used a Fast Fourier Transform (FFT) without really understanding what happens underneath, this article builds the intuition from the ground up. It starts with sine waves, implements the Discrete Fourier Transform in Python, and checks the result against NumPy before explaining how the FFT makes the same computation practical at scale. You&#8217;ll also see how sampling rate, aliasing, spectral leakage, and windowing affect the frequencies you recover from real signals, then apply the ideas to spectrograms, compression, MRI, and audio forensics.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/azure-storage-for-ai-inference-prompt-caching-kv-offload-and-faster-model-loading-dbb7350ac414?sk=e0f4cd43aec9d876c20fd2675ab27885">Azure Storage for AI Inference: Prompt Caching, KV Offload, and Faster Model Loading</a> by<a href="https://blog.azinsider.net/?source=post_page---byline--dbb7350ac414---------------------------------------"> Dave R</a></p><p>Inference performance depends on more than GPU compute. This article shows how storage can reduce the amount of work your GPUs repeat. It explains Microsoft Foundry&#8217;s three levels of prompt caching, including Azure Context Cache for sharing cached prefixes across nodes, then shows how NIXL and LMCache move KV caches beyond GPU memory. You&#8217;ll also learn how Run:ai Model Streamer and AKS caching reduce model-loading time, giving you a practical map of where storage can improve latency, GPU utilization, and inference cost.</p><p>2. <a href="https://pub.towardsai.net/your-kv-cache-is-bigger-than-your-model-59cdf28c1e6b?sharedUserId=tai-tech">Your KV Cache Is Bigger Than Your Model</a> by<a href="https://medium.com/@net_satsawat?source=post_page---byline--59cdf28c1e6b---------------------------------------"> Satsawat Natakarnkitkul</a></p><p>Long context can exhaust GPU memory even when the model itself fits comfortably. This article shows you exactly why by calculating KV-cache memory from a model&#8217;s architecture, sequence length, precision, and batch size. Using gpt-oss-120b on two H100s shows that capacity drops from 504 concurrent conversations at 4K tokens to just 15 at 128K tokens. It then works through six ways to recover capacity, including grouped-query attention, sliding windows, prefix caching, paging, and FP8 quantization.</p><p>3. <a href="https://pub.towardsai.net/watermarking-text-generation-efficiently-8edbffb1cf65?sk=ae31cd0eb22d17fee4be2e050309ff4c">Watermarking Text Generation Efficiently</a> by<a href="https://enzolombardi.net/?source=post_page---byline--8edbffb1cf65---------------------------------------"> Enzo Lombardi</a></p><p>Text watermarking can work without inserting hidden characters or maintaining a list of special words. This article explains how watermarking can modify token probabilities during generation, including the green-list approach and the distortion-free method used in Google&#8217;s SynthID-Text. It then derives how a simple z-score can detect the resulting statistical pattern and tests both methods inside a real inference engine. You&#8217;ll also see where the approach breaks down: changes in paraphrasing, translation, and tokenization can weaken or remove the signal.</p><p>4. <a href="https://pub.towardsai.net/beyond-rag-implementing-agentic-memory-architectures-for-long-horizon-ai-systems-3e72b8b0ec84?sk=1959caac23b38d4847bf98e33dc9fae8">Beyond RAG: Implementing Agentic Memory Architectures for Long-Horizon AI Systems</a> by<a href="https://medium.com/@sourav15?source=post_page---byline--3e72b8b0ec84---------------------------------------"> Sourav Mukherjee</a></p><p>RAG can retrieve what an agent needs in the moment, but it does not automatically help the agent learn from past events. This article builds a memory architecture that separates episodic memory (what happened), semantic memory (what the agent learned), and procedural memory (how it should behave). It then adds consolidation to turn past interactions into reusable knowledge and reflection to promote successful lessons into future behavior. Comparisons with Mem0, Letta, and LangGraph help you see how these ideas translate into existing memory frameworks and what you need beyond retrieval for agents that operate across many sessions.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #139: Fewer Tokens Cost Us More]]></title><description><![CDATA[What $590 in evals taught us about context, caching, retrieval, and memory.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-139-fewer-tokens-cost-us-more</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-139-fewer-tokens-cost-us-more</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Fri, 21 Aug 2026 15:02:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Gvy7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>We recently gave our <strong>Context Engineering in 2026</strong> workshop at the AI Engineer World&#8217;s Fair, using our production AI tutor to test what actually happens as an agent&#8217;s context grows. We spent close to $590 on the Gemini experiments alone, and some of the results contradicted the defaults we had already shipped.</p><p>Everything is open source. You can inspect the <strong>full tutor codebase and eval harness, run the live experiment demo, see every result, or go through the workshop slides and watch the recording</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Gvy7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Gvy7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png" width="1456" height="733" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:733,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 424w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 848w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Gvy7!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7ad6999-0822-4a16-84ca-916f41e90fef_2861x1440.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>If you&#8217;re managing context in an agent today, these are the findings I would start with:</p><p><strong>1. Measure what is filling the window before trying to shrink it. </strong>In our tutor, chat history wasn&#8217;t the main problem. Old retrieval and tool outputs were. Retrieval alone could contribute up to 100k tokens, pushing some turns toward 200k. Optimizing conversation history first would have attacked the wrong part of the context.</p><p><strong>2. Check your cache economics before summarizing anything. </strong>Our production compaction setup sent roughly 41% fewer tokens than keeping the complete history and still cost about twice as much. Keeping history allowed around 87% of the input to receive the cache discount; summarization rewrote that prefix and lost it. On our traces, keep-everything remained cheaper while cached input cost less than roughly <strong>$0.55 per million tokens</strong>.</p><p><strong>3. Shrink before you rewrite. </strong>Capping tool outputs at a stable size cut cost per turn by <strong>38% with no measured loss in memory</strong>. Unlike summarization, it reduced the context without continually changing the cached prefix. If that isn&#8217;t enough, move information into files or retrieval and leave pointers behind so the agent can recover it later.</p><p><strong>4. Test the capability you cannot afford to lose. </strong>Our compacted tutor could score <strong>97&#8211;99% on overall response quality while forgetting information from earlier in the conversation</strong>. Generic quality evals didn&#8217;t catch it. We had to plant facts early in a session and explicitly probe for them later.</p><p><strong>5. Let the constraint choose the technique. </strong>If the window doesn&#8217;t fit, retrieve instead of stuffing everything in. If cost is the problem, inspect cached-input pricing or switch models before adding summarization. If quality is deteriorating, measure <em>what</em> is being lost and <em>where</em>. In our corrected tests, distinctive facts remained retrievable out to 800k tokens, while ambiguous facts degraded.</p><p>And keep the simple retrieval tools around. Dense retrieval dropped to <strong>0% recall at a 400k-token corpus</strong> in one buried-fact test while BM25 remained at 100%. We also tested GraphRAG against ordinary hybrid retrieval and achieved the correct source 100% of the time with both methods, while GraphRAG consumed 61% more input tokens and cost 44% more per turn. More sophisticated did not mean better for our data.</p><p>Our production setup is now much simpler: <strong>DeepSeek V4 Flash, hybrid retrieval, full history, stable caps on tool outputs, no tool-output clearing, and summarization pushed so far out that it rarely fires.</strong></p><p>In the full article, I go much deeper into the experiments, eval harness, local-model tests, context rot, retrieval, caching, and the things we built that ultimately weren&#8217;t worth shipping.</p><p>The principle to remember is to <strong>name the constraint before choosing the context strategy.</strong> Window, cost, and quality degradation are different problems, and the same optimization will not solve all three.</p><p>You can <strong><a href="https://www.louisbouchard.ai/context-engineering-2026/">read the full article</a></strong>, <strong><a href="https://www.youtube.com/watch?v=WP3hjUXd918">watch the workshop</a></strong>, or go directly to <strong><a href="https://github.com/towardsai/ai-tutor-app">the code</a></strong>, <strong><a href="https://huggingface.co/spaces/towardsai-tutors/context-engineering-experiments">live experiments</a></strong>, and <strong><a href="https://docs.google.com/presentation/d/1BVqX1h2DPyIDCEWUSNXSVFIPTQgbhM_ik4JBVaQ2f3k/edit?usp=sharing">slides</a></strong> if you want to dig into the results yourself.</p><div><hr></div><h3>AI Tip of the Day</h3><p>The tutor from our Context Engineering workshop is the same one we build in the <strong><a href="https://towardsai.staging.tempurl.host/academy/full-stack-ai-engineering/?utm_source=newsletter&amp;utm_medium=email&amp;utm_id=AItip">Full Stack AI Engineering</a></strong> course. While updating that course, we found another retrieval issue: <strong>hybrid search can still lose an exact match if you merge results too early.</strong></p><p>Semantic search is good at matching meaning. Keyword search is better for exact strings such as product IDs, error messages, names, and code symbols.</p><p>Say a user searches for <strong>order #8821</strong>. Keyword search may put the exact page first, while semantic search returns several broader pages about orders. If you combine both lists immediately and keep only the highest-ranked results, those broader semantic matches can push out the exact result.</p><p>Our fix is simple: <strong>keep the strongest candidates from each retriever before combining them.</strong> We take the top five keyword results and the top five semantic results, then merge and deduplicate them.</p><p>This also aligns with one of the workshop findings: in our buried-fact tests, dense retrieval eventually failed to retrieve distinctive terms, while BM25 kept finding them.</p><p>The practical takeaway: <strong>hybrid search only works if your fusion strategy preserves the different strengths of both retrievers.</strong></p><p>If exact identifiers matter in your application, reserve part of the final context for strong keyword matches.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>TAI Curated Section</h2><h3>Article of the week</h3><p><strong><a href="https://pub.towardsai.net/nvidias-nooa-proves-the-harness-matters-more-than-the-model-and-everyone-s-watching-the-wrong-74f646695823?sk=1041ca46e58ebaafe80358154f220d41">NVIDIA&#8217;s NOOA Proves the Harness Matters More Than the Model, and Everyone&#8217;s Watching the Wrong Number</a></strong> by <strong><a href="https://medium.com/@glennlenormand?source=post_page---byline--74f646695823---------------------------------------">allglenn</a></strong></p><p>NVIDIA&#8217;s NOOA reached 82.2% on SWE-bench Verified with GPT-5.5 while using about half the tokens of comparable harnesses. The article explains how much of that gain comes from the surrounding system rather than the model itself. NOOA passes tool outputs by reference rather than repeatedly inserting them into the prompt, which reduces context growth and preserves prompt-cache hits. It also breaks down six harness capabilities NVIDIA considers important, including typed contracts and model-controlled context management.</p><h3>Our must-read articles</h3><p>1. <strong><a href="https://pub.towardsai.net/ai-agent-architecture-demystified-from-llms-to-harnesses-loops-and-agentops-55d379ad8194?sk=41c2e2d8998a34d5b4b6d81619a20c2e">AI Agent Architecture Demystified: From LLMs to Harnesses, Loops, and AgentOps</a></strong> by <strong><a href="https://iamkaush.medium.com/?source=post_page---byline--55d379ad8194---------------------------------------">Kaush B</a></strong></p><p>This article gives a clear structure for understanding the different layers of an agent system. It separates prompt and context engineering from the agent loop, harness, graph structure, and AgentOps, then shows how they fit together. It is especially useful if you are trying to decide whether a problem should be solved with better context, a different workflow, stronger execution controls, or more observability.</p><p>2. <strong><a href="https://pub.towardsai.net/agentic-analytics-with-power-bi-and-microsoft-fabric-the-ai-first-way-to-build-enterprise-bi-d151232a2e55?sk=ed2bf18c142cdf527ee7768b0b617ca4">Agentic Analytics with Power BI and Microsoft Fabric: The AI-First Way to Build Enterprise BI</a></strong> by <strong><a href="https://blog.azinsider.net/?source=post_page---byline--c701dc69baf3---------------------------------------">Dave R</a></strong></p><p>This piece shows how coding agents can work directly with Microsoft Fabric and Power BI rather than only generating code around them. It covers agents creating lakehouses, working with semantic models, editing Power BI project files, and scaffolding applications, all while operating within existing governance and security controls. The main value is seeing how agentic workflows can fit into an enterprise data stack without bypassing the systems already in place.</p><p>3. <strong><a href="https://pub.towardsai.net/ai-agent-memory-architecture-beyond-context-windows-89e5eaef9e49?sk=27ecb76a06fe67788b188fa2cdbda655">Stop Using Long-Context Windows for AI Agents (Build This Instead)</a></strong> By <strong><a href="https://medium.com/@UdaykiranEstari?source=post_page---byline--89e5eaef9e49---------------------------------------">Udaykiran Estari</a></strong></p><p>This article separates long context from persistent memory and explains when each is useful. It maps memory across working state, caches, persistent stores, and model weights, then shows how systems such as Redis, vector databases, and graph stores can support retrieval across sessions. It also covers practical risks, including stale memories, conflicting information, poisoning, and privacy concerns, which become important once an agent is expected to remember beyond a single conversation.</p><p>4. <strong><a href="https://pub.towardsai.net/skills-hooks-and-subagents-optimizing-claude-code-around-what-stays-in-the-window-36299cf2b986?sk=ddf3b71c2f0e5e811a35c61f6469a973">Skills, Hooks and Subagents: Optimizing Claude Code Around What Stays in the Window</a></strong> By <strong><a href="https://medium.com/@mittalutkarsh?source=post_page---byline--36299cf2b986---------------------------------------">Utkarsh Mittal</a></strong></p><p>This article looks at Claude Code&#8217;s features through the lens of context cost. It compares instruction files, skills, hooks, subagents, and agent teams, showing how the same repository and model can produce up to a sevenfold difference in cost depending on what remains loaded. The practical takeaway is how to decide what should stay permanently in context, what should load only when needed, and what should be moved into a separate agent or enforced through a hook.</p><p>If you are interested in publishing with Towards AI, <strong><a href="https://contribute.towardsai.net/">check our guidelines and sign up</a></strong>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #138: The Agent Reality Check]]></title><description><![CDATA[Agent evals, retry tracing, runaway costs, and the context your agents actually need.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-138-the-agent-reality-check</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-138-the-agent-reality-check</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 13 Aug 2026 15:01:13 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!H8S_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Coding agents can now take on enough work that the question is no longer just how much faster they make us. It&#8217;s how closely we still need to watch them.</p><p>This week, I look at where vibe coding works well, where it starts to get risky, and what I&#8217;ve learned about using coding agents without handing over the engineering judgment with the code. There&#8217;s also a small observability detail that can completely distort your reliability and cost numbers if you get it wrong.</p><p>Then, a few reads worth your time:</p><ul><li><p>See why testing an agent means evaluating the path it took, not just whether the final answer looks right.</p></li><li><p>Give enterprise agents the right context without wiring every source into the application yourself.</p></li><li><p>Catch a Claude Code scheduling behavior that can quietly repeat expensive work.</p></li><li><p>Find out what each agent and workflow is actually costing you, instead of relying on one provider-level bill.</p></li><li><p>Build and deploy an entire backend to Microsoft Fabric from TypeScript.</p></li></ul><p>We also finally share <strong>Towards AI Mentorship</strong> here, plus a new community-built coding copilot that reports cutting codebase context by 70&#8211;80%.</p><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-ShFn3MG0h8s" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ShFn3MG0h8s&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ShFn3MG0h8s?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><span>This week, in What&#8217;s AI, I dive into something that has become an integral part of software development: vibe coding. Vibe coding with AI agents can speed up software work, but what I want to talk about is how it is a game changer only IF you use it correctly. To use it right, you need good context, tests, reviews, and task boundaries. The risky version of vibe coding is shipping whatever the agent produced because it looked like it worked. </span><a href="https://www.louisbouchard.ai/vibe-coding/">Read how to do it right</a><span> or </span><a href="https://youtu.be/ShFn3MG0h8s">watch the video version on YouTube</a><span>.</span></p><h4>AI Tip of the Day</h4><p>A retry is not a new user request. Your traces should reflect that.</p><p>In the Opik observability lesson from our <a href="https://towardsai.staging.tempurl.host/academy/agent-engineering/?utm_source=newsletter&amp;utm_medium=email&amp;utm_id=AItip">Agent Engineering course</a>, we trace model calls and tool calls across an agent run. One issue that comes up quickly is how retries should be recorded.</p><p>If every retry is counted as a separate request, a single user request can appear several times in your dashboard. That inflates request volume and makes it harder to see how many attempts the agent actually needed to succeed.</p><p>Use the same request ID across every retry, and add an attempt number for each one. Keep separate trace and span IDs for the individual operations.</p><p>This lets you measure both the number of user requests and the number of attempts required to complete them.</p><p>That distinction is important to note for cost and reliability. A request that succeeds after three attempts may look successful in the dashboard, while using far more time and tokens than a request that succeeds on the first try.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><p>A couple of weeks ago, we opened something new at Towards AI that I haven&#8217;t had a chance to share here yet.</p><p>One thing we kept hearing from students was that learning the material wasn&#8217;t always where they got stuck. The harder questions came afterward: Is this architecture actually a good idea? Why is my agent failing with real users? Is this project strong enough for my portfolio? Why isn&#8217;t my resume getting through?</p><p>Those questions are difficult to solve with another lesson or another chatbot response because the answer depends on your specific work.</p><p>So we now have <strong>Towards AI Mentorship</strong>, where you can bring those questions directly to our team of 15 senior AI engineers. That includes async technical and career help, live sessions twice a week, resume and project reviews, monthly production blueprints from our deployment work, and workshops with engineers working in the field.</p><p>It&#8217;s $99/month, and you can use it whether you&#8217;re trying to land an AI role or already building AI systems and want experienced engineers to sanity-check the decisions you&#8217;re making.</p><p><strong><a href="https://towardsai.staging.tempurl.host/academy/mentorship/">Learn more about Towards AI Mentorship</a></strong></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1535373913675137075">Ang_0007</a><span> built PariPari, a repo-aware AI copilot that uses Paritok context compression to explore massive codebases, fix bugs, and generate PRs without blowing up LLM token limits or budgets. It is built with Python and FastAPI to manage the agent loop, tool execution, and GitHub API interactions, and uses the Groq API. He reports achieving an average of 70&#8211;80% token reduction on codebase file reads using Paritok compression. </span><a href="https://devpost.com/software/paripari">Check it out</a><span> and support a fellow community member. If you have any questions or feedback, </span><a href="https://discord.com/channels/702624558536065165/983037843532308500/1535373913675137075">share them in the thread</a><span>.</span></p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 424w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 848w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 1272w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!03Yp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png" width="1210" height="979" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:979,&quot;width&quot;:1210,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 424w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 848w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 1272w, /__u/substackcdn.com/image/fetch/$s_!03Yp!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5a5bab77-a9b9-4e6d-910c-bcf66c5ca1bf_1210x979.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The results barely moved as more people voted: 57% still run long coding-agent tasks on their main machine. What I find more interesting is how fragmented the other 43% are. There doesn&#8217;t seem to be a clear second choice yet. Some people rely on provider-hosted environments, while others have moved to dedicated machines or their own servers.</p><p>That makes me curious about what these setups actually look like in practice.</p><p>For those running agents somewhere other than your main machine: what does your setup look like? What are you running, where does the code live, how do you connect to the agent, and do you typically have one task running or several at once? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237">I&#8217;d love to hear what has actually worked for you</a>.</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1533168566495612998" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 424w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 848w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 1272w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!H8S_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png" width="595" height="361" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c1776205-c8ee-4f69-996b-e30f2077f398_595x361.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:361,&quot;width&quot;:595,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1533168566495612998&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 424w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 848w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 1272w, /__u/substackcdn.com/image/fetch/$s_!H8S_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1776205-c8ee-4f69-996b-e30f2077f398_595x361.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1533168566495612998">supastishn</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/a-field-guide-to-agentic-eval-frameworks-langfuse-langsmith-and-what-to-measure-4768179fada0?sharedUserId=tai-tech">A Field Guide to Agentic Eval Frameworks: Langfuse, LangSmith, and What to Measure</a> by<a href="https://medium.com/@MongoDB"> MongoDB</a></p><p>This article examines why traditional unit tests miss trajectory-level failures in AI agents, using a research agent that hallucinated a published report, misused a search tool, and looped through failed warehouse queries. It defines six evaluation dimensions: task success, trajectory quality, tool correctness, safety, factual accuracy, and cost, then outlines rule-based checks, LLM-as-judge grading, and human review across component, trajectory, and end-to-end testing.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/microsofts-four-iqs-how-foundry-iq-fabric-iq-work-iq-and-web-iq-ground-enterprise-agents-bc9ed1107256?sk=0343b0a1d54df9d1df832a416ad9205c">Microsoft&#8217;s Four IQs: How Foundry IQ, Fabric IQ, Work IQ, and Web IQ Ground Enterprise Agents</a> by<a href="https://blog.azinsider.net/"> Dave R</a></p><p>This article breaks down Microsoft IQ, the context layer that grounds AI agents in four kinds of enterprise knowledge: unstructured documents, structured business data, human work signals from Microsoft 365, and fresh information from the web. It covers what each of the four engines (Foundry IQ, Fabric IQ, Work IQ, and Web IQ) does, how they fit together inside a single agent architecture, and where Foundry IQ unifies the others. It also walks through a worked refund processing agent so you can see how the pieces cooperate, why your agent instructions still matter after the IQs remove most of the plumbing, and how Agent 365 gives an agent its own identity and security boundary.</p><p>2. <a href="https://pub.towardsai.net/the-claude-code-idempotency-test-that-prevents-runaway-agent-costs-8087641fe607?sk=16e788dc585e5d1a622791b15e7073e5">The Claude Code Idempotency Test That Prevents Runaway Agent Costs</a> by<a href="https://medium.com/@UdaykiranEstari"> Udaykiran Estari</a></p><p>A scheduling flaw in Claude Code&#8217;s ScheduleWakeup mechanism re-fires one-shot slash commands instead of resuming paused tasks, silently doubling API costs on database writes, pull requests, and expensive searches. This article shows how to choose between loops, skills, subagents, and workflows without burning budget.</p><p>3. <a href="https://pub.towardsai.net/adding-cost-metering-and-llm-spend-visibility-to-a-multi-agent-system-38e2d8591fb1?sharedUserId=tai-tech">Adding Cost Metering and LLM Spend Visibility to a Multi-Agent System</a> by<a href="https://medium.com/@MongoDB"> MongoDB</a></p><p>Multi-agent LLM systems break provider billing dashboards, which report spend by key or model but never by agent, workflow, or trace. This piece details a metering layer that captures token usage at each call, enriches it with runtime context, and prices it against a versioned rate card stored in a separate collection. Aggregation pipelines then slice costs by agent, model, or outcome, feeding Atlas Charts dashboards.</p><p>4. <a href="https://pub.towardsai.net/rayfin-define-a-full-app-backend-in-typescript-and-ship-it-to-microsoft-fabric-d840395b744b?sk=40323a1c9e669e5f40c04c7df30158f0">Rayfin: Define a Full App Backend in TypeScript and Ship It to Microsoft Fabric</a> by<a href="https://blog.azinsider.net/"> Dave R</a></p><p>This article explains how Rayfin works, from the TypeScript you write to the services that run in Microsoft Fabric. Rayfin is an open source SDK and CLI that lets you define an application backend, including its database, access policies, APIs, and server-side logic, entirely in code, then deploy it to Fabric with a single command. It walks through the programming model, the decorators that turn classes into tables, the CLI workflow, how connectors reach existing data, and how the whole application lands as a governed Fabric artifact.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #137: Where AI Engineering Is Going in 2026]]></title><description><![CDATA[Persistent memory, agent infrastructure, observability, and the skills that matter next.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-137-where-ai-engineering-is-going</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-137-where-ai-engineering-is-going</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 06 Aug 2026 15:03:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!5Tiq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Learning AI has changed dramatically over the past year. Building a working prototype is no longer the hard part. The challenge now is understanding the decisions behind it: what to build, how to structure it, where it should run, and how to make it reliable.</p><p>This week:</p><ul><li><p>Learn why persistent memory is becoming essential as coding agents tackle longer and more complex projects.</p></li><li><p>See what happens when the cost of observability grows faster than your application and when self-hosting starts to make sense.</p></li><li><p>Understand why agent memory needs governance, not just a larger vector database.</p></li><li><p>Follow the same AWS agent built four different ways to see exactly what each layer of abstraction gives you.</p></li><li><p>And if you&#8217;re working with Spark, learn how one memory management decision can make the difference between a failed job and a successful one.</p></li></ul><p>Let&#8217;s get into it.</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-8spm9E2RsXI" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;8spm9E2RsXI&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/8spm9E2RsXI?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week in What&#8217;s AI, I am walking through how I&#8217;d learn AI Engineering in 2026. You can open Codex, Claude Code, or Cursor today, describe an app in English, and get a convincing result in minutes. The agent can scaffold a RAG pipeline, add API routes, write tests, and prepare a deployment. That speed is genuinely useful. It is also one of the easiest ways to fool yourself while learning AI. When the first version is easy to generate, your value moves to the decisions around it. That is my idea behind AI engineering today. And I have put together the practical learning plan. <a href="https://www.louisbouchard.ai/how-to-learn-ai-engineering-2026/">Read the full article here</a> or <a href="https://www.youtube.com/watch?v=8spm9E2RsXI">watch the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>When we built the &#8220;Research and Writing Agent with MCP&#8221; lesson for our <a href="https://towardsai.com/academy/agent-engineering/?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Agent Engineering course</a>, we ran into a deceptively simple evaluation question: which articles should the judge score?</p><p>The easy option was to ask another LLM to generate a batch of articles and use them as the test set. But those articles would never pass through the system we actually wanted to evaluate. The judge might measure writing quality, while missing failures in research, context transfer, or the handoff between agents.</p><p>So every evaluation example now follows the production path. We begin with the same brief a user would submit, run the research agent, pass its saved findings into the writing workflow, and score the final article.</p><p>This turns the output into a test of the entire system. If the research is weak, an important source is lost, or the writer receives incomplete context, the failure appears in the article, where the judge can detect it.</p><p>The takeaway: generate evaluation outputs with the workflow you plan to ship. Otherwise, you may be testing the quality of a substitute model rather than the reliability of your own system.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1532320545922744380">Vardhan0902</a> has built Forefetch, a platform designed for a future where AI agents work more like teammates than assistants. Instead of tying long-running tasks to your laptop, Forefetch gives agents a persistent environment where they can keep working, maintain state across sessions, and finish jobs independently. As coding agents become capable of tackling increasingly complex projects, it&#8217;s an interesting glimpse at what an agent-first development workflow could look like. <a href="https://forefetch.com/">Check it out</a> and <a href="https://discord.com/channels/702624558536065165/983037843532308500/1532320545922744380">share your feedback with the creator in the thread</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 424w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 848w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 1272w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!5Tiq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png" width="1243" height="982" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:982,&quot;width&quot;:1243,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 424w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 848w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 1272w, /__u/substackcdn.com/image/fetch/$s_!5Tiq!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45da774f-b9f0-41ed-b5ad-b9fca81f64f0_1243x982.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>More than half of you still run long Claude Code or Codex tasks directly on your main machine. That makes sense for day-to-day work, but as agents start running for hours instead of minutes, your setup becomes just as important as the model you&#8217;re using. I&#8217;m curious whether this is simply the most convenient option today, or whether people have found that the trade-offs aren&#8217;t big enough to justify moving elsewhere.</p><p>I&#8217;d love to hear more about your setup. Do you usually have one agent running at a time, or several in parallel? What does your workflow look like, and what made you settle on your current environment? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1534679564184457237">Let&#8217;s talk in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/983037843532308500/1533655981571964988">Isaac_tigges</a> built a local coding agent that brings reasoning and verification to compact open models and needs help with code quality &amp; architecture review. If you think you can help, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1533655981571964988">reach out to him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/983037843532308500/1530705606107725855">Itsha123_45386</a> and their team are trying to develop an alternative to biometric authentication systems like Face ID and Touch ID/fingerprint sensors. They need some volunteers to help them collect data for their dataset. If you would like to contribute, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1530705606107725855">connect with them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1528452911917695137" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 424w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 848w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1FtM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png" width="450" height="457" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:457,&quot;width&quot;:450,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1528452911917695137&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 424w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 848w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1FtM!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe56930c9-551c-4dea-b152-f6cef7c1e442_450x457.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1528452911917695137">jacekde</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/persistent-memory-for-claude-code-on-mongodb-atlas-0114a796467c?sharedUserId=tai-tech">Persistent Memory for Claude Code on MongoDB Atlas</a></p><p>Long Claude Code sessions silently lose constraints when compaction drops tool outputs and summarizes earlier exchanges. This article builds a plugin that captures those statements into MongoDB Atlas before they vanish, using a PreCompact hook and two MCP tools. Retrieval runs entirely inside the database: Automated Embedding generates Voyage vectors, $rankFusion blends vector and keyword pipelines through reciprocal rank fusion, and a hosted reranker orders results.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/i-self-hosted-langfuse-so-my-llm-traces-would-stop-living-on-someone-elses-bill-165f4eff65e1?sk=e295d414e12f33db6d10d0713ed01b0c">I Self-Hosted Langfuse so My LLM Traces Would Stop Living On Someone Else&#8217;s Bill</a></p><p>Langfuse crossed 100K monthly traces and pushed managed pricing into painful territory, so the author self-hosted the open-source observability platform instead. Docker Compose spins up Postgres, ClickHouse, Redis, and MinIO in minutes, though production requires TLS, SSO, and eventually Kubernetes with externally managed dependencies. The article flags a notorious UTC timezone bug, treats Redis queue depth as the real health signal, and lays out honest cost math: self-hosting secures data control immediately, but only beats managed pricing at scale.</p><p>2. <a href="https://pub.towardsai.net/how-spark-manages-memory-the-unified-memory-model-spills-and-aqe-f37f21799fc6?sharedUserId=tai-tech">How Spark Manages Memory&#8202;&#8212;&#8202;The Unified Memory Model, Spills, and AQE</a></p><p>A daily 2.1TB aggregation job kept dying at 85% completion, and the author traced the failure to Spark&#8217;s Unified Memory Manager rather than raw heap size. This article walks through how execution memory always wins over storage in the borrowing contract, why protected cached blocks starved a skewed aggregation of room to grow, and how memoryOverhead, not executor.memory, killed the YARN container. Adaptive Query Execution&#8217;s skew-join splitting fixed the root problem, cutting cluster cost while pinpointing exactly which memory region overflowed.</p><p>3. <a href="https://pub.towardsai.net/agent-memory-is-the-real-moat-5d86930b8e10?sk=27f78b3c13de62f377991d61d7645a94">Agent Memory Is the Real Moat</a></p><p>Agent memory becomes dangerous the moment it is treated as an unbounded vector store rather than a governed lifecycle. This article maps four distinct memory classes: working checkpoints, episodic outcomes, semantic facts, and procedural lessons, each with its own ownership and retention rules. Benchmarks from TraceRetain and LoCoMo show unbounded memory collapsing under noisy writes while selective retention holds steady. It closes with a practical adoption blueprint.</p><p>4. <a href="https://pub.towardsai.net/road-to-bedrock-agentcore-from-a-single-api-call-to-a-production-agent-0544ea466469?sharedUserId=tai-tech">Road to Bedrock AgentCore, From a Single API Call to a Production Agent</a></p><p>Building the same weather-fetching agent four times across AWS&#8217;s tooling stack exposed exactly what separates each layer. This article implements the same core function on the Bedrock Converse API, Bedrock Agents, the Strands SDK, and AgentCore, keeping the logic identical to isolate each layer&#8217;s tradeoffs. Converse demands hand-written orchestration. Bedrock Agents hands the loop to AWS at the cost of visibility. Strands restores control with model portability. AgentCore deploys the same agent unchanged, adding Gateway, Memory, Identity, and Observability as managed infrastructure.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[I just opened access to our entire engineering team]]></title><description><![CDATA[Submit your architecture, resume, or code: our engineers review it]]></description><link>https://learnaitogethernewsletter.substack.com/p/something-new-ive-been-building-towards</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/something-new-ive-been-building-towards</guid><dc:creator><![CDATA[Towards AI]]></dc:creator><pubDate>Wed, 05 Aug 2026 18:16:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Vq4Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>When I first moved away from academia, I had a fairly glamorous picture of engineering in my head. Three monitors. Beautiful code. Blackout curtains. Hours spent quietly building.</p><p>AI engineering cured me of that fantasy very quickly. Especially since ChatGPT and now even more powerful agentic systems to help us at each step.</p><p>Most of the job isn&#8217;t writing code. It&#8217;s making decisions. Which model fits the constraints? Do we need retrieval? How should we evaluate this? Is the problem in the data, the pipeline, the prompt, or the model? One decision after another, each one changing the one that follows.</p><p>You can get surprisingly many of them wrong and still build an impressive demo. You just can&#8217;t build something people should rely on.</p><p>We&#8217;re launching something that makes these decisions less of a solo adventure, more reliable, and honestly more fun, with the right team behind you.</p><p>It&#8217;s called <strong>Towards AI Mentorship</strong>. Our engineering team- Omar, Fabio, Samridhi, Louie, and 11 more engineers- on call for your questions.</p><p><strong><a href="https://towardsai.com/academy/mentorship/?utm_source=Substack&amp;utm_medium=LAI&amp;utm_id=mentorship">See what&#8217;s inside &#8594;</a></strong></p><p>The biggest thing: you stop making production calls alone. You post a question- architecture, deployment, eval strategy, career- and an engineer who&#8217;s shipped that system writes you back. Not when they happen to be online. As their job. That shift, knowing someone will actually answer, changes how you approach every decision.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://towardsai.com/academy/mentorship/?utm_source=Substack&amp;utm_medium=LAI&amp;utm_id=mentorship" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 424w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 848w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Vq4Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png" width="1456" height="1147" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1147,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:352442,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://towardsai.com/academy/mentorship/?utm_source=Substack&amp;utm_medium=LAI&amp;utm_id=mentorship&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://learnaitogethernewsletter.substack.com/i/209916861?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 424w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 848w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Vq4Q!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ed8b3d8-4679-48b7-8bc9-233b12ade823_1746x1376.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Then there are the production blueprints, and this is the part I&#8217;m quite excited about. Every month, we hand over best practices from our deployment work, or something we&#8217;ve actually built for clients, with the judgment calls behind every decision. The first one is mine: my current setup and our team&#8217;s best practices for working with agents as engineers. The same setup we use daily. You adapt it in your repo, and it becomes a portfolio project built on real engineering thinking, not a tutorial you followed.</p><p>Live Q&amp;A runs twice a week across two time zones, so you&#8217;ll always find a session that works.</p><p>Resume and portfolio reviews come back in 48&#8211;72 hours with written feedback from people who&#8217;ve been on the hiring side.</p><p>Python for LLMs and LLM Fundamentals are included from day one, 25% off everything else, and early access to courses we&#8217;re still building.</p><p>You know the people behind this. You&#8217;ve seen Omar run workshops. You&#8217;ve read Fabio&#8217;s newsletter. You&#8217;ve watched Samridhi present her AI scribe work. They&#8217;ve been answering questions in our channels for years; the difference now is that it&#8217;s structured and every question gets a response.</p><p>I&#8217;ll be honest, we just launched this. We&#8217;re going to learn as we go and get better every month. That&#8217;s how we built the courses, and I think they turned out all right. The people who join first will genuinely shape what this becomes.</p><p>I&#8217;d love for that to be you.</p><p><strong><a href="https://towardsai.com/academy/mentorship/?utm_source=Substack&amp;utm_medium=LAI&amp;utm_id=mentorship">Join for $99/month &#8594;</a></strong></p><p>$899/year saves 24% &#183; 30-day money-back on yearly &#183; cancel monthly anytime</p>]]></content:encoded></item><item><title><![CDATA[LAI #136: Build Faster With Agents, Debug Their Failures, and Evaluate Them More Reliably]]></title><description><![CDATA[Better agents, better evaluation, and fewer production surprises.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-136-build-faster-with-agents</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-136-build-faster-with-agents</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 30 Jul 2026 15:01:54 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Idb2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>AI engineering is slowly becoming less about writing prompts and more about building systems that don&#8217;t surprise you in production.</p><p>That&#8217;s exactly where this week&#8217;s issue goes.</p><ul><li><p>One evaluation trick that&#8217;s easy to add but surprisingly effective.</p></li><li><p>A practical look at tracing multi-agent systems when something inevitably breaks.</p></li><li><p>A guide to choosing the right LangGraph pattern before reaching for full autonomy.</p></li><li><p>Why GRPO is changing how many people think about RL training.</p></li><li><p>And a story that explains why millions of data points can still give you the wrong answer.</p></li></ul><p>Let&#8217;s get into it.</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-psIh5S1KEMA" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;psIh5S1KEMA&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/psIh5S1KEMA?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week in What&#8217;s AI, I break down the agent pipeline I use to research, write, illustrate, package, translate, and publish content, while keeping the most important 10% human.</p><p>Nova handles research, Brown coordinates the writing workflow, parallel workers produce the visuals, and a separate loop develops titles and translations. Together, they have reduced two or three days of production work to roughly five hours of my time.</p><p>The useful part is not simply what I automated. It is how the workflow preserves my voice, where I still intervene, and why removing the final human decisions would make the output worse. <a href="https://www.louisbouchard.ai/ai-agent-content-pipeline/">Read the full breakdown</a>, or <a href="https://www.youtube.com/watch?v=psIh5S1KEMA">watch the video to see the pipeline and diagrams in action</a>.</p><h4>AI Tip of the Day</h4><p>When we designed the evaluation lessons for our <a href="https://towardsai.com/academy/llm-primer/?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">10-Hour LLM Fundamentals course</a>, we looked for checks that improve reliability without forcing you to rebuild your pipeline. This is one of the simplest.</p><p>When an LLM judge compares answer A with answer B, run the evaluation twice and reverse their order on the second call.</p><p>If the same answer wins twice, keep the result. If the winner changes, mark the comparison as undecided or send it for human review.</p><p>This exposes position bias: the judge may prefer an answer partly because it appears first or second, not because it is better. Track how often your results flip. Frequent reversals can reveal an unclear rubric, answers that are too similar, or a judge that is not reliable enough for the task.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1529526099380408432">Mikieldus</a><span> has built Hoshi, an agent workspace designed around a simple idea: an agent should do more than talk. Each user gets an isolated cloud computer with its own filesystem, shell, running processes, and credentials, so the agent can work directly with code and complete tasks. Teams can also publish their existing setup as a boilerplate, while interactive forms, charts, and choices replace long text transcripts when decisions are needed. </span><a href="https://hoshi.computer/">Check it out here</a><span>, give it a try, and </span><a href="https://discord.com/channels/702624558536065165/983037843532308500/1529526099380408432">share your feedback with the creator in the thread</a><span>.</span></p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1531349543117914325" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 424w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 848w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Idb2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png" width="1224" height="1087" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1087,&quot;width&quot;:1224,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1531349543117914325&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 424w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 848w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Idb2!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd6f3157-8e62-4f1e-b500-f8b709343009_1224x1087.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Kimi may be leading some benchmark tables, but it has not yet displaced the models people already rely on. Only 10% of respondents regularly use it, while Claude and GPT account for nearly two-thirds of the selections.</p><p>It again reinforces that better scores may earn attention, but reliability, integrations, familiarity, and developer experience determine whether a model becomes part of someone&#8217;s daily workflow.</p><p>What would it actually take for you to switch your primary model? A clear performance advantage, lower cost, better tooling, stronger coding ability, or something else? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1531349543117914325">Share what matters most in your day-to-day workflow</a>.</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1529065786503598221">Jadexrose</a> is recruiting for AI engineering roles at startups and is looking for someone to discuss AI engineering concepts, do some mock interviews, and build stuff. If this sounds like it would help you as well, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1529065786503598221">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1528289413950476370">Divyanshijoshi</a> is currently looking for people to work together on AI research, especially in interdisciplinary fields with a focus on machine unlearning, LLM bias mitigation, and studying bugs in software engineering. If this sounds interesting, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1528289413950476370">reach out to her in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1529526317073170624">Mikieldus</a> is looking for a team to develop his project. If you want to work on projects and need more details, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1529526317073170624">write to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1528903948377915532" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 424w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 848w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 1272w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!u6QG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png" width="679" height="628" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:628,&quot;width&quot;:679,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1528903948377915532&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 424w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 848w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 1272w, /__u/substackcdn.com/image/fetch/$s_!u6QG!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc6dba2e0-7101-43ac-bbd8-b8872848d4e2_679x628.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1528903948377915532">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/when-your-agents-go-dark-observability-in-multi-agent-systems-with-opentelemetry-5454668c6360?sharedUserId=tai-tech">When Your Agents Go Dark: Observability in Multi-Agent Systems with OpenTelemetry</a> by<a href="https://medium.com/@MongoDB"> MongoDB</a></p><p>When a multi-agent system fails, ordinary logs may show the error without revealing which agent, tool call, or handoff caused it. This article shows how to trace that path with OpenTelemetry. You will see how to instrument an agent handoff, inspect the resulting trace, and capture failures that application logs often miss. It also explains when full distributed tracing is worthwhile and when a simpler setup will do.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/building-intelligent-feedback-systems-a-deep-dive-into-conditional-agentic-workflows-with-c40daa159d74?sharedUserId=tai-tech">Building Intelligent Feedback Systems: A Deep Dive into Conditional Agentic Workflows with LangGraph</a> by<a href="https://medium.com/@sandippalit009"> Sandip Palit</a></p><p>This piece walks you through building a conditional agentic workflow for a customer review triage system using LangGraph, LangChain, Groq, and Pydantic. The author uses llama-3.3&#8211;70b-versatile at zero temperature to extract sentiment, then routes reviews through a StateGraph: positive feedback triggers a quick thank-you node, while negative reviews are passed through structured diagnosis for issue type, tone, and urgency before generating tailored resolutions.</p><p>2. <a href="https://pub.towardsai.net/grpo-from-scratch-group-relative-policy-optimization-in-python-c2c5fb1df4b3?sk=8ecb4f740b4b7170dc4f265921b2376c">GRPO from Scratch: Group Relative Policy Optimization in Python</a> by<a href="https://arminnorouzi.medium.com/"> Armin Norouzi, Ph.D</a></p><p>GRPO removes PPO&#8217;s separate value model and estimates advantage by comparing outputs within a group, reducing memory use while simplifying the training loop. This article implements the algorithm from scratch, making the reward normalization, clipping, and stability trade-offs easier to understand before you use a production library.</p><p>3. <a href="https://pub.towardsai.net/every-langgraph-pattern-youll-actually-use-explained-properly-a3fc2f947075?sharedUserId=tai-tech">Every LangGraph Pattern You&#8217;ll Actually Use: Explained Properly</a> by<a href="https://medium.com/@bessiedelight"> Bessie Delight Kekeli</a></p><p>Not every workflow needs an autonomous agent. This guide compares six LangGraph patterns, from simple chains and routing to evaluator loops and orchestrator-worker systems, then helps you decide which structure fits the problem. It also grounds every pattern in working code, clarifying how structured output and tool binding turn a plain LLM into something genuinely capable. It is especially useful when you understand LangGraph&#8217;s components but are unsure how to assemble them.</p><p>4. <a href="https://pub.towardsai.net/sampling-and-sampling-bias-explained-simply-1a5da2b0c40d?sharedUserId=tai-tech">How A Tiny Spoonful Can Know The Whole Pot</a> by<a href="https://iknahar.medium.com/"> Kamrun Nahar</a></p><p>A large dataset can still give you the wrong answer when the sample is biased. Through famous historical examples and a simple Python simulation, this article shows why representativeness matters more than raw sample size and gives you a practical checklist for questioning the data behind a statistic. It closes with a five-step field kit and a flowchart for spotting tilted data before trusting statistics.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #135: The Useful Part of Graph Engineering Is Not the Graph]]></title><description><![CDATA[When JSON hurts reasoning, Anthropic wins our dream-workplace poll, and bad statistics make chocolate look like a diet plan]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-135-the-useful-part-of-graph</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-135-the-useful-part-of-graph</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 23 Jul 2026 15:01:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Z4oD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>The AI discourse has a new buzzword this week, and for once, the underlying idea is worth your time, even if Anthropic already wrote about it in 2024. We&#8217;re also tackling a tradeoff most teams don&#8217;t measure: forcing structured outputs can make your model&#8217;s answers worse, and a 100% parse rate won&#8217;t tell you.</p><p>We also cover:</p><ul><li><p>How a journalist used real data and real statistics to convince the world that chocolate helps you lose weight, and what that teaches about why most people misread p-values.</p></li><li><p>A multi-agent support triage system you can run locally on Llama3 or swap to GPT-4o-mini with one function change.</p></li><li><p>DPO from scratch in pure NumPy: no reward model, no RLHF pipeline, just the math and a working implementation.</p></li><li><p>An orchestrator pattern that decomposes tasks, runs workers in parallel, and self-corrects with a free demo mode so you can test every path without API costs.</p></li><li><p>A full self-hosted LLMOps stack with Langfuse: prompt versioning, tracing, evals, and a CI gate.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-MDHcmWmvqvo" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;MDHcmWmvqvo&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/MDHcmWmvqvo?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>I made a video on loop engineering a few weeks ago, and apparently it died before some of you even got a chance to watch it. We now have Graph engineering, basically, this week&#8217;s name for connecting several agent loops into one orchestrated system. I am glad we are talking about it, but Anthropic&#8217;s Building Effective Agents post from 2024 covers each of these concepts already. We are talking about it now because drawing the graph forces you to think about the process and set it up once and for good. Graph engineering is this week&#8217;s name for taking orchestration a bit more seriously now that we have access to models like 5.6 and Fable. So today, in What&#8217;s AI, I am diving into what graph engineering actually is and which part deserves your attention.</p><p><a href="https://www.louisbouchard.ai/graph-engineering-explained/">Read the full article here</a>, or if you prefer watching, <a href="https://www.youtube.com/watch?v=MDHcmWmvqvo">check the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>Structured Outputs make responses easier to plug into software, but they also change how the model generates its answer.</p><p>When we first wrote the lesson &#8216;Structuring Your Data&#8217; for our <a href="https://towardsai.com/academy/full-stack-ai-engineering/?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Full Stack AI Engineering</a> course, the main problem was getting models to return JSON your application could reliably parse. As structured outputs became standard across newer reasoning models and smaller models used in production, another problem became harder to ignore: the schema can be perfectly valid while the answer inside it gets worse.</p><p>This is especially important on tasks that already stretch the model&#8217;s reasoning. Requiring it to solve the problem within a rigid schema can reduce accuracy, particularly when the schema is complex, or the model has little capacity to spare.</p><p>Before adding a schema, run the task in free form and record the quality of the answers. Then introduce the smallest schema your application needs and repeat the same evaluation.</p><p>Measure answer quality and schema validity separately. A 100% parse rate only tells you that your software can read the response. It does not tell you whether the response is correct.</p><p>When structure reduces accuracy, simplify the schema. For tasks where the final formatting is deterministic, let the model work through the problem freely and package its answer into the required structure in code.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1528335297396342894">Dr_zoe88</a> just built review-toolkit, a small toolkit that gives Claude Code two &#8220;reviewer&#8221; agents. One reviews your plan before you write any code, and one reviews your code before it merges. The repo ships with a test suite of planted flaws, and both reviews are allowed to say: &#8220;nothing to fix&#8221;. <a href="https://github.com/mahmoudmoe84/review-toolkit">Try it out on GitHub</a> and support a fellow community member. <a href="https://discord.com/channels/702624558536065165/983037843532308500/1528335297396342894">Share your feedback, questions, and if it catches something for you in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1528376599534243940" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 424w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 848w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!lh3h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png" width="986" height="1252" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1252,&quot;width&quot;:986,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1528376599534243940&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 424w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 848w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lh3h!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa14f4a8-b197-4cde-974b-220af18ddad4_986x1252.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Anthropic leads at 21%, but 18% of you don&#8217;t want to work at any of these companies; you want to build your own. Nearly 1 in 5 picked founder over every major lab on the list. NVIDIA takes third at 16%, which makes sense if you&#8217;re thinking long-term; betting on the infrastructure layer is a different kind of bet than betting on any one model provider.</p><p>Also, 5% of you said Towards AI; we see you, and we appreciate it. As we mentioned last week, the deployment pods do hire from this community first.</p><p>For those who picked founder: are you already building something, or is that the plan once you feel ready? And for those who picked a lab, what&#8217;s the pull? The research, the product, or just wanting to be where the biggest models get made? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1528376599534243940">Let me know in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1529065786503598221">Jadexrose</a> is recruiting for AI engineering roles at startups and is looking for someone to discuss AI engineering concepts, do some mock interviews, and build stuff. If this sounds like it would help you as well, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1529065786503598221">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1528289413950476370">Divyanshijoshi</a> is currently looking for people to work together on AI research, especially in interdisciplinary fields with a focus on machine unlearning, LLM bias mitigation, and studying bugs in software engineering. If this sounds interesting, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1528289413950476370">reach out to her in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1529526317073170624">Mikieldus</a> is looking for a team to develop his project. If you want to work on projects and need more details, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1529526317073170624">write to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1528122460455571626" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 424w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 848w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Z4oD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png" width="1456" height="1389" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1389,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1528122460455571626&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 424w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 848w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Z4oD!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa77452f-2e5e-4543-b05f-a8651e656b87_1476x1408.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1528122460455571626">bigbuxchungus</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/hypothesis-testing-p-values-explained-simply-dba502312edb?sharedUserId=tai-tech">Hypothesis Testing Is Just a Courtroom With Worse Snacks</a> by<a href="https://iknahar.medium.com/?source=post_page---byline--dba502312edb---------------------------------------"> Kamrun Nahar</a></p><p>A journalist named John Bohannon convinced the world that chocolate helps you lose weight. He didn&#8217;t fake a single number. The study was real, the p-value was real, and that&#8217;s exactly the problem. This article uses that story to explain why p-values fool people, traces hypothesis testing back to Fisher&#8217;s tea-tasting experiment, and walks through null hypotheses, significance levels, Type I and II errors, power, and confidence intervals with runnable Python code throughout.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/building-a-multi-agent-support-ticket-triage-with-langgraph-963a5b2081fb?sk=2d2e94d8a158f1fd69f00869bb3dbb51">Building a Multi-Agent Support Ticket Triage With LangGraph</a> by<a href="https://medium.com/@schuerch_sarah?source=post_page---byline--963a5b2081fb---------------------------------------"> Sarah Lea</a></p><p>If you&#8217;ve been looking for a clean starting point for multi-agent systems, this is it. A classifier assigns category and priority, a router directs traffic, a responder drafts replies, and urgent tickets escalate to a human. One factory function lets the same graph run locally on Llama3 or through GPT-4o-mini, no architecture changes needed.</p><p>2. <a href="https://pub.towardsai.net/dpo-fine-tuning-from-first-principles-in-python-0ef188377cb0?sk=ac780e9ae20466e88358ab89e4599628">DPO Fine-Tuning from First Principles in Python</a> by<a href="https://arminnorouzi.medium.com/?source=post_page---byline--0ef188377cb0---------------------------------------"> Armin Norouzi, Ph.D</a></p><p>Most DPO tutorials start at the loss function. This one starts at why the loss function works. The author derives everything from Bradley-Terry preferences through the reparametrization that eliminates the reward model entirely, then implements it in pure NumPy with analytical gradients. A beta sweep at the end shows how temperature controls KL drift in practice.</p><p>3. <a href="https://pub.towardsai.net/i-built-a-team-of-ai-agents-that-manage-themselves-heres-the-orchestrator-pattern-behind-it-cdc815b56036?sk=f47391701ef06c9a61a5c3d48391328d">I Built a Team of AI Agents That Manage Themselves&#8202;&#8212;&#8202;Here&#8217;s the Orchestrator Pattern Behind It</a> by<a href="https://medium.com/@sai-insights?source=post_page---byline--cdc815b56036---------------------------------------"> Sai Insights</a></p><p>An orchestrator decomposes a question into subtasks, runs specialist workers in parallel over a shared blackboard, and a critic flags low-confidence answers for capped retries. What makes this useful: a free demo mode verifies every code path without API costs, and a live Claude mode lets you run it for real. The full execution logs are included so you can see exactly what happens at each step.</p><p>4. <a href="https://pub.towardsai.net/langfuse-from-zero-to-production-tracing-prompt-versioning-and-evals-in-one-stack-67584889982c?sk=874236679cd086ed7e0da418f433ee5f">Langfuse from Zero to Production: Tracing, Prompt Versioning, and Evals in One Stack</a> by<a href="https://medium.com/@ramkumar.harish?source=post_page---byline--67584889982c---------------------------------------"> Harish Ramkumar</a></p><p>If you want LLMOps without handing your data to a third party, this is the walkthrough. The author sets up Postgres, ClickHouse, Redis, and MinIO via Docker Compose, instruments a RAG pipeline with nested traces, adds versioned prompts with one-click rollback, and wires up LLM-as-judge scoring. A CI quality gate at the end turns every prompt change into a testable, reversible release.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #134: Your First LLM App on AWS for Under a Dollar]]></title><description><![CDATA[Loop engineering with Claude Code, plus a Towards AI enterprise launch, vLLM on L40S, and context windows as memory management]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-134-your-first-llm-app-on-aws</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-134-your-first-llm-app-on-aws</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 16 Jul 2026 15:02:16 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!VFiX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>This week is a mix of practical builds and a milestone for us. We also have a big announcement from Towards AI; more on that below.</p><p>Inside the issue:</p><ul><li><p>How Claude Code&#8217;s /goal and /loop commands turn one-shot prompting into autonomous loop engineering.</p></li><li><p>Three context failure modes that show up when you manage them carelessly.</p></li><li><p>A beginner-friendly path to your first LLM app on Amazon Bedrock, from IAM setup to RAG pipelines with guardrails, all for under a dollar.</p></li><li><p>83 vLLM configurations benchmarked on an L40S: open-source results showing how each optimization actually performs in practice.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><p>This week, I don&#8217;t have a video for you, but something even bigger.</p><p>It&#8217;s a big week for me at Towards AI: we just launched Towards AI Deployment, a dedicated enterprise division.</p><p>Here&#8217;s the part I&#8217;m proudest of: several of the AI engineers in those pods started right here, as community members and students. They trained with us, and now they&#8217;re deploying production AI inside client organizations. And everything they learn doing that work flows back here: the failure cases become AI Tips of the Day, the evaluation methods become course lessons. The context engineering patterns we shared at our World&#8217;s Fair workshop came from exactly this kind of work.</p><p><span>Two of our co-founders dive deeper into how we went from teaching machine learning to half a million practitioners to deploying AI directly inside businesses, and why we&#8217;ve made PE-backed companies and investors our focus. </span><a href="https://www.linkedin.com/posts/denis-p-72588a44_louie-and-i-sat-down-with-our-advisor-zeena-ugcPost-7483166744618967040-vWGV/"><span>Watch the full video here.</span></a></p><p>And, if you&#8217;ve been building in public here, keep going. This community is the first place we look when the pods hire.</p><h4>AI Tip of the Day</h4><p>Agent evals should intentionally break the tools.</p><p>A clean staging run shows how an agent behaves when all dependencies cooperate. Production is where a tool times out after completing an action, or sends back a payload the agent cannot parse.</p><p>That is when agents repeat work, invent a successful result, or continue without the information they need.</p><p>Put these failures into the eval harness. Force a 429 response at a known step. In another test, make a required dependency unavailable. Record each tool call and assert what the agent should do next.</p><p>A read may be safe to retry automatically. A write should first check whether the original action already happened. If the task cannot continue safely, the correct result is a clear stop or escalation.</p><p>Measure recovery success separately from normal task completion. Otherwise, a high pass rate on easy paths can hide weak recovery logic.</p><p>To learn more about agent evaluation, tool use, and guardrails, check out our<a href="https://academy.towardsai.net/courses/agent-engineering?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips"> Agent Engineering: Building Multi-Agent Systems Course</a>.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1524439240396505220">Vivek_m4</a> has built his first open-source project, Spider Canvas, an AI-powered rendering runtime that lets developers build, preview, and iterate on React, HTML, CSS, JavaScript, WebGL, and three.js applications instantly in the browser. It supports real-time streaming, live code preview, sandboxing, and session persistence. <a href="https://github.com/M4SPIDER/spider-canvas">Check it out on GitHub</a> and support a fellow community member. If you have any questions or suggestions on how to improve it further, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1524439240396505220">share them in the thread</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1526256618763976926" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 424w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 848w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!VFiX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png" width="1245" height="1202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1202,&quot;width&quot;:1245,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1526256618763976926&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 424w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 848w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 1272w, /__u/substackcdn.com/image/fetch/$s_!VFiX!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff89ad6c3-5ab7-4c73-8bd6-a77da2f15750_1245x1202.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We&#8217;re writing the second edition of our book, and I asked the community to help pick the title. If you haven&#8217;t voted yet, there&#8217;s still time.</p><p>But honestly, the title matters less than what&#8217;s inside. So what I really want to know is: what topics do you want us to go deeper into in the second edition? More on agents? Evaluation? Deployment? Cost optimization? Something we didn&#8217;t cover at all in the first one? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1526256618763976926">Let us know in the thread</a>, this is your chance to shape what goes in.</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1525017668086923327">Keatwonobe</a> is a researcher exploring a new functional architecture for small model learning. The current model is between 1.2 and 1.8 million parameters in size, but can reduce CE loss on text to sub-0.1 levels in under 2k steps and run multiple continuous tasks simultaneously as a multimodal package. He wants to make it more capable, and if you think you can help, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1525017668086923327">talk to him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1525984786881974312">Yasssooo.</a> wants to dive deeper into AI Engineering by taking on more projects and collaborating with others doing the same. So if this is your goal too, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1525984786881974312">connect with him in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1524581914001014794">Mxropriv</a> is working on an AI/app competition project and looking for teammates interested in software, AI, design, or business. If you are a high school student who wants to do something similar, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1524581914001014794">reach out to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1526343271197048922" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 424w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 848w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!qw-t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png" width="640" height="840" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/caff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:840,&quot;width&quot;:640,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1526343271197048922&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 424w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 848w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 1272w, /__u/substackcdn.com/image/fetch/$s_!qw-t!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcaff2e42-5472-4681-81b4-be8d811ba5b6_640x840.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1526343271197048922">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/stop-prompting-and-start-looping-a-claude-code-engineers-guide-to-goal-and-loop-e7662aaaafd6?sharedUserId=tai-tech">Stop Prompting And Start Looping. A Claude Code Engineer&#8217;s Guide to /goal and /loop</a> By<a href="https://1pravin-borate.medium.com/?source=---byline--e7662aaaafd6---------------------------------------"> Pravin Borate</a></p><p>Claude Code&#8217;s /goal and /loop commands turn one-shot prompting into loop engineering, in which agents work autonomously until the task is complete. /goal wraps a Stop hook with a second evaluator model that verifies completion from conversation evidence, while /loop reruns prompts on a schedule for recurring tasks like CI monitoring. The article demonstrates both techniques by building a self-healing test suite: six planted bugs, a hook that blocks test-file edits, a fully autonomous fix cycle, and guidance on writing verifiable goal conditions.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/a-beginners-guide-to-amazon-bedrock-your-first-llm-app-without-the-overwhelm-51fcddef6a1e?sk=8b2ca6b60631d0af2df2f4c24686ac4f">A Beginner&#8217;s Guide to Amazon Bedrock: Your First LLM App Without the Overwhelm</a> By<a href="https://medium.com/@ramkumar.harish?source=---byline--51fcddef6a1e---------------------------------------"> Harish Ramkumar</a></p><p>Amazon Bedrock lets developers call Claude and other foundation models via a single AWS API without managing infrastructure. This beginner guide walks through IAM users, model access, and a first working Python call with the Anthropic SDK, and explains inference parameters such as temperature and max_tokens. It progresses to building RAG pipelines with Knowledge Bases and adding Guardrails for content filtering and PII redaction, finishing with production tips covering prompt caching, batch inference, and security hardening, all runnable for under one dollar.</p><p>2. <a href="https://pub.towardsai.net/context-window-management-is-the-new-memory-management-3a2b8ad7768e?sk=03073390fb40181b18ac28cdceee4d2b">Context Window Management Is the New Memory Management</a> By<a href="https://satyamsahu671.medium.com/?source=---byline--3a2b8ad7768e---------------------------------------"> Satyam Sahu</a></p><p>Context windows function like RAM in LLM applications, and most teams manage them carelessly until cost and quality issues surface. The article explains tokens, why huge context limits breed complacency, and three failure modes: runaway API bills, the lost-in-the-middle attention problem, and undebuggable responses. It also covers three practical tips: setting token budgets, pruning stale history, and compressing old turns into summaries, backed by a simple Python context manager.</p><p>3. <a href="https://pub.towardsai.net/the-vllm-optimization-playbook-for-l40s-backed-by-83-experiments-ae5da228f514?sharedUserId=tai-tech">The vLLM Optimization Playbook for L40S</a> By<a href="https://medium.com/@vedanti220201?source=---byline--ae5da228f514---------------------------------------"> Vedanti</a></p><p>In this article, the author shares their findings after measuring vLLM&#8217;s optimizations on an NVIDIA L40S, running Llama 3.1 8B Instruct across 83 configurations and 4 production-style workloads. The result is vllm-optimization-bench, an open-source benchmark harness that produces concrete numbers on how vLLM optimizations behave in practice.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #133: The Most Anticipated Model of the Year and Most of You Skipped It]]></title><description><![CDATA[Plus a self-evolving agent framework, AWS's phase-gated Claude Code, and an e-commerce search engine at 95% recall]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-133-the-most-anticipated-model</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-133-the-most-anticipated-model</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 09 Jul 2026 15:00:35 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!FNM-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>This week, I published something with Paul Iusztin that we&#8217;ve been working on for a while: an open-source system that gives your agents persistent memory across sessions using your own notes and research. Full details are below.</p><p>We also cover:</p><ul><li><p>How AWS&#8217;s AI-DLC methodology turns Claude Code into a disciplined engineering partner.</p></li><li><p>Why the Replit and Cursor database-deletion incidents were governance failures, and four principles for deploying agents that act on production systems.</p></li><li><p>How world action models are pushing robotics past video prediction: one approach cuts FLOPs by 6x, another lifts pick-and-place success from 0% to 70%.</p></li><li><p>How to take a working Claude Agent SDK script and make it provable with structured output, per-run cost tracking, and OpenTelemetry traces you can actually search.</p></li></ul><p>Let&#8217;s get into it!</p><h4>AI Tip of the Day</h4><p>If you have a task you repeat every week, you don&#8217;t need to keep prompting AI from scratch every time.</p><p>For example, a weekly report is usually not a one-off prompt. It is a repeatable workflow with a few inputs that change each time.</p><p>The problem is that people often save the prompt, but not the way they actually do the task. They forget the tabs they check, the fields they always fill in, the naming convention they use, or the final check they run before sending it out.</p><p>Codex&#8217;s Record &amp; Replay feature is useful for this. You can record yourself doing the workflow once on your Mac, and Codex can turn that recording into a reusable skill. The next time you need to perform the same task, you give it new inputs instead of rebuilding the whole instruction from memory.</p><p>Before recording, pick one workflow with clear start and end points. Then note what changes each week, what stays the same, and what &#8220;done&#8221; looks like.</p><p>If you want to bring AI into real workplace tasks and team workflows, check out our <a href="https://academy.towardsai.net/courses/ai-business-professionals?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Master AI for Work</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><p><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Paul Iusztin&quot;,&quot;id&quot;:110559689,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0714d360-396c-4b41-a676-1b58dc1dc5f3_1470x1470.jpeg&quot;,&quot;uuid&quot;:&quot;20acd3d2-3ed4-41b7-9689-a5ad770c54e6&quot;}" data-component-name="MentionToDOM"></span> and I also published a deep dive on turning your second brain into agent memory. If you&#8217;re like most of us, you have thousands of notes across Obsidian, Readwise, Notion, and Google Drive, and none of them follow you into your next Claude or Codex session. Every research session starts from zero.</p><p>We built the fix: an AI Research OS that runs deep research across your notes and the open web, then stores what it finds as an LLM wiki, inspired by Karpathy&#8217;s idea, that your agents can query, maintain, and grow with every session. No vector database, no knowledge graph, nothing to host. Just Markdown, YAML, and folders. Google independently shipped the same architecture as an open standard (Open Knowledge Format), which tells you the direction is right.</p><p>The whole thing is open source as a Claude Code plugin, you can clone and run on your own notes today. <a href="https://www.decodingai.com/p/llm-wiki-agent-memory?r=1ttoeh&amp;utm_medium=ios&amp;triedRedirect=true">Read the full article here</a>.</p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1524015219033112597">Nobias0700</a> is working on EVA, a minimal self-evolving agent that safely rewrites, tests, and promotes better versions of itself inside a hardened Docker sandbox. The project aims to answer what it would look like if an agent could modify its own runtime through a gated release process instead of live self-mutation. EVA&#8217;s loop is active release &gt; candidate &gt; tests/ratchet &gt; kernel gate &gt; promotion &gt; ledger &gt; rollback. The kernel stays small and non-evolving. The evolvable release contains the agent loop, tools, adapters, memory, context compaction, TUI, and self-model. Currently, it&#8217;s experimental, but <a href="https://github.com/arturkorb3/eva-evolutional-agent">check it out on GitHub</a> and <a href="https://discord.com/channels/702624558536065165/983037843532308500/1524015219033112597">share your technical feedback in the thread</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1523756611166928926" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 424w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 848w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bnlO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png" width="1004" height="1244" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1244,&quot;width&quot;:1004,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1523756611166928926&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 424w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 848w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bnlO!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1d2553a9-bc41-40cd-ba4d-4723a97475d7_1004x1244.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Claude Fable was one of the most anticipated releases this year, launched on June 9, pulled by the US government three days later, and only brought back on July 1. A third of you still haven&#8217;t tried it. Of those who have, the community is genuinely split: 19% say it&#8217;s amazing for coding, 12% think it&#8217;s way better than Opus and Sonnet, and 11% find it strong for agents and long tasks. But 15% think it&#8217;s good but overhyped or costly, and another 4% are frustrated by usage limits.</p><p>So the people who&#8217;ve used it mostly like it, but cost and access are clearly holding back adoption. It&#8217;s now on usage-credit billing, though Anthropic says they aim to bring it back to subscriptions once capacity allows.</p><p>What I want to know: if you haven&#8217;t tried it yet, is it because of the cost, because you&#8217;re worried it might get pulled again, or just because what you&#8217;re using now works fine? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1523756611166928926">Let&#8217;s talk in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1522621958456475749">Teranmix</a> is looking for AI ML/DL enthusiasts to learn AI with mathematics. If you are interested in that side of learning, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1522621958456475749">connect with him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1524107091856330892">Imarkusss</a> is building an early-stage startup applying machine learning to simulate and predict how drugs, proteins, and biochemical compounds interact. He is looking for ML/AI engineers to collaborate, so if you are interested in this domain, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1524107091856330892">reach out to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1524178460300546160" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!FNM-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg" width="828" height="1037" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1037,&quot;width&quot;:828,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1524178460300546160&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!FNM-!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F963a9d1b-b173-4541-8332-04b86a36c4ac_828x1037.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I have been saying it for so long now, <a href="https://discord.com/channels/702624558536065165/830572933197201459/1524178460300546160">efficientnet1995</a> made it funny with their meme.</p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/ai-dlc-claude-code-the-end-of-vibe-coding-a-complete-hands-on-guide-7e6cf6e026a2?sharedUserId=tai-tech">AI-DLC + Claude Code: The End Of Vibe Coding, A Complete Hands-On Guide</a> by <a href="https://1pravin-borate.medium.com/?source=post_page---byline--7e6cf6e026a2---------------------------------------">Pravin Borate</a></p><p>AWS open-sourced AI-DLC, a phase-gated methodology that turns Claude Code from an autocomplete tool into a disciplined engineering partner. This article shows how to build a Task Management API, showing how workspace detection, requirements analysis, user stories, and design documents each require explicit approval before code generation begins. Extensions such as security baselining and property-based testing add blocking gates, while a persistent audit trail and a state file allow sessions to resume across tools.</p><h3>Our must-read articles</h3><p>1. <a href="https://medium.com/towards-artificial-intelligence/governance-by-design-four-principles-for-building-safe-compliant-ai-agents-a3dbecf845bb?sharedUserId=tai-tech">Governance by Design: Four Principles for Building Safe, Compliant AI Agents</a> by <a href="https://medium.com/@MongoDB?source=post_page---byline--a3dbecf845bb---------------------------------------">MongoDB</a></p><p>AI agents now act directly on production systems, and this article argues that recent database-deletion incidents at Replit and Cursor were governance failures rather than technical ones. The piece lays out four pillars for safe agent deployment: identifying regulatory constraints such as HIPAA and the EU AI Act; layering input, execution, and output guardrails; enforcing deny-by-default access with least privilege and human oversight; and establishing agent identity through OAuth On-Behalf-Of and SPIFFE for auditability.</p><p>2. <a href="https://pub.towardsai.net/how-are-world-action-models-evolving-taking-a-glimpse-into-the-future-of-robotics-part-i-26c8a1e2696f?sk=44169f13b5ae14ecb323770665e292be">How are World Action Models evolving?&#8202;&#8212;&#8202;Taking a glimpse into the future of Robotics</a> by <a href="https://medium.com/@kimhyunbin106?source=post_page---byline--26c8a1e2696f---------------------------------------">Kim Hyun Bin</a></p><p>World Action Models push robotics beyond video prediction toward genuine physical reasoning, and two recent papers show how. ImageWAM swaps costly video generation for an image-editing backbone, leveraging its internal KV caches to drive a flow-matching action expert, cutting FLOPs by a factor of 6 while achieving 93% success on RoboTwin 2.0. HWM, from Yann LeCun&#8217;s team, tackles long-horizon planning by pairing coarse and fine latent world models, lifting Franka&#8217;s pick-and-place success from 0% to 70% without task-specific rewards.</p><p>3. <a href="https://pub.towardsai.net/multi-aspect-e-commerce-semantic-engine-using-qdrant-multivectors-e1e7aacaeab3?sharedUserId=tai-tech">Multi-Aspect E-Commerce Semantic Engine Using Qdrant Multivectors</a> by <a href="https://yadavdivy296.medium.com/?source=post_page---byline--e1e7aacaeab3---------------------------------------">Divy Yadav</a></p><p>A semantic search engine for e-commerce hit a wall when a single embedding tried to represent specs, images, and reviews at once. The author rebuilt it using Qdrant multivectors, storing SigLIP image embeddings, ColBERT token-level text matrices, and BGE embeddings of extracted review findings at a single point. Query decomposition routes intent before embedding, prefetch stages narrow candidates, and personalization reranks results. Benchmarks show 95% Recall@3 with 2.2ms latency, alongside honest caveats about scale and when this complexity is actually worth building.</p><p>4. <a href="https://pub.towardsai.net/claude-agent-sdk-observability-and-production-hardening-your-agent-works-8fbc36a81806?sk=345fdf6efc413b649164e2ec18662363">Claude Agent SDK Observability and Production Hardening: Your Agent Works. Now Prove It: Typed Output, Real Costs, and Traces You Can Search</a> by <a href="https://medium.com/@richardhightower?source=post_page---byline--8fbc36a81806---------------------------------------">Rick Hightower</a></p><p>This article shows how to turn a working Claude Agent SDK script into an operable service with structured output, cost tracking, and OpenTelemetry. Structured output gives downstream code typed JSON instead of paragraphs. Cost tracking puts a dollar figure on every run, including the failures. OpenTelemetry exports traces, metrics, and logs to the dashboards you already watch. By the end, you will know how to wire all three and which footguns to step around.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #132: We Open-Sourced the AI Tutor Our Students Actually Use]]></title><description><![CDATA[Run it locally, add your own content, plus our World's Fair workshop, RAG injection through documents, and attention as physics]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-132-we-open-sourced-the-ai-tutor</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-132-we-open-sourced-the-ai-tutor</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Fri, 03 Jul 2026 15:01:56 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Hr06!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Lighter issue this week, since we just got back from the AI Engineer World&#8217;s Fair in San Francisco. 6,000+ AI engineers, 300 speakers, 29 tracks, and we were right in the middle of it. The conversations alone were worth the trip: what people are actually building right now, the problems they&#8217;re hitting in production, the patterns that keep coming up. If you&#8217;re working in AI engineering, this is the one conference where you feel like you&#8217;re in exactly the right room.</p><p>We gave a workshop on the context engineering behind our production AI tutor: compaction, memory, and cost, and the room was packed with people sitting on the floor and a queue outside. The 1:1 conversations after were honestly the highlight.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Hr06!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Hr06!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 424w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 848w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 1272w, /__u/substackcdn.com/image/fetch/$s_!Hr06!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3a74230-3fe6-4ac5-9f3b-2e4bb3c226fb_1600x1200.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s what came out of it, and it&#8217;s all yours:</p><p>We open-sourced the full AI tutor app. This is the same production system our students use to ask anything about AI engineering, RAG, agents, and get answers grounded in our own material with sources. You can run it locally, swap in your own content, and build your own version.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://huggingface.co/spaces/towardsai-tutors/context-engineering-experiments" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 424w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 848w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 1272w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!X_P9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png" width="1200" height="507" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:507,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://huggingface.co/spaces/towardsai-tutors/context-engineering-experiments&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 424w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 848w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 1272w, /__u/substackcdn.com/image/fetch/$s_!X_P9!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ef90558-3f84-4854-b72b-6451cdaada02_1200x507.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><a href="https://github.com/towardsai/ai-tutor-app">GitHub link</a> | <a href="https://huggingface.co/spaces/towardsai-tutors/context-engineering-experiments">Try the AI Tutor</a> | <a href="https://docs.google.com/presentation/u/1/d/1BVqX1h2DPyIDCEWUSNXSVFIPTQgbhM_ik4JBVaQ2f3k/edit">Slides</a></p><p>And if you missed last week&#8217;s email, we also shared the full talk Paul Iusztin and I gave on the AI Engineer World&#8217;s Fair Online Track: building a research wiki your agents maintain for you. No vector database, no knowledge graph. Just Markdown, YAML, and folders. <a href="https://www.youtube.com/watch?v=ZRM_TfEZcIo">Watch it here</a>.</p><p>We also cover:</p><ul><li><p>Why your RAG eval can pass while your system is compromised</p></li><li><p>How to stop your e-commerce agent from processing a refund on an order that doesn&#8217;t exist.</p></li><li><p>How to search hours of wearable footage without any data leaving the device.</p></li><li><p>Why most teams leave their LLM endpoints wide open after deployment and how to fix it.</p></li><li><p>How to build a Slack news agent that delivers cited briefings for a few cents each</p></li></ul><p>Let&#8217;s get into it!</p><h4>AI Tip of the Day</h4><p>In production RAG systems, prompt injection doesn&#8217;t only happen at the prompt level, but it can also sneak in through the documents your system retrieves. A vendor PDF, support article, scraped web page, or customer note can contain useful facts and a malicious instruction in the same chunk.</p><p>If your eval only checks whether the answer is factually correct, the system can look safe but treat all retrieved text as something it should obey.</p><p>To prevent this, add a few test documents that mix valid domain facts with instructions like &#8220;ignore the system message&#8221; or &#8220;send the user to this external link.&#8221;</p><p>Then check two things: the answer should still use the factual content, and it should refuse to follow instructions found inside the retrieved context. Log the chunk IDs too, so a failed test points to the retriever, prompt wrapper, or generation step.</p><p>If you&#8217;re building production RAG systems and want to go deeper into retrieval, evaluation, and deployment, check out our <a href="https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Full Stack AI Engineering</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1519694660614885578">Agent_hellboy</a> built claude-cockpit, a tiny status line + advisor for Claude Code. It shows live session signals such as model, branch, context pressure, token churn, rate limits, and cost, and then suggests useful controls like /compact, /clear, cheaper model switches, skills, subagents, MCP, or graphify when the session starts drifting. It does not automate anything or take over your workflow. It just keeps the important gauges visible and tells you what control might save time or tokens next. <a href="https://github.com/Agent-Hellboy/claude-cockpit">Check it out on GitHub</a> and support a fellow community member. If you have any questions or suggestions, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1519694660614885578">share them in the thread</a>.</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1517562785892929537">Shaurya09272004</a> is building an agentic tool that explains Indian laws in plain language and is looking for people working on similar projects to share ideas, discuss debugging journeys, and go deeper into LLMs. If you are building something similar, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1517562785892929537">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1519045161600946327">Strikerleapgaming</a> is building their own startup and is looking for beta testers. If this interests you, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1519045161600946327">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">Vishacoplayz_27974</a> is recruiting founding board members for AIXelerate, a student-led AI nonprofit. If you&#8217;re a high school student interested in leadership, AI, marketing, operations, outreach, or event planning, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1520159952528998586" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 424w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 848w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!oz3j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png" width="1086" height="1448" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1448,&quot;width&quot;:1086,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1520159952528998586&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 424w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 848w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oz3j!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4e59f327-187c-411a-bab2-f6aa63d625f3_1086x1448.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1520159952528998586">bigbuxchungus</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/improving-our-langgraph-agent-for-real-world-e-commerce-enterprise-validation-business-logic-a63f2607808a?sharedUserId=tai-tech">Improving Our LangGraph Agent for Real-World E-Commerce: Enterprise Validation, Business Logic Guards, and a Multi-Agent Architecture</a> by<a href="https://medium.com/@bessiedelight?source=post_page---byline--a63f2607808a---------------------------------------"> Bessie Delight Kekeli</a></p><p>ShopBot&#8217;s original LangGraph agent trusted every LLM output, so a hallucinated order ID could slip straight into a refund tool call. This follow-up piece rebuilds the system around three key additions: pure-Python Business Logic Gates that validate structured data before any tool runs, a correction loop with a hard retry cap that escalates to humans rather than looping indefinitely, and a Supervisor that splits the single agent into Order, Refund, and Complaints subgraphs.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/building-an-offline-life-memorizer-with-gemini-2-0-qdrant-edge-695ce69d3360?sharedUserId=tai-tech">Building an Offline &#8220;Life Memorizer&#8221; with Gemini 2.0 &amp; Qdrant Edge</a> by<a href="https://satyamsahu671.medium.com/?source=post_page---byline--695ce69d3360---------------------------------------"> Satyam Sahu</a></p><p>Life Memorizer tackles a real problem for smart glasses and wearable capture devices: finding a moment buried in hours of sensory footage without shipping private data to the cloud. The author pairs Gemini Embedding 2, which projects text, images, and audio into a single 3072-dimensional space, with Qdrant Edge, an embedded vector store that requires no server process. The piece walks through schema design, Matryoshka truncation, hybrid search with location filtering, scalar and binary quantization, and mean-pool memory consolidation, then addresses where cloud embedding calls still break the offline promise.</p><p>2. <a href="https://pub.towardsai.net/building-enterprise-grade-security-boundaries-for-llm-calls-oauth-2-0-apim-entra-id-f566476561e9?sharedUserId=tai-tech">Building Enterprise-Grade Security Boundaries for LLM Calls&#8202;&#8212;&#8202;OAuth 2.0 + APIM + Entra ID</a> by<a href="https://medium.com/@organicprogrammer?source=post_page---byline--f566476561e9---------------------------------------"> Chris Bao</a></p><p>Securing LLM endpoints often gets overlooked once a model is deployed, and this piece tackles exactly that gap using Azure API Management, Entra ID, and OAuth 2.0. The author registers a public client application, implements the Device Code flow via MSAL for Jupyter-based authentication, and configures APIM policies that validate tenant ID and client application ID before forwarding requests to a GPT-4o-mini backend. A working demo confirms that only correctly scoped tokens pass validation, while standard Entra ID tokens get rejected outright.</p><p>3. <a href="https://pub.towardsai.net/building-a-slack-ai-agent-with-claudes-web-search-tool-an-end-to-end-walkthrough-4d4c97854660?sk=47e27a237402ca83d7f8de29b12361ce">Building a Slack AI Agent with Claude&#8217;s Web-Search Tool: An End-to-End Walkthrough</a> by<a href="https://tarunaga.medium.com/?source=post_page---byline--4d4c97854660---------------------------------------"> Tarun Agarwal</a></p><p>This article shows how to build a Slack news agent using Bolt&#8217;s Socket Mode, skipping the usual public-URL setup entirely. A single Claude API call handles both retrieval and summarization through the server-side web-search tool, turning topics typed into a slash command into cited, five-item briefings rendered as native Block Kit cards. The piece walks through each layer, from slash-command handling to citation cleanup, and breaks down real cost figures, landing at a few cents per briefing, plus three deployment gotchas worth avoiding.</p><p>4. <a href="https://pub.towardsai.net/building-an-llm-from-scratch-with-pytorch-b211a0d6793d?sharedUserId=tai-tech">Building an LLM from Scratch with PyTorch</a> by<a href="https://medium.com/@bessiedelight?source=post_page---byline--b211a0d6793d---------------------------------------"> Bessie Delight Kekeli</a></p><p>This article walks through building a decoder-only language model from scratch in PyTorch. It covers every component that makes transformers work: character-level tokenization, token and positional embeddings, causal self-attention with Query, Key, and Value projections, multi-head attention, feed-forward layers, and residual connections wrapped in transformer blocks. A full training loop on Tiny Shakespeare ties everything together, followed by a second implementation using PyTorch&#8217;s built-in nn.TransformerDecoder for comparison.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[I keynoted alongside OpenAI and DeepMind]]></title><description><![CDATA[Front-row access to our World's Fair keynote, free]]></description><link>https://learnaitogethernewsletter.substack.com/p/i-keynoted-alongside-openai-and-deepmind</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/i-keynoted-alongside-openai-and-deepmind</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Fri, 26 Jun 2026 14:30:39 GMT</pubDate><enclosure url="https://substackcdn.com/image/youtube/w_728,c_limit/ZRM_TfEZcIo" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>I keynoted AI Engineer World&#8217;s Fair and presented a system Paul Iusztin and I have been building for the past 18 months that turns thousands of personal notes into persistent agent memory that actually compounds over time.</p><p>Still processing it honestly, AI Engineer World&#8217;s Fair is where OpenAI, Anthropic, DeepMind, Cursor, and Hugging Face share what they&#8217;re building, and this year Towards AI is right there with them.</p><p>The recording is premiering right now on the AI Engineer YouTube channel. You can watch the whole thing for free.</p><div id="youtube2-ZRM_TfEZcIo" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ZRM_TfEZcIo&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ZRM_TfEZcIo?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p><strong><a href="https://www.youtube.com/watch?v=ZRM_TfEZcIo">Watch &#8220;Turn 10,994 Notes Into Memory&#8221;</a></strong></p><div><hr></div><p>Quick context, if you haven&#8217;t been following along.</p><p>I have close to <strong>11,000 files</strong> across Obsidian, Readwise, Notion, and Google Drive. Every course, video, meeting recap, and research rabbit hole, it&#8217;s all in there. And yet every time I opened Claude Code or Codex, I started from scratch. Paste the same links. Rebuild the same context. Lose it all when the chat ends.</p><p>So <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Paul Iusztin&quot;,&quot;id&quot;:110559689,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0714d360-396c-4b41-a676-1b58dc1dc5f3_1470x1470.jpeg&quot;,&quot;uuid&quot;:&quot;cacbe8f9-6534-411d-9b85-2880e2e446d6&quot;}" data-component-name="MentionToDOM"></span> and I built something different: <strong>a research wiki that agents maintain for you.</strong> One that grows with every session instead of resetting. No vector DB, no knowledge graph. Just Markdown, YAML, and folders.</p><p><strong>In the talk, you&#8217;ll see:</strong></p><p>&#8212; The full journey from V1 (barely worked) to V3 (actually stuck)</p><p>&#8212; Four Claude Code skills you can install today</p><p>&#8212; Two live demos pulling in GitHub repos and URLs in real time</p><p>&#8212; The full open-source codebase (MIT) you can clone tonight</p><p><strong><a href="https://www.youtube.com/watch?v=ZRM_TfEZcIo">Watch the keynote</a></strong></p><div><hr></div><p><strong>I&#8217;m also at the World&#8217;s Fair in person this Sunday.</strong></p><p>Samridhi, Omar, and I are running an 80-minute hands-on workshop: <strong>&#8220;<a href="https://www.ai.engineer/worldsfair/schedule?session=asn_slot_2026_06_29_workshop_track_09_1420_2026_06_05t11_53_44_628z">Context Engineering in 2026: Compaction, Memory &amp; Cost.</a>&#8221;</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.ai.engineer/worldsfair/schedule?session=asn_slot_2026_06_29_workshop_track_09_1420_2026_06_05t11_53_44_628z" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 424w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 848w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!lBEV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png" width="1456" height="1310" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1310,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:347527,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://www.ai.engineer/worldsfair/schedule?session=asn_slot_2026_06_29_workshop_track_09_1420_2026_06_05t11_53_44_628z&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://learnaitogethernewsletter.substack.com/i/203693075?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 424w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 848w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lBEV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F446dd51d-3623-4771-bfa3-2341aa472623_1707x1536.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Different angle from the keynote: how to keep agent context lean and affordable as you scale. How to compact, what to keep, what to drop.</p><p>If you&#8217;re at the conference or in SF, come say hi. I&#8217;ll be around all day. <a href="https://x.com/Whats_AI?ref=louisbouchard.ai">DM me</a>.</p><p>&#128197; 2:20 pm&#8211;4:20 pm, June 29 &#183; Moscone West</p><p>&#128073; <a href="https://www.ai.engineer/worldsfair/schedule?session=asn_slot_2026_06_29_workshop_track_09_1420_2026_06_05t11_53_44_628z">ai.engineer/worldsfair/schedule</a> </p><div><hr></div><p>The keynote is live right now! Go watch it and send it to someone who&#8217;d get something out of it.</p><p><strong><a href="https://www.youtube.com/watch?v=ZRM_TfEZcIo">Watch &#8220;Turn 10,994 Notes Into Memory&#8221;</a></strong></p><p>&#8212; <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Louis-Fran&#231;ois&quot;,&quot;id&quot;:25443630,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/908f4eb7-550a-461e-8be7-47e6fe247ec1_960x960.png&quot;,&quot;uuid&quot;:&quot;ed7607fc-17d6-40c6-805c-088c2cecec04&quot;}" data-component-name="MentionToDOM"></span></p><p>P.S. Paul, Samridhi, and I also ran a 2-hour workshop at AIE London on building multi-agent systems with MCP servers, recording and code are live too. <a href="https://www.youtube.com/watch?v=mYSRn6PC1mc">Watch it here</a>.</p>]]></content:encoded></item><item><title><![CDATA[LAI #131: A Tool Call Can Succeed and Still Be the Wrong Tool]]></title><description><![CDATA[The agent debugging blind spot, plus Microsoft's no-synthetic-data stance, attention as physics, and 7 layers of LLM cost cuts.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-131-a-tool-call-can-succeed-and</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-131-a-tool-call-can-succeed-and</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 25 Jun 2026 15:02:23 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uhbJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Microsoft just released seven in-house AI models, but the interesting part isn&#8217;t the models, it&#8217;s the 100-page report. They refused to use synthetic data, actively hunted down AI-generated content before training, and essentially dared every other lab to prove they did the same. This week, we walk through the full release and what AI engineers can take from it. We also cover a debugging blind spot most teams miss: your agent&#8217;s tool call can succeed and still be the wrong tool entirely.</p><p>We also cover:</p><ul><li><p>Why prompt caching only covers 30% of your LLM cost problem, and a seven-layer optimization funnel that gets teams to 60&#8211;80% total reduction.</p></li><li><p>Transformer attention reframed as a physics problem: token embeddings as point clouds redistributed through learned transport operators.</p></li><li><p>How continuous batching took GPU utilization from 20&#8211;30% to nearly 100%, and why every major inference framework adopted it.</p></li><li><p>Three memory strategies for LangGraph agents from simple message filtering to rolling summarization that keeps long-running agents affordable.</p></li><li><p>What happens when AI agents don&#8217;t have a semantic layer: refunds counted as revenue, receipts misread as monetary sums, and UPT off by almost half.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-Sl5O7KVVF6M" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;Sl5O7KVVF6M&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/Sl5O7KVVF6M?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Earlier this month, Microsoft AI announced seven MAI models built in-house across reasoning, coding, image, transcription, and voice. But what makes this release worth your attention is not the benchmark performance alone, but the report, which is more transparent than anything I&#8217;ve read from a major lab this year. Microsoft refused to use synthetic data to train their model, then actively hunted down AI-generated content and removed it before training. And they wrote a 100-page report daring every other lab to prove they did the same. This week, in What&#8217;s AI, I will walk through the entire model release, the training process, the RL steps, and share the recipe AI engineers can steal from this. <a href="https://www.louisbouchard.ai/mai-thinking/">Read the full article here</a> or <a href="https://youtu.be/Sl5O7KVVF6M">watch the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>When an agent chooses a tool, don&#8217;t assume it understood the task.</p><p>Sometimes it only matches a word in the user&#8217;s request to a word in the tool name. For example, if the user asks for the &#8220;latest report,&#8221; the agent might still call the search tool even though the report has already been uploaded. Or it might call a database tool when the answer was already in the prompt.</p><p>To debug this, log three things side by side: the user&#8217;s request, the tool the agent picked, and the arguments it used. Then check whether the tool matched what the user actually wanted. Don&#8217;t only look for tool errors. A tool can run successfully and still be the wrong tool.</p><p>If you&#8217;re exploring agent engineering and want to go deeper into tool use and guardrails, our <a href="https://academy.towardsai.net/courses/agent-engineering?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Agent Engineering: Building Multi-Agent Systems</a> course is the cleanest path to building production agents.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1517661981048311890">Matteoturri_50413</a> built an open-source tool to reduce token waste when using AI on large codebases. FolioDux is a lightweight file-mapping standard that lets any AI tool navigate large codebases without reading every file. The AI reads the index first, picks only the relevant files, and ignores everything else. <a href="https://github.com/matteo-turri/foliodux">Check it out on GitHub</a> and support a fellow community member. If you have any questions or feedback, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1517661981048311890">share them in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1518727592008614080" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 424w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 848w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!uhbJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png" width="998" height="1240" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1240,&quot;width&quot;:998,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1518727592008614080&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 424w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 848w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uhbJ!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F347db2eb-c892-46fb-87aa-66b46da3dc8a_998x1240.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>No single option ran away with it; the votes are spread across the board, which tells us something in itself. The pattern from last week holds: career outcomes still rank highest when you add up jobs, interview prep, and getting unstuck on projects. But this time, staying current on tools and workflows tied for first, which suggests that for a lot of you, the value isn&#8217;t just &#8220;help me get a job&#8221;; it&#8217;s &#8220;help me stay relevant once I have one.&#8221;</p><p>If we launched this tomorrow, what&#8217;s the one thing that would make you cancel after month one if it wasn&#8217;t there? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1518727592008614080">Let us know in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1517562785892929537">Shaurya09272004</a> is building an agentic tool that explains Indian laws in plain language and is looking for people working on similar projects to share ideas, discuss debugging journeys, and go deeper into LLMs. If you are building something similar, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1517562785892929537">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1519045161600946327">Strikerleapgaming</a> is building their own startup and is looking for beta testers. If this interests you, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1519045161600946327">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">Vishacoplayz_27974</a> is recruiting founding board members for AIXelerate, a student-led AI nonprofit. If you&#8217;re a high school student interested in leadership, AI, marketing, operations, outreach, or event planning, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1517356376656187403" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 424w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 848w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!9Xz3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png" width="800" height="796" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:796,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1517356376656187403&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 424w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 848w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 1272w, /__u/substackcdn.com/image/fetch/$s_!9Xz3!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe37b8038-ca4f-46b8-9fc1-b234da3117f0_800x796.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1517356376656187403">default_user2004</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/the-prompt-cache-is-not-enough-building-a-full-llm-cost-optimization-strategy-a9c1992a0d7c?sk=846013555cf87dff30560169e61d869e">The Prompt Cache Is Not Enough: Building a Full LLM Cost Optimization Strategy</a> By<a href="https://rizwanhoda.medium.com/?source=post_page---byline--a9c1992a0d7c---------------------------------------"> Rizwanhoda</a></p><p>Prompt caching covers the easy 30% of LLM cost savings, but most teams stop there while their bills quietly climb back up. The author lays out a seven-layer optimization funnel that addresses every cost driver: semantic caching to skip redundant LLM calls entirely; model routing to stop sending simple tasks to expensive models; prompt compression via LLMLingua; batching for async workloads at half the price; and hard output constraints to cut verbose token spend. Teams implementing three or more layers consistently reached 60&#8211;80% total cost reduction.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/the-flow-of-attention-1795b1d6aaf9">The Flow of Attention</a> By<a href="https://gsokimoto1.medium.com/?source=post_page---byline--1795b1d6aaf9---------------------------------------"> GSO1</a></p><p>If transformer attention is reframed as a physics problem, token embeddings enter a language model as a cloud of points in high-dimensional space, and each layer redistributes them via a coupled transport step governed by two learned operators. The piece traces how this additive update rule defines a flow in Wasserstein space, connects it to an idealized gradient flow result from Geshkovski et al., and explains why the actual transformer falls short of that theorem without abandoning its structure. Clustering across depth, the prediction readout, and positional encoding all follow cleanly from this geometric picture.</p><p>2. <a href="https://pub.towardsai.net/continuous-batching-how-to-keep-your-gpu-actually-busy-ffcddebd9ecb">Continuous Batching: How to Keep Your GPU Actually Busy</a> By<a href="https://medium.com/@vedanti220201?source=post_page---byline--ffcddebd9ecb---------------------------------------"> Vedanti</a></p><p>Static batching wastes GPU capacity because the slowest request forces every completed slot to sit idle until the entire batch finishes. Continuous batching fixed this by re-evaluating the batch at every forward pass and immediately slotting in new requests as soon as a slot becomes available. When combined with PagedAttention for dynamic KV cache memory management, the approach raises GPU utilization from 20&#8211;30% to nearly 100%. Every major inference framework, including vLLM, SGLang, and TensorRT-LLM, adopted it.</p><p>3. <a href="https://pub.towardsai.net/langgraph-memory-the-complete-practical-guide-to-managing-what-your-agent-remembers-d865d505a59e">LangGraph Memory: The Complete Practical Guide to Managing What Your Agent Remembers</a> By<a href="https://medium.com/@bessiedelight?source=post_page---byline--d865d505a59e---------------------------------------"> Bessie Delight Kekeli</a></p><p>LangGraph agents face two silent production killers: conversations stored only in RAM vanish on every restart, and context windows grow expensive as message history accumulates. This article covers three memory management strategies, from simple message filtering and token-based trimming to LLM-powered rolling summarization, the most robust option for long-running agents. It also walks through swapping MemorySaver for SqliteSaver or PostgresSaver with a single line change.</p><p>4. <a href="https://pub.towardsai.net/practical-breakdown-of-the-value-of-the-semantic-layer-for-ai-agents-results-of-a-b-testing-5a2c6b130e22">Practical Breakdown of the Value of the Semantic Layer for AI Agents: Results of A/B Testing</a> By<a href="https://medium.com/@grom_65116?source=post_page---byline--5a2c6b130e22---------------------------------------"> Sergey Gromov</a></p><p>Without a semantic layer, models consistently make context errors, such as counting refunds as revenue, interpreting &#8220;Receipts&#8221; as a monetary sum, and miscalculating UPT by almost half. The semantic layer provides metric definitions, join logic, and business rules up front, eliminating the model&#8217;s need to infer corporate conventions. The experiment reframes semantic modeling as foundational infrastructure for enterprise AI agents, not legacy BI tooling.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #130: That Cheap AI API Is Probably Stealing From You]]></title><description><![CDATA[Build your own Claude Code in 100 lines, version-controlling agents, and local LLM inference on a 6GB GPU]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-130-that-cheap-ai-api-is-probably</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-130-that-cheap-ai-api-is-probably</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 18 Jun 2026 15:02:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Bf5_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>There are services offering GPT and Claude API access at 90% off. Researchers tested 400 of them; one drained crypto from a wallet, others injected malicious code or grabbed cloud credentials. This week, I cover how these proxies actually make their money and why the risk is completely different when you&#8217;re routing a coding agent through them instead of just chatting. I also cover how to stop treating ChatGPT like a one-off assistant and start building repeatable workflows around your actual work.</p><p>Inside the issue:</p><ul><li><p>How to rebuild Claude Code&#8217;s architecture from scratch using LangChain&#8217;s deepagents.</p></li><li><p>Why agents need version control the same way software does.</p></li><li><p>A governed architecture for LLM-generated dashboards in Snowflake.</p></li><li><p>How bypassing Ollama and running llama.cpp directly doubles inference throughput.</p></li><li><p>The seven production failure points when scaling WebSockets to millions of connections.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-sMvIMDWVLmQ" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;sMvIMDWVLmQ&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/sMvIMDWVLmQ?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week, in What&#8217;s AI, I dive into a too good to be true offer I found. There are several ultra-cheap API proxy stations where you can get the GPT or Claude API 90% cheaper. But when researchers tested 400 of these dirt-cheap AI API services, they found that one of them quietly drained crypto from a wallet. Others were injecting malicious code, or reaching for cloud credentials they were never given. In this article, I explain how these proxies make their money, why the model you pay for might not be the model you get, and why dropping one in front of a coding agent is a completely different level of risk than asking a chatbot a random question. <a href="https://www.louisbouchard.ai/api-proxy/">Read the full article here</a> or <a href="https://youtu.be/sMvIMDWVLmQ?ref=louisbouchard.ai">watch the full video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>If you ask ChatGPT to rewrite emails, summarize documents, brainstorm ideas, or make something sound more professional, you are only scratching the surface.</p><p>That is useful, but it is still only 1% of what ChatGPT can do. Instead of starting from scratch every single time, use Projects to keep your context, files, examples, and instructions in one place. That way, you do not need to explain your work again every time you open a new chat.</p><p>Here&#8217;s how you can start getting better at AI today: pick one task you do every week, like creating a report, preparing for a meeting, summarizing customer feedback, or planning your priorities. Build a repeatable workflow around it. You can even use ChatGPT Tasks to run recurring prompts, like preparing a weekly briefing or reminding you to review key updates.</p><p>That is how you can start using AI in your actual work.</p><p>If you want more practical tips on how to use AI at work, and not just better prompts, check out our <a href="https://academy.towardsai.net/courses/ai-business-professionals?utm_source=Newsletter&amp;utm_medium=email&amp;utm_id=AItips">Master AI for Work</a> Course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><p>Sign up to receive weekly updates from the community! </p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1515447786269573130">Exquisite_peacock_20933</a> just released Liodon AI SLM-10M, a 9.97M parameter causal language model trained from scratch. While it is not suitable for open-ended generation, it supports multiple-choice QA, log-likelihood ranking, SLM research, and perplexity evaluation. It was trained on 25B tokens and supports a context length of 1,024 tokens. <a href="https://huggingface.co/liodon-ai/slm-10m">Check it out on HuggingFace</a> and support a fellow community member. If you have questions or feedback about the model, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1515447786269573130">share them in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1516113941850492968" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 424w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 848w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!HQga!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png" width="1005" height="1252" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1252,&quot;width&quot;:1005,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1516113941850492968&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 424w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 848w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HQga!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3cb36d17-5556-4001-b0eb-6ec3df074d1d_1005x1252.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We&#8217;re exploring a paid Towards AI membership for people learning AI, becoming AI engineers, or already building AI systems. And we want to know what would actually help you enough to use it every month.</p><p>Most of you are leaning towards career outcomes: internships on real projects, jobs, gigs, referrals, career help, and portfolio coaching.</p><p>For those who picked internships or jobs: are you actively looking right now, or do you want that option to exist for when you&#8217;re ready? That changes what we build first. <a href="https://discord.com/channels/702624558536065165/833660976196354079/1516113941850492968">Let us know in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1516696830191341638/1516696830191341638">Lucazsh</a> is building a social media app for movies and is looking for someone who can help with frontend and app design. If this sounds like your domain, <a href="https://discord.com/channels/702624558536065165/1516696830191341638/1516696830191341638">reach out to them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1515902324852391937">Mrlucasrib</a> is deeply studying a book on deep learning and needs a partner to discuss ideas in the book and study together. If you want to get into deep learning, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1515902324852391937">connect with them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">Vishacoplayz_27974</a> is recruiting founding board members for AIXelerate, a student-led AI nonprofit. If you&#8217;re a high school student interested in leadership, AI, marketing, operations, outreach, or event planning, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1516553865552592978">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1515056574509351083" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 424w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 848w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Bf5_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png" width="1456" height="970" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:970,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1515056574509351083&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 424w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 848w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Bf5_!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F371508ba-8c4d-4cad-ad1e-1877b51583f4_1492x994.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1515056574509351083">drdub_</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/build-your-own-claude-code-using-langchin-a-deepdive-into-langchains-deep-agents-9ef98d98a69a">Build Your Own Claude Code Using LangChain: A Deep Dive Into LangChain&#8217;s Deep Agents</a> By<a href="https://medium.com/@the-sreejith?source=post_page---byline--9ef98d98a69a---------------------------------------"> Sreejith Sreejayan</a></p><p>The article traces Claude Code&#8217;s architecture and rebuilds each piece using LangChain&#8217;s deepagents library. The framework centers on a bare agent loop in which the model either calls tools or returns text, naturally scaling from one-turn answers to multi-step refactors. Around that loop, the harness adds planning via to-do lists, filesystem-backed context management, subagent delegation, OS-level sandboxing for safety, and LangGraph checkpointing for persistence. The full working agent assembles in under a hundred lines.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/version-controlling-your-agents-deployment-rollback-and-safe-promotion-patterns-6b7107dbe82a">Version-Controlling Your Agents: Deployment, Rollback, and Safe Promotion Patterns</a> By<a href="https://medium.com/@MongoDB?source=post_page---byline--6b7107dbe82a---------------------------------------"> MongoDB</a></p><p>Code reviews do not catch how production agents break, and this piece makes a direct case for treating agent configuration with the same discipline applied to software releases. It lays out three failure modes that arise when versioning is absent: live changes without isolation, manual rollback from memory, and silent degradation without an audit trail. It also proposes fixes, such as immutable config snapshots, staged promotion through canary environments, automated release gates, and pinning LLM model versions to prevent silent behavioral drift between provider updates.</p><p>2. <a href="https://pub.towardsai.net/hosting-llm-generated-dashboards-a-governed-snowflake-architecture-2ec8216a8ed9">Hosting LLM-Generated Dashboards: A Governed Snowflake Architecture</a> By<a href="https://medium.com/@mkrishnamallik?source=post_page---byline--2ec8216a8ed9---------------------------------------"> Mkrishnamallik</a></p><p>Governing LLM-generated dashboards inside Snowflake demands more than a smart chat connector. The article proposes a three-file contract separating authoring from hosting: an LLM builds the HTML, a thin Streamlit-in-Snowflake shell wraps it with RBAC, a semantic view enforces verified metric definitions, and every chat turn lands in an audit log. CI deploys per-PR previews with a manual prod gate. The architecture treats the semantic layer as the durable unit of trust, not the dashboard itself, which the author argues is now effectively a throwaway artifact.</p><p>3. <a href="https://pub.towardsai.net/i-can-compress-1000-dimensions-into-2-heres-what-pca-taught-me-f45194b8794b">I Can Compress 1000 Dimensions Into 2&#8202;&#8212;&#8202;Here&#8217;s What PCA Taught Me</a> By<a href="https://anasrazy.medium.com/?source=post_page---byline--f45194b8794b---------------------------------------"> Anas Razy</a></p><p>PCA cuts through the curse of dimensionality by rotating the coordinate axes to maximize the data&#8217;s spread, then projecting everything onto those best-fit directions. The author builds the full intuition from scratch, covering covariance matrices, eigenvectors, eigenvalues, and projection math before implementing a 3D-to-2D reduction in Python using NumPy and Scikit-learn. The piece also explains why libraries prefer SVD over direct eigendecomposition and points to MNIST as a classic test case for visualizing high-dimensional data.</p><p>4. <a href="https://pub.towardsai.net/optimizing-local-llm-inference-on-constrained-hardware-783a14af365d">Optimizing Local LLM Inference on Constrained Hardware</a> By<a href="https://medium.com/@abhinandanmalhotra?source=post_page---byline--783a14af365d---------------------------------------"> Abhinandan Malhotra</a></p><p>Running on a 6GB RTX 3050, the author bypassed Ollama&#8217;s Go-based wrapper and ran llama.cpp directly, doubling token-generation throughput on an 8B-parameter model. Benchmarks across three models and three prompt scenarios quantified the abstraction tax: wrappers conservatively spill KV cache to system RAM as context grows, tanking performance across the PCIe bus. Key tuning levers included matching CPU threads to physical core count, using symmetric KV cache quantization, maximizing GPU layer offloading, and increasing micro-batch size to accelerate prefill-heavy RAG pipelines.</p><p>5. <a href="https://pub.towardsai.net/websockets-at-scale-what-nobody-tells-you-about-managing-millions-of-connections-1f9263e9a95a?sk=7bb31b1c6c99f8163bcf583fda709d87">WebSockets at Scale: What Nobody Tells You About Managing Millions of Connections</a> By<a href="https://rizwanhoda.medium.com/?source=post_page---byline--1f9263e9a95a---------------------------------------"> Rizwanhoda</a></p><p>WebSocket connections drain file descriptors, memory, and routing logic in ways most tutorials never address. This piece walks through seven production failure points: OS file descriptor caps that limit connections to 1,024 by default, per-connection memory overhead that scales brutally, cross-server message routing solved via Redis Pub/Sub, the eventually-consistent presence problem, thundering herd reconnection bugs fixed with jittered exponential backoff, sticky session requirements for load balancers, and the monitoring gap WebSockets create. The final architecture stitches all fixes into a predictable, debuggable production system.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p>]]></content:encoded></item><item><title><![CDATA[LAI #129: Stop Babysitting Your Coding Agent]]></title><description><![CDATA[Loop engineering, prompt caching that cuts costs 72%, LLM observability with Langfuse, and a free AI engineering roadmap]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-129-stop-babysitting-your-coding</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-129-stop-babysitting-your-coding</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 11 Jun 2026 15:03:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!MvC-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>If you&#8217;re spending twenty minutes babysitting your coding agent through prompts, permissions, errors, and retries, you&#8217;re doing the dumb work instead of the thinking. This week, we cover a paradigm called loop engineering that halves the cycle by letting the agent loop with itself. We also cover how tools like Claude Cowork change the way you interact with AI, and why giving it a destination rather than a question makes all the difference.</p><p>We also cover:</p><ul><li><p>How prompt caching cut API costs by 72% without changing a single model or prompt.</p></li><li><p>A full Langfuse walkthrough for production LLM observability.</p></li><li><p>An auto-labeling pipeline that hit 96% recall on underwater shrimp without knowing what a shrimp looks like.</p></li><li><p>Why mean-pooling over generated tokens produces better semantic embeddings than the last token or the prompt.</p></li><li><p>A clinical AI deployment on AWS Inferentia2 that transcribes Bahasa Indonesia speech and generates SOAP notes in under 23 seconds for $1,100/month, fully on-premise.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-NjXIIH9vcv0" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;NjXIIH9vcv0&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/NjXIIH9vcv0?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week, in What&#8217;s AI, I am sharing a new paradigm that changes how you code with Claude or Codex. It cuts down the number of steps to the final output by half. Your current workflow probably looks like this: You write a prompt. Give file access to agents; the agent edits files. You accept all permissions. You run tests. Something breaks. You ask to fix it. Sometimes it works in one go, and sometimes you have to paste the error back or take a screenshot. It tries again. And after twenty minutes, you realize that you are babysitting the exact process you wanted to offload, and you&#8217;re doing the dumb work, not the thinking. This new paradigm I mentioned, called Loop engineering, is the idea that allows you to stop being that babysitter. No need to &#8220;micro-prompt&#8221; them. You can have it work, or loop, with itself instead. <a href="https://www.louisbouchard.ai/loop-engineering/">Read the full article here</a> or <a href="https://youtu.be/NjXIIH9vcv0">watch the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>New AI work interfaces like Claude Cowork are designed to take action. They can read files, create documents, build spreadsheets, format slides, and save finished outputs.</p><p>This changes your interaction with them. A common mistake is using an AI teammate like a chatbot: &#8220;Can you help me analyze this sales data?&#8221; That usually gives you advice, summaries, or a few suggested steps. But if you give AI a clear destination like &#8220;Analyze quarterly-sales.csv. Create an Excel file with revenue by product category and quarter, add a line chart, and save it as Q1-Analysis.xlsx.&#8221;, it shifts the AI from brainstorming partner into a work execution partner.</p><p>We recently did a major upgrade to our Master AI for Work course; it now includes lessons on Claude Cowork and covers all the techniques needed to bring AI into real workplace tasks and team workflows. <a href="https://academy.towardsai.net/courses/ai-business-professionals?utm_source=newsletter&amp;utm_medium=Course&amp;utm_id=AItips">Find more information here</a>.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><p><strong>We just open-sourced a complete AI engineering roadmap for 2026.</strong></p><p>It covers the full path from Python basics to production AI systems, designed to help you become an AI engineer, not just someone who can build an agent demo. No prior ML background required.</p><p>Built by our team at Towards AI, the repo includes beginner Python resources, foundational AI and LLM videos, recommended books, free and paid courses, hands-on coverage of RAG, agents, evals, MCP, deployment, safety, and coding-agent workflows, project ideas, communities, newsletters, people to follow, and job-search advice.</p><p>Every resource is tagged with a difficulty level from 1&#65039;&#8419; to &#128287; so you can start wherever you are.</p><p>By the end, you&#8217;ll have the foundation to work as an AI engineer. Not just building with LLMs, but knowing when to reach for prompting over fine-tuning, when RAG is the right call and when it isn&#8217;t, when to use an agent and when a deterministic workflow will do the job better, when not to use an LLM at all, and how to evaluate, debug, trace, deploy, and monitor the systems you ship.</p><p>There&#8217;s also a built-in prompt you can paste into Claude or ChatGPT, along with your background, time, and goals, to turn the roadmap into a personalized learning plan.</p><p>Everything is free. Paid resources are clearly labeled.</p><p><a href="https://github.com/louisfb01/start-ai-engineering">Start AI Engineering in 2026</a></p><p>Give it a star if it&#8217;s useful, and share it with someone getting into AI engineering this year.</p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p>liteai.me is an AI-powered coding playground where students can use HTML/CSS with PyScript or JavaScript to build real web apps. You can make the apps process data, crunch numbers, and create the hidden logic behind your tool; design the app&#8217;s face; make it interactive; and push it live. <a href="https://liteai.me/#about">Check it out here</a> and support a fellow community member. If you have any feedback, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1513829306470498354">share it in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1511811929352442088" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 424w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 848w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!uqQV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png" width="1117" height="1271" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1271,&quot;width&quot;:1117,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1511811929352442088&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 424w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 848w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 1272w, /__u/substackcdn.com/image/fetch/$s_!uqQV!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b973206-73c4-449c-bfbc-d6a94df44671_1117x1271.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This one was mostly for us; we wanted to understand who&#8217;s actually reading this newsletter so we can keep making it useful for you. The spread is wider than I expected. About 18% of you have little to no coding experience (including the vibe coders), 37% are in the beginner-to-intermediate range, and 43% are professional or senior developers. That&#8217;s a pretty even split between people still learning and people already deep in it, which honestly explains a lot about the kind of questions we get in the community.</p><p>What I&#8217;d love to know next: are most of you eventually trying to get into AI engineering, or are you here for a different reason entirely? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1511811929352442088">Let me know in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1513907357388771400">Pragrr</a> is looking to build a small AI research study group. If you want to build projects and collaborate on research, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1513907357388771400">connect with him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1507700539595423836">Ankukrsngh</a> is working on an edTech startup and is looking for someone who has already deployed AI systems, knows API and backend infrastructure, and understands production workflows. If this seems like a good fit, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1507700539595423836">reach out to him in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1510932827967848520">Imafiax_mafiax</a> is looking for teammates for the AMD Developer Hackathon. If you&#8217;ve shipped AI agents, LLM apps, automations, RAG systems, and want to build something real, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1510932827967848520">reach out to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1504910230373269564" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 424w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 848w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MvC-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png" width="1082" height="1285" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1285,&quot;width&quot;:1082,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1504910230373269564&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 424w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 848w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MvC-!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2a3c6bd9-25e1-4b28-ad2b-f4cb115751d9_1082x1285.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1504910230373269564">drdub_</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/prompt-caching-is-the-most-underrated-cost-optimization-in-llm-systems-53f6df9c76b8?sk=f6c8560caf5cda68b13d9027242f13a8">Prompt Caching Is the Most Underrated Cost Optimization in LLM Systems</a> By<a href="https://satyamsahu671.medium.com/?source=post_page---byline--53f6df9c76b8---------------------------------------"> Satyam Sahu</a></p><p>This article shows how engineers can cut their API spend by 72% without changing a single model or prompt, using prompt caching. With default settings, static content such as system instructions, analysis criteria, and few-shot examples is recomputed on every call, even if it is identical across thousands of requests. Structuring prompts to place stable prefixes first and marking them with cache breakpoints lets providers store the computed KV state and reuse it at one-tenth the normal input-token cost on Anthropic, dramatically reducing per-call expenses at production scale.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/production-grade-agentic-observability-a-complete-langfuse-deep-dive-6c9dee2701d6">Production-Grade Agentic Observability: A Complete Langfuse Deep Dive</a> by<a href="https://medium.com/@glennlenormand?source=post_page---byline--6c9dee2701d6---------------------------------------"> allglenn</a></p><p>Langfuse fills the observability gap in production LLM systems that standard logging tools miss entirely. The piece walks through the platform&#8217;s four core primitives: traces, spans, generations, and scores, then builds a complete customer support agent with retrieval, structured tracing via the @observe decorator, prompt versioning, LLM-as-judge evaluation, and a CI regression gate. It also includes tips on A/B testing prompts without code deploys, and golden dataset comparisons.</p><p>2. <a href="https://pub.towardsai.net/auto-labeling-unknown-objects-a-vision-model-pipeline-for-what-models-cant-see-390b2cc1ea39">Auto-Labeling Unknown Objects: A Vision Model Pipeline for What Models Can&#8217;t See</a> by<a href="https://medium.com/@kynkynkyn?source=post_page---byline--390b2cc1ea39---------------------------------------"> kyon</a></p><p>Auto-labeling unknown objects required fine-tuning models or drowning in hand-drawn bounding boxes. This piece builds a three-phase pipeline using SAM3, Grounding DINO, and Qwen3-VL to generate annotation candidates without knowing the object&#8217;s name. The key insight is to segment first with SAM3, then classify individual crops with Grounding DINO using VLM-generated environment prompts rather than object names. Tested on underwater shrimp, the pipeline captured 96% of ground-truth objects at IoU 0.80, turning annotation from box-drawing into a faster accept-or-reject review.</p><p>3. <a href="https://pub.towardsai.net/the-best-semantic-representation-in-your-llm-is-not-the-last-token-f833e682a854?sk=a8680a716a90d06ff0062aa942ca32d0">The Best Semantic Representation in Your LLM Is Not the Last Token. Not the Prompt. It Is the Mean of What the Model Generated. A 2025 Paper Proved It Across Three Domains</a> by<a href="https://swarnenduiitb2020i.medium.com/?source=post_page---byline--f833e682a854---------------------------------------"> Dr Swarneendu AI</a></p><p>Mean-pooling over the hidden states of generated tokens yields better semantic embeddings than any standard readout strategy, according to Wu et al. (2025). This article tests the approach via Centered Kernel Alignment against ground-truth reference spaces in language, vision, and protein structure, showing it outperforms every standard readout across all three domains. The finding is architectural: generated tokens have processed the full prompt and encode a complete, distributed representation that single-position readouts systematically miss, leaving measurable quality on the table in every deployed RAG and retrieval pipeline.</p><p>4. <a href="https://pub.towardsai.net/deploying-llms-on-aws-inferentia2-for-clinical-workflows-a-production-journey-b009dcbdb518">Deploying LLMs on AWS Inferentia2 for Clinical Workflows: A Production Journey</a> by<a href="https://bukhorimuhammad.medium.com/?source=post_page---byline--b009dcbdb518---------------------------------------"> Bukhori M Aqid</a></p><p>This piece documents every failure and fix encountered while deploying LLMs on AWS Inferentia2 for clinical workflows, serving Qwen3&#8211;8B INT8 and Whisper large-v3-turbo on two inf2 instances.xlarge instances. The author works through five model candidates, hitting CPU RAM limits, NEFF-to-HBM expansion ratios as high as 24.7x, undocumented vLLM scheduling bugs, and a staging buffer regression that killed every model regardless of size. The final stack transcribes Bahasa Indonesia speech and generates SOAP notes in under 23 seconds for $1,100 per month, keeping patient data entirely on-premise.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item><item><title><![CDATA[LAI #128: Developers Using AI Were 19% Slower. They Thought They Were 20% Faster.]]></title><description><![CDATA[The vibe coding perception gap, plus agent retry patterns, DeepSeek V4 internals, and stateful research agents]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-128-developers-using-ai-were</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-128-developers-using-ai-were</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 04 Jun 2026 15:02:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!lr6A!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Coding has fundamentally changed in the last five years, and this week, we trace the full arc from Stack Overflow to agents that write themselves. We also tackle one of the most common agent failures in production: what happens when a retry doesn&#8217;t know how far the last attempt got.</p><p>We also cover:</p><ul><li><p>How DeepSeek V4 stabilizes training at 61 layers deep with a new take on residual connections.</p></li><li><p>A Snowflake Cortex optimization workflow that found a 9-point accuracy gain manual tuning missed.</p></li><li><p>How to keep a research agent&#8217;s state alive across sandbox resets and machine reboots.</p></li><li><p>The mathematical reason Transformers fail at exact arithmetic and why more compute won&#8217;t fix it.</p></li><li><p>A multi-agent research engine with centralized state, parallel execution, and a human checkpoint before the expensive stage.</p></li></ul><p>We also guest-published the first part of a Generative AI Masterclass on Neo Kim&#8217;s System Design Newsletter. If you want to go from using AI to designing the systems behind it, start here.</p><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-ShFn3MG0h8s" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ShFn3MG0h8s&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ShFn3MG0h8s?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>The creator of Claude Code recently admitted that Claude Code has written 100% of his code since November 2025. On the same team, 95% of everything they ship is agent-written. This week in What&#8217;s AI, I trace the full story of how coding changed, from Stack Overflow to Copilot to ChatGPT to Cursor to Claude Code to agents running in parallel while you supervise. But here&#8217;s what makes this more than a timeline: a controlled study found that developers using AI were actually 19% slower on complex tasks, even though they believed they were 20% faster. There is a real perception gap, and how you use these tools is what separates vibe coding from actual engineering. <a href="https://www.louisbouchard.ai/vibe-coding/">Read the full article here</a> or <a href="https://www.youtube.com/watch?v=ShFn3MG0h8s">watch the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>Decide how an agent recovers from failure before you add retries. A retry is easy to add: the step failed, so run it again.</p><p>However, there&#8217;s a risk that the agent often doesn&#8217;t know how far it already got. If it failed halfway through, should it redo the last step, continue from where it stopped, ask a human, or stop entirely?</p><p>The most common real-world result is duplicated work: the same email sent twice, two tickets created, a payment charged again, or a file overwritten after the user already fixed it.</p><p>The proper fix is to track state, not just model calls. After each step, record what the agent intended, what it sent to the tool, what came back, whether it caused a real-world side effect (an email, a charge), and what it&#8217;s allowed to do next. A retry then reads that record and resumes safely, rather than asking the model to &#8220;try again.&#8221;</p><p>If you&#8217;re building agentic AI systems and want to go deeper into tool use, guardrails, and production-grade agent architecture, check out our <a href="https://academy.towardsai.net/courses/agent-engineering?utm_source=LAI128&amp;utm_medium=newsletter&amp;utm_id=AItip">Agentic AI Engineering</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><p>We guest-published a piece on Neo Kim&#8217;s System Design Newsletter, the first part of a Generative AI Masterclass series. It covers everything you need to design GenAI systems from scratch: the model landscape, how training data pipelines actually work, architecture variants (decoder-only, encoder-only, MoE), model selection beyond benchmarks, and the data storage and retrieval layer behind products like ChatGPT and Perplexity.</p><p>If you&#8217;re comfortable using AI but want to understand how to design and build the systems behind it, this is where to start.</p><p><a href="https://newsletter.systemdesign.one/p/generative-ai-system-design">Read it here</a>.</p><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1509627175752700017">Colignum</a> has built LACK, a lightweight, self&#8209;hosted multi&#8209;agent chat platform, basically a Slack for agents. Every code block is automatically saved to a thread&#8209;specific git repo, linted, committed, and followed by moderator feedback in the chat. Users can inject entire folder structures using natural language intent; embeddings find the best-matching template; and commands execute actions such as build, add, and import. <a href="https://github.com/webxos/lack">Check it out on GitHub</a> and support a fellow community member. If you have feedback on how to improve it or questions, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1509627175752700017">share them in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1508174840392060969" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 424w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 848w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!lr6A!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png" width="1340" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1340,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1508174840392060969&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 424w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 848w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 1272w, /__u/substackcdn.com/image/fetch/$s_!lr6A!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbca127-8512-444f-9be5-9cad8c390069_1340x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Claude Code takes 61%, Codex is at 25%. Not really a close race. Codex adoption has picked up since the recent update, but from the poll, most people have already settled on Claude Code as their go-to and treat Codex as something they check in on now and then. A few weeks ago, the community was spread across terminals, IDEs, chat, and custom stacks. Now, narrowed down to just terminal agents, Claude Code has nearly two-thirds.</p><p>The 14% &#8220;Other&#8221; is also interesting for a poll with only three options. There are clearly tools gaining traction that aren&#8217;t yet in the mainstream conversation.</p><p>If you had to uninstall one of them tomorrow, which one would actually mess up your workflow and what would break first? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1508174840392060969">Let&#8217;s talk in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1506480478893641768/1506480478893641768">Shilpitextendmarch22</a> is transitioning into AI engineering and wants to start building projects around it. If you want to collaborate, work together, and build things together, <a href="https://discord.com/channels/702624558536065165/1506480478893641768/1506480478893641768">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1510932827967848520">Imafiax_mafiax</a> is looking for teammates for the AMD Developer Hackathon. If you&#8217;ve shipped AI agents, LLM apps, automations, RAG systems, and want to build something real, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1510932827967848520">reach out to him in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1509451379062870087" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 424w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 848w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 1272w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!pxtS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png" width="499" height="499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:499,&quot;width&quot;:499,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1509451379062870087&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 424w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 848w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 1272w, /__u/substackcdn.com/image/fetch/$s_!pxtS!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faabacf95-bfc0-4ae7-83de-d87cb842351a_499x499.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1509451379062870087">efficientnet_99825</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/deepseek-v4-mhc-explained-3cf9ad8f3fc1">DeepSeek V4 mHC Explained</a> By<a href="https://shaktiwadekar.medium.com/"> Shakti Wadekar</a></p><p>DeepSeek V4&#8217;s mHC (Manifold-Constrained Hyper-Connections) replaces standard residual connections with multiple parallel residual streams, letting each transformer block pass richer, more diverse token representations across layers. The article breaks down three core operations: pre-mapping combines streams before attention or MoE computation, post-mapping redistributes the output back into parallel streams, and residual mapping enables cross-stream mixing with dynamically generated, input-dependent weights. Sinkhorn normalization constrains the mixing matrix to stay doubly stochastic, preventing stream collapse and stabilizing training across DeepSeek V4&#8217;s 61 deep transformer layers.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/building-production-grade-ai-skills-with-snowflake-cortex-ai-function-studio-30b22201d3d1">Building Production-Grade AI Skills with Snowflake Cortex AI Function Studio</a> By<a href="https://snowflakechronicles.medium.com/"> Satish Kumar</a></p><p>Snowflake Cortex AI Function Studio provides enterprise AI teams with a complete lifecycle management system for AI functions, covering creation, evaluation, optimization, governance, and deployment within a single, governed platform. The article walks you through building a production incident analyzer using a multi-signal reasoning prompt and running systematic Genetic-Pareto optimization across six models, resulting in a 9-point accuracy gain and a 26% cost reduction that manual iteration would not have found. It also delivers concrete patterns for RBAC role separation, golden dataset evaluation, canary deployments, drift detection, and rollback procedures.</p><p>2. <a href="https://pub.towardsai.net/i-built-a-stateful-research-agent-inside-a-sandbox-heres-what-the-numbers-actually-looked-like-2004aa378683">I Built a Stateful Research Agent Inside a Sandbox. Here&#8217;s What the Numbers Actually Looked Like</a> By<a href="https://yadavdivy296.medium.com/"> Divy Yadav</a></p><p>Building a stateful research agent exposes a core problem: ephemeral sandboxes reset mid-task, taking collected data with them. This guide shows how to build a research agent on TensorLake to solve this problem, using named sandboxes with suspend-and-resume that preserve full VM state, including running browser sessions, in under a second. It also covers practical benchmarks, real latency numbers per step, a hybrid Playwright-plus-vision browser strategy for handling layout drift, and a filesystem-as-state-store pattern that keeps the agent recoverable across process restarts and machine reboots.</p><p>3. <a href="https://pub.towardsai.net/every-transformer-running-today-is-a-maclaurin-series-in-disguise-1fce412c556b?sk=67481b8bffd91a461c8ae2ccde328e01">Every Transformer Running Today Is a MacLaurin Series in Disguise</a> By<a href="https://swarnenduiitb2020i.medium.com/"> Dr Swarneendu AI</a></p><p>This article traces the mathematical backbone of the Transformer architecture back to 17th-century calculus, arguing that every core component can be expressed as a Maclaurin series. Softmax attention computes ratios of exponential expansions; positional encodings are sine and cosine series; GELU activations compose polynomial approximations; residual connections sum as geometric series. The piece then draws a hard structural conclusion: because Transformers are smooth, analytic functions, they cannot represent non-analytic operations, meaning failures in exact arithmetic and symbolic reasoning are representational limits, not engineering problems more compute can fix.</p><p>4. <a href="https://pub.towardsai.net/beyond-the-chatbot-engineering-a-self-correcting-multi-agent-research-engine-with-langgraph-8e49ae9da849?sk=8368d296723287e1c0ac2eb1735bde9c">Beyond the Chatbot: Engineering a Self-Correcting, Multi-Agent Research Engine with LangGraph and PydanticAI</a> By<a href="https://medium.com/@rakeshacharyadharoori"> Rakesh Dharoori</a></p><p>This piece lays out a comprehensive architecture for an autonomous multi-agent research platform, using LangGraph and PydanticAI to handle enterprise AI workflows that standard RAG pipelines routinely fail to handle. The system routes all agent communication through a centralized, type-safe state machine rather than raw message passing, enabling traceability, deterministic routing, and state checkpointing. Parallel async execution via asyncio.gather cuts sequential latency, while an Auditor agent automatically loops failing data back to researchers. A human-in-the-loop checkpoint suspends execution before the costly synthesis stage, preventing token waste on bad data.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item><item><title><![CDATA[LAI #127: The Infrastructure Layer of AI Is Becoming the Product]]></title><description><![CDATA[Why memory, orchestration, compliance, and runtime architecture now matter more than prompts.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-127-the-infrastructure-layer</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-127-the-infrastructure-layer</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 14 May 2026 15:02:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!bqrj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>This week, we&#8217;re looking at the shift from &#8220;AI demos&#8221; to real systems: agents that need reliable execution, enterprises building durable AI infrastructure, and architectures that survive production constraints.</p><p>We also cover:</p><ul><li><p>A 1-hour practical walkthrough of modern AI engineering, from prompting and RAG to agents, evaluation, and deployment, plus a production lesson on why agent retries quietly break real systems.</p></li><li><p>Why recursive multi-agent systems may depend less on &#8220;more agents&#8221; and more on how agents communicate internally.</p></li><li><p>How enterprises are turning years of operational complexity into an advantage in the emerging &#8220;harness era&#8221; of AI.</p></li><li><p>A practical guide to deploying production-ready agents on Google Cloud using Agents CLI.</p></li><li><p>Why modern AI architecture evolved layer by layer, from LLMs to RAG, agents, and MCP, in response to real system failures.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-ljOwBCdiHmg" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ljOwBCdiHmg&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ljOwBCdiHmg?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week in What&#8217;s AI, I&#8217;m sharing something we normally only do for enterprise teams: a 1-hour deep dive into the foundations of AI engineering you need to know in 2026. We go through AI theory without the math, cover the real limitations of current LLMs, and walk through the production techniques such as prompting, context engineering, RAG, agents, fine-tuning, evaluation, and deployment. If you&#8217;re building with LLMs or planning to, this is the starting point I wish had existed when I began. <a href="https://www.youtube.com/watch?v=ljOwBCdiHmg">Watch the full video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>Agent tool call retries are helpful when a model request times out, a tool fails, or the system loses connection. But retries can cause serious problems if the agent repeats the same action. It might send the same email twice, issue two refunds, create duplicate support tickets, or rerun the same payment step.</p><p>Checking the tool arguments is not enough. The arguments can be valid, but the action may have already happened.</p><p>Give each tool action a unique ID that connects to the user request and the action being taken. Save the action status before running it. Then, before the tool runs again, check whether that same action has already finished. For external APIs, use an idempotency key when they support one. For your own database writes, add a uniqueness rule so the same action cannot be saved twice.</p><p>If you&#8217;re building agentic LLM applications and want to go deeper into tool use, guardrails, and production architecture, check out our <a href="https://academy.towardsai.net/courses/agent-engineering?utm_source=LAIT+&amp;utm_medium=newsletter&amp;utm_id=AItipoftheday">Agentic AI Engineering</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1499884190714564620">_creepycactus</a> built OpenEar, a Mac dictation app. It hears you when you speak, records your meetings, and remembers every word. It runs on your chip, not the cloud, and doesn&#8217;t store any information. It is great for long prompts, meetings, voice journaling, or brain dumps. <a href="https://openear.fyi/#top">Check it out here</a> and support a fellow community member. If you have any questions, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1499884190714564620">ask in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1502605619637784646/1502605619637784646">Lucazsh</a> is building a social media app and is looking for a frontend designer or app designer to improve the UX/UI. If this sounds like something you would enjoy working on, <a href="https://discord.com/channels/702624558536065165/1502605619637784646/1502605619637784646">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/1503003017874636831/1503003017874636831">Muneebbaig.</a> wants to dive deeper into ML, LLMs, and open-source AI research and produce one or two papers based on it. If you want to spend time on research projects or build your own, <a href="https://discord.com/channels/702624558536065165/1503003017874636831/1503003017874636831">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1503756822928949402">Beratgurleer</a> is working on n8n growth systems focused on lead conversion solutions and is looking for partners who can help with the technical side. If you want to enter the space and build something together, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1503756822928949402">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1502161837846954047" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 424w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 848w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!bqrj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png" width="800" height="594" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:594,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1502161837846954047&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 424w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 848w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 1272w, /__u/substackcdn.com/image/fetch/$s_!bqrj!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8b05b115-0070-46d1-99b8-e16dee68d599_800x594.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1502161837846954047">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/groundbreaking-latent-state-recursive-multi-agent-systems-is-2-4x-faster-uses-75-6-cheaper-ddcba480ae02">Groundbreaking Latent State Recursive Multi-Agent Systems is 2.4x Faster Uses 75.6% Cheaper</a> By<a href="https://medium.com/@AiDocTakes"> Mandar Karhade, MD. PhD.</a></p><p>This article walks you through the paper &#8216;Recursive Multi-Agent Systems&#8217; that bundles two ideas: passing latent hidden states between agents instead of text, and running agents in iterative critique loops. Recursive loops are well-established since Self-Refine and Reflexion in 2023. The latent channel is the actual contribution. Text-based recursion plateaus or regresses by round three because agents commit uncertainty to words; latent recursion keeps improving. The paper&#8217;s own data shows the communication channel, not loop depth, is where multi-agent accuracy stops climbing.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/designing-llm-pipelines-for-clinical-data-a-pattern-for-alcoa-and-21-cfr-part-11-compliance-84f8c91d8d28">Designing LLM Pipelines for Clinical Data: A Pattern for ALCOA++ and 21 CFR Part 11 Compliance</a> By<a href="https://medium.com/@pranav.tech"> Pranav Nandan</a></p><p>Shipping LLM features into regulated clinical workflows reveals a recurring architectural failure: the prototype works, but it can&#8217;t answer where the audit trail is, why outputs have changed, or who is accountable. The article outlines a five-layer pipeline treating the LLM as a lossy parser, using constrained decoding to physically prevent hallucinations and deterministic Python for all logic and computation. A conditional judge LLM fires on only 15% of records, and ALCOA++ and 21 CFR Part 11 compliance emerge from the architecture.</p><p>2. <a href="https://pub.towardsai.net/harness-the-era-enterprises-were-built-for-87eff27ccb02?sk=a99069462d82d4cebc6d71743ea0efee">Harness: The Era Enterprises Were Built For</a> By<a href="https://medium.com/@fabioyanezromero"> Fabio Y&#225;&#241;ez Romero</a></p><p>The era of prompt engineering favored lean, fast-moving teams who could ship on instinct. The harness era inverts that advantage. The article traces the arc from model weights through context engineering to the harness, a persistent runtime built on externalized memory, reusable skills, and machine-readable protocols. Enterprises that spent decades documenting procedures, governing data, and stabilizing interfaces now hold exactly the right raw material. The model becomes swappable; the harness becomes the durable intelligence layer the company owns outright.</p><p>3. <a href="https://pub.towardsai.net/how-to-build-and-deploy-ai-agents-on-google-cloud-a-complete-guide-to-agents-cli-665de98a1994?sk=261f9b4f2495093e51740e5bfd86fce6">How to Build and Deploy AI Agents on Google Cloud: A Complete Guide to Agents CLI</a> By<a href="https://medium.com/@pavandhake02"> Pavan Dhake</a></p><p>Google&#8217;s Agents CLI bridges the gap between a working local AI agent and a production deployment on Google Cloud. The tool injects seven bundled skills into coding assistants such as Claude Code, Gemini CLI, and Cursor, automatically handling scaffolding, evaluation, deployment, and observability. This guide walks you through every step with real commands from the official docs.</p><p><a href="https://pub.towardsai.net/llms-rag-agents-mcp-the-ai-evolution-you-must-know-a-visual-explanation-9ee07e421587?sk=1605423b38bed6a069c51e3dd114f5d2">4. LLMs, RAG, Agents, MCP: The AI Evolution You Must Know (A Visual Explanation)</a> By<a href="https://yadavdivy296.medium.com/"> Divy Yadav</a></p><p>This article covers the evolution of AI, from LLMs to MCP. It shows how LLMs evolved in distinct layers, each solving a specific failure. LLMs excelled at language but hallucinated and lacked memory. RAG grounded responses by retrieving relevant documents at query time. Agents extended that into action, using tools to browse, query databases, and call APIs. MCP standardized how models connect to external systems, replacing bespoke integrations with a universal protocol.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item><item><title><![CDATA[LAI #126: From Bard’s Failed Demo to 650 Million Users]]></title><description><![CDATA[Google&#8217;s full AI arc, plus world models, LeCun&#8217;s semantic tube prediction, entropy in LLMs, and Apple&#8217;s attention-to-Mamba bridge.]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-126-from-bards-failed-demo-to</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-126-from-bards-failed-demo-to</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 07 May 2026 15:03:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!o7v2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>This week, we trace how Google moved from a research lead to a product stumble to a distribution-powered comeback. We also cover why letting your agent call tools without validating the arguments first is one of the fastest ways to break things in production.</p><p>Also in the issue:</p><ul><li><p>World models and how they differ from transformers: predicting the next environmental state instead of the next token.</p></li><li><p>LeCun&#8217;s new paper based on the idea that coherent sentences trace geodesics on a semantic manifold, not random token walks.</p></li><li><p>An AI SRE agent that monitors production logs without predefined thresholds by filtering out 99% of noise before the model ever sees it.</p></li><li><p>Apple&#8217;s solution for converting trained transformers into Mamba SSMs without rebuilding from scratch.</p></li><li><p>Entropy explained from Shannon&#8217;s wartime research all the way to why temperature works the way it does in LLMs.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-4hkY-58M3hw" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;4hkY-58M3hw&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/4hkY-58M3hw?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week, in What&#8217;s AI, I trace Google&#8217;s entire trajectory in the AI race. They introduced the Transformer, the architecture behind most frontier LLMs. Then OpenAI turned that research lineage into the consumer product moment Google missed. So they rushed out, and two months after ChatGPT&#8217;s release, they launched their chatbot Bard, but in its very first public demo, it got a basic fact wrong about the James Webb Space Telescope. But fast forward to today, April 2026. Gemini has 750 million monthly active users. Apple chose Gemini to power the next generation of Siri. Salesforce CEO publicly said he switched from ChatGPT to Gemini and is &#8220;not going back.&#8221; In this article, I will go through this entire journey from the ChatGPT shock to the first Gemini model to the acceleration. <a href="https://www.louisbouchard.ai/googleai/">Read the full article here</a>, or if you want to watch the video version of this article, <a href="http://youtube.com/watch?ref=louisbouchard.ai&amp;v=4hkY-58M3hw&amp;feature=youtu.be">find it here</a>.</p><h4>AI Tip of the Day</h4><p>If an agent sends the wrong arguments to a tool, the risk is higher than with other LLM systems: it can refund the wrong order, email the wrong customer, update the wrong record, or run a database action without the necessary constraints.</p><p>To avoid this, treat tool arguments like normal backend inputs. Validate IDs, permissions, account state, allowed ranges, required fields, and irreversible actions before execution. The model can decide which tool to call, but your application should decide whether to allow that call. This keeps the agent useful without making it the authority layer for your product.</p><p><em>If you&#8217;re building LLM applications and want to learn more about tool use, agents, guardrails, and production architecture, and how to make these decisions for any scale, we cover this in our <a href="https://academy.towardsai.net/courses/llm-primer?utm_source=newsletter&amp;utm_medium=LAIT&amp;utm_campaign=2026_subscribers_nostart_buy_glb&amp;utm_id=AItipoftheday">10-hour LLM Fundamental</a> course.</em></p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1501500898789036033">Iampoppyxx</a> has built KVBoost, which allows you to reuse chunk-level KV cache for HuggingFace inference. The kernel implements tiled FlashAttention-2 with online softmax, reducing HBM memory traffic from O(N&#178;) to O(N) during KV encoding. It is applied automatically to every attention module inside the loaded model, no code changes needed. <a href="https://github.com/pythongiant/KVBoost">Check it out on GitHub</a> and support a fellow community member. If you have any thoughts on how to improve it, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1501500898789036033">share them in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1495642225764335636/1495642225764335636">Harry03418</a> is building a production-level automation system using n8n and wants to connect with other builders who want to exchange ideas. If this sounds interesting, <a href="https://discord.com/channels/702624558536065165/1495642225764335636/1495642225764335636">connect with him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/1499772372004110477/1499772372004110477">Aliteralmango_07776</a> is building an Autograd library and needs help with improving it. If you want to collaborate or have suggestions for the project, <a href="https://discord.com/channels/702624558536065165/1499772372004110477/1499772372004110477">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1501404746903191654">Syhslvdr</a> is currently learning Python for data analysis/data science/ML and is looking for study partners. If you want to discuss coding projects or exchange notes, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1501404746903191654">connect with her in the thread</a>!</p><p>4. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1500858127573323980">Khturan</a> has built a project for a hackathon that they want to scale as a startup. If you like building AI-based businesses, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1500858127573323980">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1499252904190804148" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 424w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 848w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 1272w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!o7v2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png" width="793" height="847" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/252431dd-1907-443b-9423-9c30257357f0_793x847.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:847,&quot;width&quot;:793,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1499252904190804148&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 424w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 848w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 1272w, /__u/substackcdn.com/image/fetch/$s_!o7v2!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F252431dd-1907-443b-9423-9c30257357f0_793x847.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1499252904190804148">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/world-models-explained-the-architecture-that-could-replace-transformers-be049336c354">World Models Explained: The Architecture That Could Replace Transformers</a> By<a href="https://medium.com/@yuvalmehta.728"> Yuval Mehta</a></p><p>This article explains the architectural difference between world models and transformers: LLMs predict the next token, while world models predict the next environmental state through a perception module, a dynamics model, and a planning module. The article maps two competing schools: generative models like Genie 3 and Marble that predict at the pixel level, and LeCun&#8217;s JEPA that predicts abstract latent representations.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/tokens-are-breadcrumbs-geodesics-are-the-path-lecun-just-proved-the-difference-matters-5c9592b8222b?sk=fcefbe9d25b1361d7f472b238fd98fb2">Tokens Are Breadcrumbs. Geodesics Are the Path. LeCun Just Proved the Difference Matters</a> By<a href="https://medium.com/@swarnenduiitb2020"> Dr. Swarnendu AI</a></p><p>Hai Huang, Yann LeCun, and Randall Balestriero posted a February 2026 paper called Semantic Tube Prediction, turning a long-standing philosophical argument about LLMs into formal mathematics. The Geodesic Hypothesis posits that coherent sentences trace geodesics on a smooth semantic manifold, and the STP loss enforces that each hidden state remains within a tube around the corresponding geodesic. This article walks through the paper and the mathematics behind it.</p><p>2. <a href="https://pub.towardsai.net/how-im-building-an-ai-sre-agent-to-analyze-production-4f61aab81174">How I&#8217;m Building an AI SRE Agent to Analyze Production</a> By<a href="https://medium.com/@hmquan08011996"> Quan Huynh</a></p><p>The article outlines the architecture of an AI Site Reliability Engineering agent designed to monitor production logs without predefined thresholds. The system inverts the typical approach: regex matching, Drain3-style pattern clustering, and frequency analysis eliminate 99% of log noise before the AI sees anything, keeping costs and false positives low. Three deployment modes, training, shadow, and detect, let teams validate the agent&#8217;s judgment before it creates real incidents. The pattern catalog serves as the agent&#8217;s long-term memory, improving through operator feedback rather than model retraining.</p><p>3. <a href="https://pub.towardsai.net/apple-just-built-a-bridge-between-attention-and-ssms-here-is-the-step-by-step-blueprint-2e445b2b65ae?sk=74b631628334d8d452a57db3bc04c95c">Apple Just Built a Bridge Between Attention and SSMs. Here is the Step-by-Step Blueprint</a> By<a href="https://medium.com/@swarnenduiitb2020"> Dr. Swarnendu AI</a></p><p>Apple researchers propose a practical two-stage route for converting trained attention models into Mamba-style State Space Models. Direct distillation fails because softmax attention and Mamba&#8217;s recurrence represent information in structurally incompatible ways. The fix uses two stages: first, a learnable Hedgehog feature map converts softmax attention to linear attention by directly matching attention patterns. Second, HedgeMamba inherits those parameters as Mamba initialization, replacing the identity decay with a learnable A matrix. The result reduces inference to linear time with only a 0.25-perplexity degradation.</p><p>4. <a href="https://pub.towardsai.net/i-finally-understood-entropy-heres-the-simplest-way-to-think-about-it-even-in-llms-1b0da5a610d7?sk=3efd49ca1ffdefddf733f42af474c7a0">I Finally Understood Entropy &#8212; Here&#8217;s the Simplest Way to Think About It (Even in LLMs)</a> By<a href="https://medium.com/@ashishabraham02"> Ashish Abraham</a></p><p>Entropy sits at the core of how language models learn and generate text, yet most explanations leave readers more confused. This article traces the concept from Shannon&#8217;s wartime communications research, through decision-tree splits, to LLM training objectives. Cross-entropy drives model optimization, perplexity converts it into an interpretable scale, and bits-per-byte frames model quality as a compression ratio. Temperature emerges as a direct dial on output probability distributions, connecting foundational information theory to a concrete generation parameter in LLMs.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item><item><title><![CDATA[LAI #125: Karpathy’s Agent Ran 700 Experiments Without Him]]></title><description><![CDATA[The Context Rut, plus vectorless RAG, why attention is kernel evaluation, and the end of XGBoost&#8217;s decade]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-125-karpathys-agent-ran-700-experiments</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-125-karpathys-agent-ran-700-experiments</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 30 Apr 2026 15:02:51 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!g6fC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>An AI agent just ran 700 experiments on its own, found patterns, and optimized its own performance, no human in the loop. This week, I break down Karpathy&#8217;s Auto Research project and the technical bottleneck it exposes: the Context Rut. We also cover why putting business logic inside a prompt is one of the most common mistakes in production LLM systems and what to do instead.</p><p>We also cover:</p><ul><li><p>How to deploy a full Snowflake Cortex AI dashboard from a single SQL worksheet</p></li><li><p>A 70-year-old theorem that proves every attention score you&#8217;ve ever computed is a kernel evaluation, and why softmax is a mathematical necessity.</p></li><li><p>RAG without a single vector: PageIndex replaces embeddings with a reasoning-driven tree index and scored 98.7% on FinanceBench.</p></li><li><p>The three math ideas that make or break your understanding of backpropagation: derivatives, chain rule, and log-loss.</p></li><li><p>Why XGBoost&#8217;s real bottleneck was never the model, it was the 70&#8211;80% of project time spent flattening relational databases into matrices. Relational Foundation Models skip that layer entirely.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-ky1TkRWA65M" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;ky1TkRWA65M&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/ky1TkRWA65M?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>This week in What&#8217;s AI, I break down the architecture behind this &#8220;Auto Research&#8221; agent and the massive technical hurdle in building agents: The Context Rut. Andrej Karpathy released a project that ran 700 experiments entirely on its own, identifying patterns and optimizing its own performance without human intervention. Which leads to an important question: Are we seeing the first real-world loop of AI making AI better? I answer this and share a few more technical strategies to keep your agentic frameworks lean and efficient. <a href="https://www.youtube.com/watch?v=ky1TkRWA65M">Watch the full video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>If your business logic only exists inside a prompt, you cannot test it, audit it, or guarantee it runs the same way twice. Prompts like &#8220;only approve refunds under $50&#8221; look like rules, but they are suggestions the model can misinterpret, ignore under edge cases, or lose entirely to a prompt injection.</p><p>A better approach is to keep product rules in normal code. The model should extract intent, classify inputs, and generate responses. Your backend should enforce limits, check eligibility, validate account state, and gate irreversible actions.</p><p>For example, the model can extract a refund reason and suggest whether the user is eligible for a refund. But the backend should check the actual purchase history, policy rules, and account state before anything happens.</p><p>We cover this pattern and the broader architecture decisions behind production LLM systems in our <a href="https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev?utm_source=newsletter&amp;utm_medium=TAI&amp;utm_campaign=2026_subscribers_nostart_buy_glb&amp;utm_id=AItipoftheday">Full Stack AI Engineering</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1497991423474012262">Colignum</a> created LACK, a lightweight, self&#8209;hosted multi&#8209;agent chat platform powered by local LLMs (Ollama). It enables autonomous agent collaboration, research (SIPHON), code sharing, direct messaging, and a built&#8209;in cron job manager that wipes and recreates heartbeat jobs for every channel and DM. <a href="https://github.com/webxos/lack">Check it out on GitHub</a> and support a fellow community member. If you have feedback, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1497991423474012262">share it in the channel</a>.</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1497975355322011710" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 424w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 848w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 1272w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!g6fC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png" width="1238" height="1267" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1267,&quot;width&quot;:1238,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1497975355322011710&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 424w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 848w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 1272w, /__u/substackcdn.com/image/fetch/$s_!g6fC!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F68b44986-d6ae-4c0d-b593-22c46d55b3fe_1238x1267.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This looks less like a &#8220;which model wins&#8221; poll and more like a tool stack snapshot. Opus leads, but the comments make it clear most people aren&#8217;t committing to one model; they&#8217;re routing.</p><p>Claude (especially Opus) shows up consistently for coding and structured work, GPT for general use and brainstorming, and Gemini for a second opinion or for tasks like search, explanation, and media. Even the tradeoffs are consistent: Claude is strong but token-heavy, GPT is reliable for everyday use, and Gemini is surprisingly good when you need breadth or external context. The interesting part isn&#8217;t who&#8217;s best, it&#8217;s that people are building workflows across models instead of betting on one.</p><p>If you had to remove one model from your stack today, which one would actually break your workflow the most, and what specific task would you struggle to replace? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1497975355322011710">Let&#8217;s talk in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1497401819016597627/1497401819016597627">Knightinout</a> is looking for a collaborator to discuss generative AI, AI agents, and Machine Learning, including mathematical foundations, over the summer. The goal is to quickly understand the landscape and compound efforts to get certifications faster. If this sounds like a good way to spend the summer, <a href="https://discord.com/channels/702624558536065165/1497401819016597627/1497401819016597627">connect with them in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1497632344092315738">Amanray9414</a> is trying to learn the blend of agentic AI and RL agents and wants to learn further about autonomous agents. If that sounds interesting, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1497632344092315738">reach out to them in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/784477688551178240/1497295849137635458">Beratgurleer</a> is experimenting with no-code automations and AI-based projects and is looking for a business partner. The agency will be based on n8n, and you&#8217;ll learn, brainstorm, develop products together, and solve problems. If this sounds fun, <a href="https://discord.com/channels/702624558536065165/784477688551178240/1497295849137635458">contact them in the thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1496206595527540826" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 424w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 848w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 1272w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!I935!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png" width="810" height="1207" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1207,&quot;width&quot;:810,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1496206595527540826&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 424w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 848w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 1272w, /__u/substackcdn.com/image/fetch/$s_!I935!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08978aa9-d5a8-49a6-aa2c-d389607d8006_810x1207.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1496206595527540826">drdub_</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/building-the-agentic-enterprise-control-plane-on-snowflake-31d4043eb76a">Building the Agentic Enterprise Control Plane on Snowflake</a> By<a href="https://snowflakechronicles.medium.com/"> Satish Kumar</a></p><p>This article walks through the process of building a production-grade Snowflake Cortex AI dashboard, deployed entirely from a single SQL worksheet. The setup covers five enterprise tables, 70 synthetic records, and six Cortex functions, including sentiment analysis, summarization, classification, and LLM inference via COMPLETE. It also uses Python stored procedures with chr() substitution to avoid SQL parser conflicts, writing the full Streamlit app line by line directly to stage, with no external files, no manual steps, and built-in version control through an APP_SOURCE table.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/every-attention-score-you-have-ever-computed-is-a-kernel-evaluation-c17e79d70e9c?sk=b90988e5c595fa1295f7ee6c730332f7">Every Attention Score You Have Ever Computed Is a Kernel Evaluation</a> By<a href="https://medium.com/@swarnenduiitb2020"> Dr. Swarnendu AI</a></p><p>A 70-year-old theorem, Mercer&#8217;s theorem, proves that attention scores in transformers are kernel evaluations. The piece explains the mathematics connecting dot-product attention to Reproducing Kernel Hilbert Spaces, showing that softmax is not an architectural choice but a mathematical necessity: the only normalization that simultaneously satisfies non-negativity, unit-sum, differentiability, and score amplification. It also unifies SVMs, Gaussian Processes, and transformers into a single equation, reframing attention as Nadaraya-Watson kernel regression in a learned representation space.</p><p>2. <a href="https://pub.towardsai.net/vectorless-rag-with-pageindex-implementation-03d4a5c5b528?sk=ababa53c67c8d455438695697fd33ce4">Vectorless RAG with PageIndex [+ Implementation]</a> By<a href="https://deasadiqbal.medium.com/"> Asad Iqbal</a></p><p>PageIndex reframes document retrieval by replacing embeddings with a reasoning-driven tree index that mirrors how human analysts actually navigate complex reports. Rather than approximate similarity matching, an LLM traverses a hierarchical JSON structure to locate exactly the right sections, preserving cross-references, table relationships, and the document hierarchy. Every retrieval decision remains fully traceable, making it audit-ready for regulated environments. Mafin 2.5, built on PageIndex, scored 98.7% on FinanceBench. The implementation walkthrough covers the full three-step pipeline using the DeepSeek-R1 paper, Groq, and the PageIndex SDK.</p><p>3. <a href="https://pub.towardsai.net/ignore-these-3-math-ideas-and-backpropagation-will-never-make-sense-6256b0ba06fa?sk=d32cfb1a9594477f914739244e4f0c36">Ignore These 3 Math Ideas: And Backpropagation Will Never Make Sense</a> By<a href="https://medium.com/@itinasharma"> Tina Sharma</a></p><p>This article breaks down backpropagation into three foundational pieces: derivatives, the chain rule, and log-loss. It shows how derivatives measure a weight&#8217;s sensitivity to error, how the chain rule propagates that signal backward through every layer by multiplying local gradients, and how negative log-probability gives training a principled, information-theoretic target to minimize. Each concept carries real design trade-offs, from vanishing gradients to loss spikes, and the piece reframes all three as part of the vocabulary rather than barriers.</p><p>4. <a href="https://pub.towardsai.net/is-xgboost-gone-how-relational-foundation-models-conquered-500-billion-row-enterprise-data-8dc157650256?sk=d538fef9a670bc74ff8c59615bae5da5">Is XGBoost gone: How Relational Foundation Models Conquered 500 Billion Row Enterprise Data</a> By<a href="https://ampatishan.medium.com/"> Ampatishan Sivalingam</a></p><p>XGBoost ruled enterprise ML for a decade, but its real bottleneck was the engineering machinery required to flatten relational databases into matrices it could read. Feature stores, Airflow DAGs, and aggregation pipelines consumed 70&#8211;80% of ML project time while destroying sequential signals in the process. This article introduces Relational Foundation Models, which eliminate that entire layer by ingesting raw database schemas directly and using schema-aware attention over foreign keys, as well as state-space models for temporal sequences.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item><item><title><![CDATA[LAI #124: The More You Tell a VLM, the Less It Sees]]></title><description><![CDATA[Plus the US-China distillation accusations, KV cache at scale, and three generations of agent pipelines]]></description><link>https://learnaitogethernewsletter.substack.com/p/lai-124-the-more-you-tell-a-vlm-the</link><guid isPermaLink="false">https://learnaitogethernewsletter.substack.com/p/lai-124-the-more-you-tell-a-vlm-the</guid><dc:creator><![CDATA[Louis-François Bouchard]]></dc:creator><pubDate>Thu, 23 Apr 2026 15:01:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!dBYz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Good morning, AI enthusiasts!</p><p>Big one this week: we recently did a 2-hour workshop at the AI Engineer Summit in London, and it went so well that the organizers put the full recording on YouTube. So now you all get it for free.</p><p>Paul Iusztin, Samridhi from Towards AI, and I walked through building an MCP-powered deep research agent from scratch: planning a research strategy, searching the web, analyzing YouTube videos, gathering grounded evidence, filtering for relevance, and synthesizing everything into a cited research artifact. If you&#8217;re an AI engineer looking to build end-to-end agentic systems (or want AI to handle 90% of your writing without sounding like AI), this one&#8217;s for you. <a href="https://www.youtube.com/watch?v=mYSRn6PC1mc">Watch it here</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://www.youtube.com/watch?v=mYSRn6PC1mc" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 424w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 848w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dBYz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png" width="584" height="626" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:626,&quot;width&quot;:584,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://www.youtube.com/watch?v=mYSRn6PC1mc&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 424w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 848w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dBYz!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92fd89f-ff94-4609-8907-7b244ffa4185_584x626.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>We also cover:</strong></p><ul><li><p>How a research pipeline evolved across three generations: from hallucinating Claude Code skills to adversarial subagents to deterministic control flow with the Claude Agent SDK.</p></li><li><p>A workaround for Snowflake Cortex&#8217;s model limitations by wiring it to Groq for sub-second Llama 3 and Mixtral inference.</p></li><li><p>What happens when you need to serve hundreds of concurrent LLM users and the KV cache no longer fits in memory?</p></li><li><p>Why feeding more structured data to VLMs like Gemini actually makes them perform worse; fabricated detections at low confidence override correct ones.</p></li><li><p>The math behind diffusion models, from DDPM&#8217;s forward process through CLIP, DDIM, unCLIP, and Stable Diffusion&#8217;s latent-space compression.</p></li></ul><p>Let&#8217;s get into it!</p><h4>What&#8217;s AI Weekly</h4><div id="youtube2-BkhL4Az100U" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;BkhL4Az100U&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/BkhL4Az100U?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Between February 12 and 23, three major US AI labs have accused Chinese labs of stealing. Anthropic accused three Chinese AI labs of running what they call &#8220;industrial-scale distillation attacks&#8221; on Claude: 24,000 fake accounts and 16 million exchanges, coordinated proxy networks all designed to extract Claude&#8217;s reasoning, coding, and agentic capabilities. OpenAI sent a memo to the U.S. House Select Committee on China, accusing DeepSeek of &#8220;free-riding&#8221; on U.S. frontier-model capabilities. And even Google published a report documenting a 100,000-prompt campaign targeting Gemini&#8217;s reasoning traces.</p><p>So, this week, I will break down what&#8217;s actually being accused, how distillation works technically, the history that got us here, and the hypocrisy behind these stories. <a href="https://www.louisbouchard.ai/ai-distillation/">Read the complete article here</a> or <a href="https://www.youtube.com/watch?v=BkhL4Az100U">watch the video on YouTube</a>.</p><h4>AI Tip of the Day</h4><p>Vector search is great at capturing meaning, but weak at exact matches. Things like product names, error codes, version numbers, or acronyms often get missed. For example, a query like &#8220;GPT-4o API error 429&#8221; might not rank well with pure vector search, even if that exact phrase exists in your data, because embeddings capture overall meaning, not precise tokens.</p><p>Hybrid search addresses this by combining vector search with BM25, a keyword-based method that scores exact-term matches. A common approach is to run both and merge the results using something like Reciprocal Rank Fusion. This gives you both semantic understanding and exact matching, without having to choose between them. Several modern databases, such as Weaviate, Qdrant, and Elasticsearch, support this natively.</p><p>If you&#8217;re building retrieval pipelines and want to go deeper into search strategies, evaluation, and the full production stack, check out our <a href="https://academy.towardsai.net/courses/beginner-to-advanced-llm-dev?utm_source=newsletter&amp;utm_medium=LAI124&amp;utm_campaign=2026_subscribers_nostart_buy_glb&amp;utm_id=AItipoftheday">Full Stack AI Engineering</a> course.</p><p><em>&#8212; Louis-Fran&#231;ois Bouchard, Towards AI Co-founder &amp; Head of Community</em></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://learnaitogethernewsletter.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Sign up to receive weekly updates from the community! </p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div><hr></div><h2>Learn AI Together Community Section!</h2><h3>Featured Community post from the Discord</h3><p><a href="https://discord.com/channels/702624558536065165/983037843532308500/1494525336463999006">G023dev</a> has built HarnessHarvester, a self-learning, self-correcting, LLM-powered harness creation and management system. It features a FAISS-powered RAG, sandboxed execution, and autonomous improvement modes. It also includes two autonomous modes: autolearn (a continuous discovery loop) and autoimprove (an iterative enhancement of existing harnesses). It is designed as an offline-first harness/scaffolding builder, so you get the harness instead of some remote api. <a href="https://github.com/g023/harnessharvest">Check it out on GitHub</a> and support a fellow community member. If you have any questions, <a href="https://discord.com/channels/702624558536065165/983037843532308500/1494525336463999006">connect with him in the thread</a>!</p><h3>AI poll of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/833660976196354079/1496211083944267996" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 424w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 848w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!2xAb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png" width="1364" height="934" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:934,&quot;width&quot;:1364,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/833660976196354079/1496211083944267996&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 424w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 848w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 1272w, /__u/substackcdn.com/image/fetch/$s_!2xAb!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77ab8c32-731e-4d02-a2f8-5a6d2db66fc7_1364x934.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>A lot of you feel Claude (or your current provider) has slipped a bit over time, while a smaller group says it&#8217;s either steady or improving. That split makes sense; these systems change under the hood, and you usually notice it first as &#8220;wait&#8230; why is this suddenly harder than last month?&#8221; especially on the same prompts and tasks.</p><p>When you say it&#8217;s getting worse, what changed for you the most: more refusals/guardrails, weaker reasoning on hard questions, more hallucinations, lower coding accuracy, or a shift in tone (too verbose/too cautious)? <a href="https://discord.com/channels/702624558536065165/833660976196354079/1496211083944267996">Let&#8217;s do something about it in the thread</a>!</p><h3>Collaboration Opportunities</h3><p>The Learn AI Together Discord community is flooded with collaboration opportunities. If you are excited to dive into applied AI, want a study partner, or even want to find a partner for your passion project, <a href="https://discord.gg/wSjEG6TV">join the collaboration channel</a>! Keep an eye on this section, too&#8202;&#8212;&#8202;we share cool opportunities every week!</p><p>1. <a href="https://discord.com/channels/702624558536065165/1495459118356627599/1495459118356627599">Digvijay010606_44180</a> is looking for a study partner to learn data science and stay consistent. If you struggle with it and need an accountability partner as well, <a href="https://discord.com/channels/702624558536065165/1495459118356627599/1495459118356627599">connect with him in the thread</a>!</p><p>2. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1491496380747743386">Lyraluthuin</a> is working on an AI system to create a 3D model from human-drawn lines and is looking to connect with people in computer graphics animation technology to help scope out the remaining work. If this is your space, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1491496380747743386">contact her in the thread</a>!</p><p>3. <a href="https://discord.com/channels/702624558536065165/998978160605540454/1491512976140800001">Augmnt_sh</a> is building an Agent Observability Protocol and is looking for a few people who are building autonomous agents and want to try AOP on their stack. If you want to contribute to the SDK and are interested in the observability/dev tooling space, <a href="https://discord.com/channels/702624558536065165/998978160605540454/1491512976140800001">connect with them in this thread</a>!</p><h3>Meme of the week!</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://discord.com/channels/702624558536065165/830572933197201459/1493781170721259611" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 424w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 848w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_webp, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!fL4R!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png" width="800" height="800" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:800,&quot;width&quot;:800,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:&quot;https://discord.com/channels/702624558536065165/830572933197201459/1493781170721259611&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="/__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_424, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 424w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_848, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 848w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_1272, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!fL4R!, /__u/learnaitogethernewsletter.substack.com/w_1456, /__u/learnaitogethernewsletter.substack.com/c_limit, /__u/learnaitogethernewsletter.substack.com/f_auto, /__u/learnaitogethernewsletter.substack.com/q_auto:good, /__u/learnaitogethernewsletter.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F49c5b385-f778-45ed-be90-8ebf489e2860_800x800.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme shared by <a href="https://discord.com/channels/702624558536065165/830572933197201459/1493781170721259611">bin4ry_d3struct0r</a></p><div><hr></div><h2>TAI Curated section</h2><h3>Article of the week</h3><p><a href="https://pub.towardsai.net/from-claude-code-skills-to-adversarial-subagent-orchestrators-to-the-claude-agent-sdk-three-e1dedfd067b1?sk=e1f65dd6b2424f232e7a39fde5c26c76">From Claude Code Skills to Adversarial Subagent Orchestrators to the Claude Agent SDK: Three Generations of a Production Research Pipeline</a> By<a href="https://medium.com/@richardhightower"> Rick Hightower</a></p><p>Harness engineering separates toy agents from production systems, and this piece traces a research pipeline across three generations. Generation one chained Claude Code skills but hallucinated freely. Generation two added adversarial doer/judge subagents with retry prompts, though the orchestrator often ignored instructions. Generation three moved control flow into Python with the Claude Agent SDK, enforcing deterministic retries, Pydantic-validated structured output, budget caps, and human-in-the-loop escalation.</p><h3>Our must-read articles</h3><p>1. <a href="https://pub.towardsai.net/how-i-built-a-production-grade-open-source-llm-pipeline-using-groq-and-snowflake-25d67d6c71f4">How I Built a Production-Grade Open-Source LLM Pipeline Using Groq and Snowflake</a> By<a href="https://snowflakechronicles.medium.com/"> Satish Kumar</a></p><p>One limitation of Snowflake Cortex is that it supports only a handful of models and blocks External Access Integrations on trial accounts. This article shows how to wire Snowflake to Groq&#8217;s inference API for sub-second Llama 3 and Mixtral calls. It also covers 10 production use cases, including sentiment analysis, PII detection, SQL generation, and anomaly root cause analysis.</p><p>2. <a href="https://pub.towardsai.net/inside-llm-inference-when-the-kv-cache-no-longer-fits-9d696a760257">Inside LLM Inference: When the KV Cache No Longer Fits</a> By<a href="https://medium.com/@aanchalchandani30"> Aanchal Karamchandani</a></p><p>Serving hundreds of concurrent LLM users turns inference into a memory management problem, not a compute one. The piece walks through how production systems tackle KV cache pressure using techniques like PagedAttention&#8217;s non-contiguous block allocation, inspired by OS virtual memory; prefix sharing across users with identical system prompts; prefill caching that retains computed blocks over time; attention-aware eviction policies; and INT8/INT4 quantization. Each technique compounds the others, cutting memory waste from 60&#8211;80% to under 4%.</p><p>3. <a href="https://pub.towardsai.net/vlm-the-more-you-tell-it-the-less-it-sees-c07f33b6a159">VLM: The More You Tell it, The Less it Sees</a> By<a href="https://medium.com/@mraduldubey"> Mradul Dubey</a></p><p>In this article, the author ran controlled experiments showing that feeding structured detection data to VLMs like Gemini 3 Flash actively suppresses visual reasoning on a surveillance clip. The same bounding box information, delivered as text, drawn overlays, or cross-modal references, produced vastly different anchoring bias severity. The results show that fabricated detections at low confidence override correct shoplifting identifications, and that every added metadata field monotonically degrades perception.</p><p>4. <a href="https://pub.towardsai.net/the-physics-of-imagination-visualizing-the-hidden-mathematics-of-diffusion-models-2bff27c226fc?sk=121c2fb91deafd06a78d53da553a0668">The Physics of Imagination: Visualizing the Hidden Mathematics of Diffusion Models</a> By<a href="https://medium.com/@shreyanshjain05"> Shreyansh Jain</a></p><p>This piece walks through Diffusion models, tracing how controlled destruction becomes the foundation for modern machine imagination. The author covers DDPM&#8217;s Brownian-motion forward process and its noise-prediction training objective, CLIP&#8217;s 512-dimensional shared embedding space that gives generators a semantic compass, DDIM&#8217;s SDE-to-ODE shortcut that collapses 1,000 sampling steps into roughly 50, unCLIP&#8217;s two-stage prior-and-decoder architecture behind DALL-E 2, and Stable Diffusion&#8217;s latent-space compression using a lightweight VAE.</p><p>If you want to publish with Towards AI, <a href="https://contribute.towardsai.net/">check our guidelines and sign up</a>. We will publish your work to our network if it meets our editorial policies and standards.</p><p></p>]]></content:encoded></item></channel></rss>