<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Uri</title>
    <description>The latest articles on DEV Community by Uri (@uriv).</description>
    <link>https://dev.to/uriv</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4265627%2Fe68e5347-4f29-4213-9610-148af5944368.jpg</url>
      <title>DEV Community: Uri</title>
      <link>https://dev.to/uriv</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uriv"/>
    <language>en</language>
    <item>
      <title>We Need a Benchmark for Code Maintainability</title>
      <dc:creator>Uri</dc:creator>
      <pubDate>Fri, 27 Nov 2026 17:53:34 +0000</pubDate>
      <link>https://dev.to/uriv/we-need-a-benchmark-for-code-maintainability-20m2</link>
      <guid>https://dev.to/uriv/we-need-a-benchmark-for-code-maintainability-20m2</guid>
      <description>&lt;p&gt;From human engineering experience, code maintainability matters a lot. Every team that has lived with a codebase for more than a few months has felt the compounding cost of tangled abstractions, global state, and fragile test setups.&lt;/p&gt;

&lt;p&gt;With coding agents, that assumption is suddenly up for debate. This came up again in a &lt;a href="https://x.com/kerckhove_ts/status/2126327209883316618" rel="noopener noreferrer"&gt;discussion on X&lt;/a&gt; where Tom Sydney Kerckhove pushed back on the claim that unmaintainable code is not a problem when only agents are maintaining it.&lt;/p&gt;

&lt;p&gt;The reason this argument keeps resurfacing is simple: LLMs can brute-force bad code. An agent can scan thousands of lines, trace side effects across poorly structured modules, and patch its way past a bug that would slow a human down for hours. That problem-solving capacity hides the drag. Even when a codebase suffers from recurring bugs caused by patterns like mocking via monkey-patching, an agent often powers through the failure instead of refusing to touch the file.&lt;/p&gt;

&lt;p&gt;Because the cost is obscured rather than obvious, intuition alone will not settle the debate. Until we actually prove and measure how much maintainability matters for LLMs, the doubt remains.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Concrete Benchmark for Maintainability
&lt;/h2&gt;

&lt;p&gt;Most coding benchmarks today measure one-shot or greenfield implementation: take a prompt, pass a test suite, stop. Even repository-level bug-fixing benchmarks evaluate isolated patches on existing open-source repos without connecting how a codebase was built to how expensive it is to change later.&lt;/p&gt;

&lt;p&gt;To measure maintainability directly, we need a two-stage benchmark that holds the &lt;strong&gt;same model and harness constant&lt;/strong&gt; across every run and tracks what happens after v1 ships:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv263i95v80470b1viuav.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv263i95v80470b1viuav.jpg" alt="Benchmarking Code Maintainability" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 1: Build (v1)
&lt;/h3&gt;

&lt;p&gt;Give the agent a clear product and technical specification and ask it to implement v1 from scratch. Verify correctness against a suite of hidden tests that the agent never sees during implementation. Record three metrics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tokens&lt;/strong&gt; (input, cached, and output)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Wall-clock time&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Total cost&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The output of Stage 1 is a working v1 codebase.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage 2: Parallel Augment and Fix Tracks
&lt;/h3&gt;

&lt;p&gt;From that exact v1 codebase, fork two independent evaluation tracks in parallel so neither track contaminates the other:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2a. Augment:&lt;/strong&gt; Give a fresh session of the same agent a v2 feature specification built on top of v1, verified against hidden v2 tests (plus the original v1 regression suite). Measure tokens, time, and cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2b. Fix:&lt;/strong&gt; Take a clean copy of the v1 codebase, inject a set of LLM-planted bugs—subtle logic regressions, state mismatches, or broken edge cases that fail targeted tests—and task a fresh session of the same agent with finding and fixing them. Measure tokens, time, and cost.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By keeping the model and harness fixed across Stage 1, 2a, and 2b, the variable under test is no longer "which agent is smarter." The variable under test is the maintainability of the resulting code and the stack underneath it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparing Libraries, Languages, and Frameworks
&lt;/h2&gt;

&lt;p&gt;Once you have a repeatable Build -&amp;gt; (Augment || Fix) pipeline, you can run the exact same v1 spec, v2 feature, and bug-planting protocol across different technical choices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend frameworks:&lt;/strong&gt; Does a codebase written in React, Svelte, or Lit stay cheaper to extend and debug once it grows past v1?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend and data layers:&lt;/strong&gt; How does an app built on InstantDB compare to the same app built on Supabase when adding v2 requirements or fixing state and permission bugs?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Languages and type systems:&lt;/strong&gt; How much do strict static types, compiler diagnostics, and explicit boundaries reduce Stage 2 tokens and latency compared to dynamic stacks?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testing practices:&lt;/strong&gt; What happens to Stage 2b when a codebase relies on monkey-patching mocks versus clean dependency injection and integration tests?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A framework or library that looks fast during Stage 1 scaffolding may carry a steep tax in Stage 2a and Stage 2b. Conversely, a stack with slightly higher upfront ceremony might pay for itself the first time an agent has to add a feature or chase down a regression. Measuring all three stages separates initial generation speed from long-term maintainability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Extending to a Cross-Model Matrix
&lt;/h2&gt;

&lt;p&gt;Holding the model and harness constant isolates the stack. A natural next step is to relax that constraint and run a cross-model matrix: build v1 with Model A, then run Stage 2a (Augment) and Stage 2b (Fix) with Model B.&lt;/p&gt;

&lt;p&gt;That matrix answers practical questions teams already face. Does a frontier model write code that a smaller, cheaper model can safely extend and debug? Or do some models produce clever, tightly coupled implementations that only the same frontier model can untangle later?&lt;/p&gt;

&lt;h2&gt;
  
  
  Why We Care About This
&lt;/h2&gt;

&lt;p&gt;We think about this problem constantly while building &lt;a href="https://prompt2bot.com" rel="noopener noreferrer"&gt;prompt2bot&lt;/a&gt;, a platform for hiring AI agents for various purposes. When agents write skills, integrations, and automations that keep running and evolving over months, day-one generation is only the beginning. The enduring cost is every follow-up change, new requirement, and bug fix after that.&lt;/p&gt;

&lt;p&gt;We already have plenty of benchmarks for whether an agent can write code. It is time we had one for whether the code it writes can actually be maintained.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>softwareengineering</category>
      <category>llm</category>
    </item>
    <item>
      <title>Why AI agents across different harnesses need their own encrypted chat network</title>
      <dc:creator>Uri</dc:creator>
      <pubDate>Fri, 27 Nov 2026 07:19:15 +0000</pubDate>
      <link>https://dev.to/uriv/why-ai-agents-across-different-harnesses-need-their-own-encrypted-chat-network-1mp4</link>
      <guid>https://dev.to/uriv/why-ai-agents-across-different-harnesses-need-their-own-encrypted-chat-network-1mp4</guid>
      <description>&lt;p&gt;Most multi-agent setups today break down the moment agents leave a single framework. One agent runs locally inside an MCP client, another runs in CI, a third runs on a Cloudflare Worker or background server, and a human still wants to drop into the same group chat from their phone or laptop.&lt;/p&gt;

&lt;p&gt;There is a temptation to wire this on top of WhatsApp, Telegram, or Slack, and each one hits a wall pretty quickly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;WhatsApp Business API&lt;/strong&gt; requires phone numbers, Meta review, per-conversation fees, and terminates encryption at the API/BSP layer. Multi-bot group chats are blocked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Telegram&lt;/strong&gt; lets you create bots quickly, but bots cannot see other bots in group chats, and bot/group chats are not end-to-end encrypted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slack and Discord&lt;/strong&gt; lock every participant into a closed workspace and keep everything in plaintext on vendor servers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://aliceandbot.com" rel="noopener noreferrer"&gt;Alice&amp;amp;Bot&lt;/a&gt; is an open-source (MIT) alternative built around a simpler model: humans and AI agents are the same kind of participant on an end-to-end encrypted chat network.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keypair identities instead of phone numbers
&lt;/h3&gt;

&lt;p&gt;Creating an identity is one function call with zero phone numbers, approval queues, or per-message fees. Every human and every agent gets an RSA-2048 keypair (plus an optional public &lt;code&gt;@handle&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;When a group chat starts, the client generates a fresh AES-256-GCM symmetric key and wraps it separately with each participant's RSA-2048-OAEP public key. Every message binds the sender's RSA signature, &lt;code&gt;conversationId&lt;/code&gt;, and timestamp inside the ciphertext, so the relay only ever sees encrypted blobs.&lt;/p&gt;

&lt;p&gt;Outgoing webhooks are signed with Ed25519 (&lt;code&gt;verifyWebhookOrigin&lt;/code&gt;) with freshness and replay checks, so a webhook server can verify origin before decrypting payloads with its own private key.&lt;/p&gt;

&lt;h3&gt;
  
  
  30-second multi-agent group chat (Node.js or Deno)
&lt;/h3&gt;

&lt;p&gt;Install from npm (&lt;code&gt;npm install alice-and-bot&lt;/code&gt;) or JSR (&lt;code&gt;deno add jsr:@alice-and-bot/core&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;chatWithMeLink&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;createConversation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;createIdentity&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;getDecryptedMessages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;sendMessage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"alice-and-bot"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;human&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;researcher&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reviewer&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="nf"&gt;createIdentity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Alice"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nf"&gt;createIdentity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Research Agent"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nf"&gt;createIdentity&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Reviewer Agent"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;conversationId&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;createConversation&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;human&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;publicSignKey&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;researcher&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;publicSignKey&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;reviewer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;publicSignKey&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"Launch Review"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;human&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;sendMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;credentials&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;human&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;conversation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;conversationId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Check the release notes before we ship."&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;sendMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;credentials&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;researcher&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;conversation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;conversationId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Links and provenance look good."&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;history&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getDecryptedMessages&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;conversationId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;credentials&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;human&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;history&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Open a direct encrypted chat with the agent in the web/mobile app:&lt;/span&gt;
&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;chatWithMeLink&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;researcher&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;publicSignKey&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your agent runs behind a webhook, there is also a zero-framework Node.js server template in &lt;a href="https://github.com/uriva/alice-and-bot/blob/main/example/webhook-bot.mjs" rel="noopener noreferrer"&gt;&lt;code&gt;example/webhook-bot.mjs&lt;/code&gt;&lt;/a&gt; that verifies Ed25519 signatures, decrypts messages, shows inline progress spinners, and replies.&lt;/p&gt;

&lt;h3&gt;
  
  
  Desktop + mobile app, embeddable UI, and MCP
&lt;/h3&gt;

&lt;p&gt;A protocol alone is not enough if humans still have to use a clunky UI. Out of the box, Alice&amp;amp;Bot includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Desktop and mobile PWA&lt;/strong&gt; at &lt;a href="https://aliceandbot.com/chat" rel="noopener noreferrer"&gt;aliceandbot.com/chat&lt;/a&gt; with voice messages, live voice calls, encrypted push notifications, attachments, markdown, and keyboard shortcuts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embeddable web chat UI&lt;/strong&gt;: drop in a ChatGPT-style React &lt;code&gt;&amp;lt;Chat /&amp;gt;&lt;/code&gt; / Lit component from &lt;code&gt;alice-and-bot/components&lt;/code&gt;, or add a floating side widget to any HTML page with one script tag.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-install MCP server&lt;/strong&gt; (&lt;code&gt;npx -y alice-and-bot-mcp&lt;/code&gt;, published in the Official MCP Registry as &lt;code&gt;io.github.uriva/alice-and-bot&lt;/code&gt;) so you can pair any MCP-compatible agent or app with your phone via QR code over E2E encrypted chat.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"aliceandbot"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"alice-and-bot-mcp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Links
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Website &amp;amp; messenger: &lt;a href="https://aliceandbot.com" rel="noopener noreferrer"&gt;aliceandbot.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Docs &amp;amp; API reference: &lt;a href="https://aliceandbot.com/docs" rel="noopener noreferrer"&gt;aliceandbot.com/docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;MCP setup guide: &lt;a href="https://aliceandbot.com/mcp" rel="noopener noreferrer"&gt;aliceandbot.com/mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Comparison vs WhatsApp, Telegram, Slack: &lt;a href="https://aliceandbot.com/compare" rel="noopener noreferrer"&gt;aliceandbot.com/compare&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source code (MIT, self-hostable on Cloudflare Workers): &lt;a href="https://github.com/uriva/alice-and-bot" rel="noopener noreferrer"&gt;github.com/uriva/alice-and-bot&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agents are already distributed across machines, runtimes, and tools. Their messaging layer should be open, encrypted, and harness-agnostic too.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>opensource</category>
      <category>cloudflare</category>
    </item>
    <item>
      <title>What actually happens when you run a shared email domain for AI agents</title>
      <dc:creator>Uri</dc:creator>
      <pubDate>Wed, 25 Nov 2026 23:18:37 +0000</pubDate>
      <link>https://dev.to/uriv/what-actually-happens-when-you-run-a-shared-email-domain-for-ai-agents-3mi7</link>
      <guid>https://dev.to/uriv/what-actually-happens-when-you-run-a-shared-email-domain-for-ai-agents-3mi7</guid>
      <description>&lt;p&gt;Giving an AI agent an email address looks simple on paper. Spin up an SMTP relay, hook up an inbound webhook, hand the agent an API key, done.&lt;/p&gt;

&lt;p&gt;In practice, the plumbing takes an afternoon. Keeping the domain from getting blacklisted takes most of the real engineering.&lt;/p&gt;

&lt;p&gt;Most builders hit the same three bad options first:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Give the agent your personal Gmail. Now a prompt injection or a stray tool call has access to your password resets, billing, and identity.&lt;/li&gt;
&lt;li&gt;Buy a fresh domain per agent. Now you are managing DNS, SPF, DKIM, and cold-start warmup every time you spin up a new worker.&lt;/li&gt;
&lt;li&gt;Use a disposable burner service. Almost every service that matters (GitHub, Linear, Slack, Stripe) already blocklists burner domains, so OTPs never arrive.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A shared domain with managed reputation solves this for developers, because one API call gives an agent a working address with zero DNS setup. The catch is that the moment your shared domain has decent deliverability, spammers and burner-account farmers show up immediately.&lt;/p&gt;

&lt;h3&gt;
  
  
  The two abuse vectors that show up fast
&lt;/h3&gt;

&lt;p&gt;Running &lt;a href="https://theagentmail.net" rel="noopener noreferrer"&gt;AgentMail&lt;/a&gt; (our MIT open-source agent email service on &lt;code&gt;@theagentmail.net&lt;/code&gt;) surfaced two distinct abuse patterns right away:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Outbound phishing and unsolicited cold blasts.&lt;/strong&gt; Someone creates a free trial account, names the org something generic, and immediately tries to blast cold outreach or phishing templates impersonating Meta or SaaS login alerts. If even a handful of those leave the server, spam complaints tank inbox placement for every legitimate agent on the domain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free burner OTP farming.&lt;/strong&gt; Automated scripts sign up for free trials just to receive signup and verification codes for other platforms, burning through addresses with zero intention of paying.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  What actually stops it without breaking legit agents
&lt;/h3&gt;

&lt;p&gt;Rate limits alone do not work, because ten phishing emails are enough to hurt domain reputation. Static keyword lists help for obvious templates, but spammers rephrase constantly.&lt;/p&gt;

&lt;p&gt;The setup that has worked well in production layers four checks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Phone verification on free trials&lt;/strong&gt; so spinning up 50 throwaway orgs is not free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blocking inbound signup, OTP, and account-activation emails on free trials.&lt;/strong&gt; Free trials still get full normal send/receive and webhooks so developers can test their integration, while OTP/signup verification emails unlock as soon as an org adds a $5 prepaid deposit (which covers 5 mailbox-months at $1/mo and never expires).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A real-time AI outbound spam and phishing classifier&lt;/strong&gt; that inspects every outbound email before it leaves the server. Legitimate 1:1 agent correspondence, deploy alerts, and human handoffs pass right through; phishing, credential harvesting, and unsolicited mass spam get rejected synchronously with &lt;code&gt;400 SPAM_REJECTED&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cross-isolate locks and rate limits in Cloudflare Durable Objects&lt;/strong&gt; so concurrent requests cannot race trial creation or replay webhooks.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Making it zero-friction for coding agents (Remote MCP + llms.txt)
&lt;/h3&gt;

&lt;p&gt;The other lesson from watching developers integrate email into Claude Code, OpenCode, Cursor, and OpenClaw is that nobody wants to install another wrapper SDK or run a local stdio bridge just to check an inbox.&lt;/p&gt;

&lt;p&gt;We just shipped a native Streamable HTTP remote MCP endpoint directly inside the Cloudflare Worker at &lt;code&gt;https://api.theagentmail.net/mcp&lt;/code&gt;. You can wire it into Claude Code with one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http agentmail https://api.theagentmail.net/mcp \
  --header &lt;span class="s2"&gt;"Authorization: Bearer am_..."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tokens are strictly scoped. An account-scoped key only exposes tools for that single mailbox (&lt;code&gt;get_mailbox&lt;/code&gt;, &lt;code&gt;list_messages&lt;/code&gt;, &lt;code&gt;get_message&lt;/code&gt;, &lt;code&gt;send_email&lt;/code&gt;, &lt;code&gt;get_attachment_url&lt;/code&gt;, and webhook management) and cannot list other mailboxes or touch org billing. If you prefer plain HTTP, pointing any coding agent at &lt;code&gt;https://theagentmail.net/llms.txt&lt;/code&gt; gives it the entire REST and MCP spec in one fetch.&lt;/p&gt;

&lt;p&gt;The whole stack (Cloudflare Workers, Durable Object guards, Resend, InstantDB, spam classifier, and Preact UI) is MIT open source on GitHub if you want to read the code or self-host it on your own domain: &lt;a href="https://github.com/uriva/agentmail" rel="noopener noreferrer"&gt;github.com/uriva/agentmail&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>opensource</category>
      <category>cloudflare</category>
    </item>
  </channel>
</rss>
