<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Browser Agents on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/browser-agents/</link>
    <description>Recent content in Browser Agents on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 02 Sep 2026 18:45:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/browser-agents/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>From Buttons to Capabilities</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/17-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 17:00:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/17-chapter/</guid>
      <description>&lt;p&gt;A browser agent can operate software by looking at a page, guessing which control matters and simulating a click.&lt;/p&gt;&#xA;&lt;p&gt;That is sometimes necessary. It should not be the preferred contract between two pieces of software.&lt;/p&gt;&#xA;&lt;p&gt;The alternative is a capability: an operation the application exposes deliberately, with a name, description, input schema, result and authority boundary.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-a-button-is-evidence-not-an-interface-contract&#34;&gt;1. A button is evidence, not an interface contract&lt;/h2&gt;&#xA;&lt;p&gt;The text “Book” may represent a purchase, reservation, navigation link or decorative heading. Position and colour help a human infer meaning, but none provides a stable machine contract.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Expose the First WebMCP Tool</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/18-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 17:15:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/18-chapter/</guid>
      <description>&lt;p&gt;Our first WebMCP tool should not send a message, edit a document or buy anything.&lt;/p&gt;&#xA;&lt;p&gt;It should read from the book we control.&lt;/p&gt;&#xA;&lt;p&gt;We will expose &lt;code&gt;search_book&lt;/code&gt;: a bounded operation that finds relevant chapters and passages.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-start-with-a-narrow-contract&#34;&gt;1. Start with a narrow contract&lt;/h2&gt;&#xA;&lt;p&gt;Conceptually, the page registers:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;navigator&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;modelContext&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;registerTool&lt;/span&gt;({&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;search_book&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;description&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Search this book for passages related to a query.&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;inputSchema&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;type&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;object&amp;#34;&lt;/span&gt;,&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;properties&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#a6e22e&#34;&gt;query&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; { &lt;span style=&#34;color:#a6e22e&#34;&gt;type&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;string&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;minLength&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;maxLength&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;300&lt;/span&gt; },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#a6e22e&#34;&gt;limit&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; { &lt;span style=&#34;color:#a6e22e&#34;&gt;type&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;integer&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;minimum&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;maximum&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;required&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; [&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;query&amp;#34;&lt;/span&gt;],&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;additionalProperties&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;false&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  },&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;execute&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; ({ &lt;span style=&#34;color:#a6e22e&#34;&gt;query&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;limit&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;5&lt;/span&gt; }) =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;searchIndex&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;query&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;limit&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;});&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;WebMCP is evolving, so the exact registration surface must be checked against the browser version used for an experiment. The durable architecture is name, description, schema and implementation.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tool Choice Is a Behavioral Problem</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/19-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 17:30:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/19-chapter/</guid>
      <description>&lt;p&gt;A tool can be perfectly implemented and never used correctly.&lt;/p&gt;&#xA;&lt;p&gt;Once an agent sees several capabilities, success depends on a behavioral pipeline:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;discover → select → construct arguments → invoke → interpret result&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A single “task passed” score cannot tell us which stage failed.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-discovery-precedes-choice&#34;&gt;1. Discovery precedes choice&lt;/h2&gt;&#xA;&lt;p&gt;If the tool never enters the agent&amp;rsquo;s effective context, it cannot be selected. Record which registrations were available, filtered, truncated or rejected.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Untrusted Text Meets Executable Authority</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/20-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 17:45:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/20-chapter/</guid>
      <description>&lt;p&gt;Before tools, malicious page text could mislead a model&amp;rsquo;s answer.&lt;/p&gt;&#xA;&lt;p&gt;After tools, the same text may influence an action.&lt;/p&gt;&#xA;&lt;p&gt;Prompt injection becomes an authority problem when untrusted content shares a reasoning context with executable capabilities.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-identify-the-trust-domains&#34;&gt;1. Identify the trust domains&lt;/h2&gt;&#xA;&lt;p&gt;A browser agent may combine:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;user instructions;&lt;/li&gt;&#xA;&lt;li&gt;developer policy;&lt;/li&gt;&#xA;&lt;li&gt;page content;&lt;/li&gt;&#xA;&lt;li&gt;tool descriptions;&lt;/li&gt;&#xA;&lt;li&gt;tool results;&lt;/li&gt;&#xA;&lt;li&gt;prior session state.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;They are all text to the model. They are not equally authoritative.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Put a Human at the Authority Boundary</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/21-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 18:00:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/21-chapter/</guid>
      <description>&lt;p&gt;“Ask the user before doing anything dangerous” sounds like a safety design.&lt;/p&gt;&#xA;&lt;p&gt;It is only a slogan until we define what the user sees, when approval occurs and exactly what the approval authorizes.&lt;/p&gt;&#xA;&lt;p&gt;A useful authority boundary turns a model&amp;rsquo;s proposal into a concrete, validated effect. The user approves that effect—not a vague intention and not the model in general.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;1-classify-effects-before-requesting-permission&#34;&gt;1. Classify effects before requesting permission&lt;/h2&gt;&#xA;&lt;p&gt;Not every tool call deserves the same interruption. Begin with effect classes:&lt;/p&gt;</description>
    </item>
    <item>
      <title>The User, Not the Platform, Controls the Interface</title>
      <link>http://programmer.ie/books/browser-ai-from-first-principles/24-chapter/</link>
      <pubDate>Wed, 02 Sep 2026 18:45:00 +0100</pubDate>
      <guid>http://programmer.ie/books/browser-ai-from-first-principles/24-chapter/</guid>
      <description>&lt;p&gt;A platform decides what enters a feed, how it is ranked, which controls are prominent and which forms of automation are available.&lt;/p&gt;&#xA;&lt;p&gt;The user may select among the settings the platform offers. That is not the same as controlling the interface.&lt;/p&gt;&#xA;&lt;p&gt;Browser AI creates the possibility of another layer: software acting locally, under rules the user can inspect, across sites and independently of one model provider.&lt;/p&gt;&#xA;&lt;p&gt;This chapter assembles the system we have built and defines the limits of that claim.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
