<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI on Chinese Man</title><link>https://chineseman.net/ai/</link><description>Recent content in AI on Chinese Man</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 15 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://chineseman.net/ai/index.xml" rel="self" type="application/rss+xml"/><item><title>Reasoning Models: What "Thinking" and "Effort" Actually Mean</title><link>https://chineseman.net/reasoning-models-explained/</link><pubDate>Wed, 15 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/reasoning-models-explained/</guid><description>&lt;p&gt;You may have noticed newer AI models pause and &amp;ldquo;think&amp;rdquo; before they answer, sometimes showing a
summary of their working-out. These are often called reasoning models, and the pause is a real,
deliberate feature, not a loading spinner. Understanding what it does explains why these models are
better at hard problems, and why they can be slower and more expensive.&lt;/p&gt;
&lt;h2 id="the-old-way-answer-immediately"&gt;
 The old way: answer immediately
 
 &lt;a class="anchor" href="#the-old-way-answer-immediately"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;A standard language model &lt;a href="https://chineseman.net/how-llms-work/"&gt;predicts its answer one chunk at a time&lt;/a&gt; and starts
producing the final response right away. For simple questions this is perfect. But for a problem that
needs several steps of reasoning (a math word problem, a tricky bit of logic, a multi-part coding
task) answering immediately is like being forced to blurt out the answer to a hard question with no
time to think. Sometimes you get it right, often you do not.&lt;/p&gt;</description></item><item><title>What Is MCP (Model Context Protocol)?</title><link>https://chineseman.net/what-is-mcp/</link><pubDate>Wed, 15 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/what-is-mcp/</guid><description>&lt;p&gt;Once you understand that AI agents work by &lt;a href="https://chineseman.net/tool-use-explained/"&gt;using tools&lt;/a&gt;, an obvious problem
appears. Every useful integration (connecting an AI to your files, your GitHub, your calendar, your
database) has to be built. And historically, every AI app built every one of those connections
itself, in its own way. MCP, the Model Context Protocol, is the standard that fixes that.&lt;/p&gt;
&lt;h2 id="the-problem-everyone-reinvents-the-same-plug"&gt;
 The problem: everyone reinvents the same plug
 
 &lt;a class="anchor" href="#the-problem-everyone-reinvents-the-same-plug"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;Say you want AI tools to be able to read your company&amp;rsquo;s wiki. Without a standard, the situation is a
mess:&lt;/p&gt;</description></item><item><title>What Is RAG (Retrieval-Augmented Generation)?</title><link>https://chineseman.net/what-is-rag/</link><pubDate>Wed, 15 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/what-is-rag/</guid><description>&lt;p&gt;A language model only knows what it absorbed during training, frozen at some point in the past. It has
never seen your company&amp;rsquo;s documents, your notes, or anything that happened after its training cutoff.
So how do AI tools answer questions about exactly those things? The most common answer is &lt;strong&gt;RAG&lt;/strong&gt;,
short for retrieval-augmented generation, and the idea is simpler than the name.&lt;/p&gt;
&lt;h2 id="the-problem-rag-solves"&gt;
 The problem RAG solves
 
 &lt;a class="anchor" href="#the-problem-rag-solves"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;Ask a plain model &amp;ldquo;what is our refund policy?&amp;rdquo; and it has two options, both bad. It can admit it does
not know, or it can &lt;a href="https://chineseman.net/why-llms-hallucinate/"&gt;make something up&lt;/a&gt; that sounds like a refund policy. It
was never trained on your policy, so it genuinely cannot know.&lt;/p&gt;</description></item><item><title>Prompt Engineering: How to Actually Get Good Answers</title><link>https://chineseman.net/prompt-engineering-basics/</link><pubDate>Tue, 14 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/prompt-engineering-basics/</guid><description>&lt;p&gt;&amp;ldquo;Prompt engineering&amp;rdquo; sounds like a specialized skill, but it is mostly common sense once you know how
a language model works. Since a model just &lt;a href="https://chineseman.net/how-llms-work/"&gt;continues your text in the most plausible way&lt;/a&gt;,
the way you ask shapes what you get. A vague prompt gives a vague answer. A clear, well-set-up prompt
gives a sharp one. Here are the techniques that actually move the needle.&lt;/p&gt;
&lt;h2 id="be-specific-about-what-you-want"&gt;
 Be specific about what you want
 
 &lt;a class="anchor" href="#be-specific-about-what-you-want"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;The most common mistake is being too vague and expecting the model to read your mind. It cannot. It
fills ambiguity with the most generic plausible answer.&lt;/p&gt;</description></item><item><title>Running AI Models Locally: Open Weights and Quantization</title><link>https://chineseman.net/running-ai-locally/</link><pubDate>Tue, 14 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/running-ai-locally/</guid><description>&lt;p&gt;Most people assume AI only lives in the cloud: you send your text to a company&amp;rsquo;s servers, they run a
giant model, and they send an answer back (and bill you per &lt;a href="https://chineseman.net/what-is-a-token/"&gt;token&lt;/a&gt;). But you can
also run capable models directly on your own computer or phone. No cloud, no per-message cost, nothing
leaving your device. Here is how that works and when it is worth doing.&lt;/p&gt;
&lt;h2 id="open-weight-models"&gt;
 Open-weight models
 
 &lt;a class="anchor" href="#open-weight-models"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;The models you can run yourself are called &lt;strong&gt;open-weight&lt;/strong&gt; models. The &amp;ldquo;weights&amp;rdquo; are the giant set of
numbers that make up a trained model, the thing it learned during training. When a lab releases those
weights openly, anyone can download them and run the model on their own hardware, instead of it living
locked on a company&amp;rsquo;s servers.&lt;/p&gt;</description></item><item><title>Why LLMs Hallucinate, and How to Reduce It</title><link>https://chineseman.net/why-llms-hallucinate/</link><pubDate>Tue, 14 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/why-llms-hallucinate/</guid><description>&lt;p&gt;The most important thing to know about AI is that it will sometimes state something false with total
confidence. A made-up statistic, a citation to a paper that does not exist, an API function that was
never real. This is called hallucination, and it is not a bug that will be patched away next month. It
comes straight from how these models work, and understanding why is the key to working around it.&lt;/p&gt;</description></item><item><title>How Large Language Models Actually Work</title><link>https://chineseman.net/how-llms-work/</link><pubDate>Mon, 13 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/how-llms-work/</guid><description>&lt;p&gt;Every AI chatbot, coding assistant, and agent you have used is built on a large language model, or
LLM. They can feel like they understand you, reason with you, and know things. Underneath, they are
doing something far simpler than that impression suggests, and understanding what it is explains most
of their strange behavior.&lt;/p&gt;
&lt;h2 id="the-one-sentence-version"&gt;
 The one-sentence version
 
 &lt;a class="anchor" href="#the-one-sentence-version"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;An LLM predicts the next chunk of text, given everything before it, over and over.&lt;/p&gt;</description></item><item><title>What Is a Token, and Why It Shows Up on Your Bill</title><link>https://chineseman.net/what-is-a-token/</link><pubDate>Mon, 13 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/what-is-a-token/</guid><description>&lt;p&gt;If you spend any time around AI, you will keep bumping into the word &amp;ldquo;token.&amp;rdquo; The context window is
measured in tokens. Pricing is per token. Bills go up when you use more of them. It is the basic unit
everything in AI is counted in, and it is worth five minutes to understand.&lt;/p&gt;
&lt;h2 id="what-a-token-actually-is"&gt;
 What a token actually is
 
 &lt;a class="anchor" href="#what-a-token-actually-is"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;A token is a chunk of text. Not quite a word, not quite a letter, but something in between. Before a
language model can work with your text, it chops it into these chunks, because the model does not
operate on raw letters or whole words, it operates on tokens.&lt;/p&gt;</description></item><item><title>Context Windows, and Why AI Agents Forget</title><link>https://chineseman.net/context-windows-explained/</link><pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/context-windows-explained/</guid><description>&lt;p&gt;If you have used an AI tool for a long session, you have probably felt it start to slip: it forgets
something you said earlier, loses track of a decision, or repeats itself. That is not the model being
dim. It is running into the &lt;strong&gt;context window&lt;/strong&gt;, the single most important constraint to understand
about how these tools behave.&lt;/p&gt;
&lt;h2 id="what-a-context-window-is"&gt;
 What a context window is
 
 &lt;a class="anchor" href="#what-a-context-window-is"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;A language model can only consider so much text at one time. That maximum is its context window, and
everything the model is working with has to fit inside it: your instructions, the entire conversation
so far, any files or data it has been given, and the results of every tool it has used.&lt;/p&gt;</description></item><item><title>Tool Use and Function Calling, Explained</title><link>https://chineseman.net/tool-use-explained/</link><pubDate>Sat, 11 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/tool-use-explained/</guid><description>&lt;p&gt;Here is a puzzle. A language model does exactly one thing: it produces text. It cannot search the
web, read a file, or query a database. And yet AI agents do all of those things constantly. How?&lt;/p&gt;
&lt;p&gt;The answer is &lt;strong&gt;tool use&lt;/strong&gt; (also called function calling), and it is the mechanism that underpins
every agent. Once it clicks, the whole idea of agents stops seeming magical. The model still only
produces text. The trick is what that text is allowed to say.&lt;/p&gt;</description></item><item><title>How Coding Agents Work Under the Hood</title><link>https://chineseman.net/how-coding-agents-work/</link><pubDate>Fri, 10 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/how-coding-agents-work/</guid><description>&lt;p&gt;Coding agents (the tools that read your codebase, write changes, and run your tests) are the most
mature kind of AI agent, and the most useful window into how agents work in general. Underneath the
polish, a coding agent is just &lt;a href="https://chineseman.net/the-agent-loop/"&gt;the agent loop&lt;/a&gt; pointed at a specific set of tools.
Here is what those tools are and how the whole thing hangs together.&lt;/p&gt;
&lt;h2 id="the-tools-a-coding-agent-has"&gt;
 The tools a coding agent has
 
 &lt;a class="anchor" href="#the-tools-a-coding-agent-has"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;An agent can only affect the world through its tools, so the tool set defines what a coding agent can
do. The common ones are exactly what a developer uses:&lt;/p&gt;</description></item><item><title>The Agent Loop: How AI Agents Actually Work</title><link>https://chineseman.net/the-agent-loop/</link><pubDate>Thu, 09 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/the-agent-loop/</guid><description>&lt;p&gt;If you understand one thing about how AI agents work, make it this: the &lt;strong&gt;agent loop.&lt;/strong&gt; It is the
single mechanism that turns a language model from a thing that answers questions into a thing that
gets work done. Once you see the loop, agents stop being mysterious.&lt;/p&gt;
&lt;h2 id="the-loop-in-one-paragraph"&gt;
 The loop in one paragraph
 
 &lt;a class="anchor" href="#the-loop-in-one-paragraph"&gt;#&lt;/a&gt;
 
&lt;/h2&gt;
&lt;p&gt;An agent runs in a cycle. The model looks at the current situation and the tools available to it. It
either produces a final answer, in which case the loop ends, or it decides to use a tool. If it calls
a tool, your program runs that tool for real, captures the result, and hands the result back to the
model. The model looks at the new situation, including what the tool just returned, and decides
again. This repeats until the model has nothing left to do and gives its final answer.&lt;/p&gt;</description></item><item><title>What Is an AI Agent?</title><link>https://chineseman.net/what-is-an-ai-agent/</link><pubDate>Wed, 08 Jul 2026 00:00:00 +0000</pubDate><guid>https://chineseman.net/what-is-an-ai-agent/</guid><description>&lt;p&gt;&amp;ldquo;AI agent&amp;rdquo; is one of those phrases that gets used constantly and explained rarely. Strip away the
hype and it is a simple idea: an agent is a language model that has been given tools and a goal, and
that works toward the goal in steps instead of answering in a single reply.&lt;/p&gt;
&lt;p&gt;That one difference, acting in steps versus answering once, is the whole distinction. Everything else
is detail.&lt;/p&gt;</description></item></channel></rss>