<?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: Jordan Tate</title>
    <description>The latest articles on DEV Community by Jordan Tate (@conduyt).</description>
    <link>https://dev.to/conduyt</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%2F4222766%2F1ea44cb5-cf74-4690-9ab5-0254c76e4cb9.png</url>
      <title>DEV Community: Jordan Tate</title>
      <link>https://dev.to/conduyt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/conduyt"/>
    <language>en</language>
    <item>
      <title>Your Coding Agent Wants CRM Access. Here's the Part to Lock Down</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Thu, 19 Nov 2026 14:45:00 +0000</pubDate>
      <link>https://dev.to/conduyt/your-coding-agent-wants-crm-access-heres-the-part-to-lock-down-53d5</link>
      <guid>https://dev.to/conduyt/your-coding-agent-wants-crm-access-heres-the-part-to-lock-down-53d5</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I work at Conduyt, a CRM company, and the examples below come from our own MCP server. The patterns apply to any CRM you connect to an agent.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A few weeks ago I wrote about &lt;a href="https://dev.to/conduyt/how-to-let-an-ai-agent-work-in-your-crm-without-breaking-it-266c"&gt;letting an AI agent work in a CRM without breaking it&lt;/a&gt;: start read-only, widen writes slowly, check the work. That piece was about one agent and one person.&lt;/p&gt;

&lt;p&gt;This one is about what happens when the agent is a coding agent like Claude Code, the CRM sits behind an MCP server, and there's more than one agent on the team. The setup is quick. The decisions around it are where the problems show up.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the agent actually sees
&lt;/h2&gt;

&lt;p&gt;It's worth getting the terms right, because they map to where each control lives.&lt;/p&gt;

&lt;p&gt;In MCP, the &lt;strong&gt;host&lt;/strong&gt; is the AI application, such as Claude Code. The host creates one &lt;strong&gt;client&lt;/strong&gt; per &lt;strong&gt;server&lt;/strong&gt;, and each client keeps its own connection. The server exposes &lt;strong&gt;tools&lt;/strong&gt; (things the model can call), &lt;strong&gt;resources&lt;/strong&gt; (data it can read) and &lt;strong&gt;prompts&lt;/strong&gt; (reusable templates). The client finds tools with &lt;code&gt;tools/list&lt;/code&gt; and runs them with &lt;code&gt;tools/call&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A local CRM server usually runs over the stdio transport, which means it's a process on your machine holding your API key.&lt;/p&gt;

&lt;p&gt;That gives you three separate places to put a control:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The key&lt;/strong&gt; the server holds. This decides what the CRM will accept.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The host's permission rules.&lt;/strong&gt; These decide which tools the model can call without asking you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The server's own tool design.&lt;/strong&gt; This decides how a dangerous call has to be shaped before it runs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Most setups only use the first one. You want all three, because each one catches mistakes the others miss.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1: the key decides the ceiling
&lt;/h2&gt;

&lt;p&gt;Our server takes a single API key in an environment variable. Keys come in three tiers: &lt;strong&gt;read&lt;/strong&gt; (GET only), &lt;strong&gt;write&lt;/strong&gt; (GET, POST, PATCH) and &lt;strong&gt;admin&lt;/strong&gt; (full access including DELETE). Scopes can also be limited to specific modules such as contacts, deals or tasks.&lt;/p&gt;

&lt;p&gt;For a coding agent, I'd ask what it needs, not what it might find useful. An agent writing an integration or a report needs read access to a couple of modules. An agent filing follow-up tasks needs write on tasks and nothing else. I can't think of a coding-agent job that needs an admin key.&lt;/p&gt;

&lt;p&gt;The key is also the only layer the model can't talk its way around. A host rule can be misconfigured and a tool description can be misread, but a read key can't delete anything. If you only set up one control, set up this one.&lt;/p&gt;

&lt;p&gt;Two things help here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ask the server what the key can do.&lt;/strong&gt; Our server has a tool, &lt;code&gt;conduyt_check_permissions&lt;/code&gt;, that reports the current key's permissions. Run it at the start of a session. It's the quickest way to confirm you connected the key you meant to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep keys out of the repo.&lt;/strong&gt; In Claude Code, a project &lt;code&gt;.mcp.json&lt;/code&gt; supports &lt;code&gt;${API_KEY}&lt;/code&gt;-style environment variable expansion, so every teammate supplies their own key and no secret gets committed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Layer 2: the host decides what needs a human
&lt;/h2&gt;

&lt;p&gt;Claude Code's permission rules live in &lt;code&gt;.claude/settings.json&lt;/code&gt;, are checked deny first, then ask, then allow, and are enforced by Claude Code rather than the model. A broad deny can't be overridden by a narrower allow.&lt;/p&gt;

&lt;p&gt;That makes the host the right place to say: this tool can run freely, this one needs a yes from me, and this one never runs in this repo.&lt;/p&gt;

&lt;p&gt;Here's the kind of rule set I'd start with. It's &lt;strong&gt;illustrative&lt;/strong&gt;: check your host's docs for the exact rule syntax, and use the real tool names your server returns from &lt;code&gt;tools/list&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;claude&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="n"&gt;settings&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;&lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ILLUSTRATIVE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;drop&lt;/span&gt;&lt;span class="err"&gt;-&lt;/span&gt;&lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"deny"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_merge_contacts"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;destructive&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_forget_contact"&lt;/span&gt;    &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;irreversible&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"ask"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_update_contact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;writes&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;shared&lt;/span&gt; &lt;span class="n"&gt;record&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_send_chat_message"&lt;/span&gt; &lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;other&lt;/span&gt; &lt;span class="n"&gt;people&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_check_permissions"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_list_contacts"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"mcp__crm__conduyt_get_contact"&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;The pattern matters more than the names. Allow reads, put writes to shared records and anything other people will see on "ask," and deny anything you'd only ever do on purpose, in the CRM's own UI.&lt;/p&gt;

&lt;p&gt;One caveat: project-scoped MCP servers in Claude Code have to be approved by each user in an interactive session. That's a good default. Don't script around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 3: the server shapes the dangerous calls
&lt;/h2&gt;

&lt;p&gt;Host rules depend on someone writing them. The server is where you make sure a dangerous call can't happen by accident even when nobody did.&lt;/p&gt;

&lt;p&gt;A few patterns from our server that I'd look for in any CRM's MCP server:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Preview, then confirm.&lt;/strong&gt; The contact merge tool is labelled destructive. Called without a confirmation flag it returns a preview of what would move. The real merge needs the preview's expected counts sent back, and only against a preview the server returned in the last ten minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Typed confirmations for irreversible actions.&lt;/strong&gt; The GDPR erasure tool requires &lt;code&gt;confirm='FORGET'&lt;/code&gt;, and it's owner-only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Preview-only bulk tasks.&lt;/strong&gt; The AI bulk tools (import and enroll, segment and act, pipeline cleanup) only preview. Running them is limited to a human session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;MCP has a protocol-level version of this too. With &lt;strong&gt;elicitation&lt;/strong&gt;, a server can ask the user for more information or for confirmation of an action. If your host supports it, it's a cleaner way to confirm than hoping the model passes the right flag.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why two agents loop
&lt;/h2&gt;

&lt;p&gt;This is the part people don't plan for. As soon as two agents can act on the same records or the same thread, you get loops that neither agent meant to start. In my experience they come in three shapes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The conversation loop.&lt;/strong&gt; Agent A mentions agent B, B answers and mentions A, and so on. Each reply makes sense on its own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The retry loop.&lt;/strong&gt; A call times out, the agent assumes it failed and sends it again, and now the reply or task exists twice. The other agent sees two and responds to both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The dueling-write loop.&lt;/strong&gt; Two agents read the same record, both decide it needs fixing, and each one "corrects" the other's change.&lt;/p&gt;

&lt;p&gt;None of these is a model problem, and asking agents nicely in a prompt won't fix them. Each one needs a mechanical brake.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four brakes, all outside the model
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. A turn cap on agent-to-agent threads.&lt;/strong&gt; In our team chat, after six AI replies in a row the thread pauses until a person weighs in. The send tool applies the same guard to agent keys. The exact number is a judgment call. What matters is that it's enforced on the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Idempotency keys on anything an agent posts.&lt;/strong&gt; Our reply tool takes an &lt;code&gt;idempotencyKey&lt;/code&gt; built from the message being answered. A retried turn gets the first reply back, flagged as a replay, instead of posting twice.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;ILLUSTRATIVE&lt;/span&gt; &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="err"&gt;/&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt; &lt;span class="n"&gt;Only&lt;/span&gt; &lt;span class="n"&gt;idempotencyKey&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;
&lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="s2"&gt;"reply:&amp;lt;source message id&amp;gt;"&lt;/span&gt; &lt;span class="n"&gt;shape&lt;/span&gt; &lt;span class="n"&gt;comes&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;server&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="err"&gt;;&lt;/span&gt;
&lt;span class="err"&gt;//&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;other&lt;/span&gt; &lt;span class="n"&gt;argument&lt;/span&gt; &lt;span class="n"&gt;names&lt;/span&gt; &lt;span class="n"&gt;are&lt;/span&gt; &lt;span class="n"&gt;placeholders&lt;/span&gt;&lt;span class="err"&gt;.&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"method"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tools/call"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"conduyt_reply_chat_message"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"arguments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"messageId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;source message id&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Created the follow-up task for Friday."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"idempotencyKey"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"reply:&amp;lt;source message id&amp;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;p&gt;Derive the key from what triggered the turn, not from a timestamp or a random UUID. Otherwise every retry looks new.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Don't let the server retry writes for you.&lt;/strong&gt; Our server reports &lt;code&gt;Retry-After&lt;/code&gt; but doesn't replay a refused write on its own: the refusal comes back to the caller verbatim, with a stable error format. The one exception is the last step of a file upload, which it repeats a few times while the upload is still being processed. That sounds less helpful, but it means a retry is a decision someone made, and you can see it in the log.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Revision checks on shared records.&lt;/strong&gt; Write tools that accept an &lt;code&gt;expectedRevision&lt;/code&gt; refuse a stale save with a 409 instead of overwriting. I covered this in the earlier piece. It's what turns a dueling-write loop into one clean refusal that the second agent has to read and react to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Permissions follow a person
&lt;/h2&gt;

&lt;p&gt;One more rule matters once agents share a channel. Each agent should act with its owner's permissions and never more. Our AI teammates work that way, and anything one wants to send under a person's name waits for that person to approve it, edit it or decline it.&lt;/p&gt;

&lt;p&gt;This is what makes the earlier layers make sense. A key tier is easy to reason about when it belongs to one named person. It isn't when it belongs to "the bot."&lt;/p&gt;

&lt;h2&gt;
  
  
  A starting checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One key per agent, at the lowest tier and fewest modules the job needs.&lt;/li&gt;
&lt;li&gt;Run a permissions check at the start of every session.&lt;/li&gt;
&lt;li&gt;Host rules: allow reads, ask on shared writes, deny destructive and irreversible tools.&lt;/li&gt;
&lt;li&gt;Prefer servers that use preview-then-confirm and typed confirmations.&lt;/li&gt;
&lt;li&gt;Before two agents share anything, check for a server-side turn cap, idempotent replies, no automatic write retries, and revision checks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then test it: have two agents work on the same record at the same time, and see which brake stops them.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at Conduyt, a flat-price CRM for small sales teams where people and AI agents work in the same records. Jordan writes about putting agents to work inside a CRM safely; Conduyt's MCP server is documented at &lt;a href="https://conduyt.com/mcp/" rel="noopener noreferrer"&gt;conduyt.com/mcp&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>security</category>
      <category>api</category>
    </item>
    <item>
      <title>When Your Team's AI Agents Share a Chat, Four Rules Matter More Than the Model</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Wed, 18 Nov 2026 14:18:19 +0000</pubDate>
      <link>https://dev.to/conduyt/when-your-teams-ai-agents-share-a-chat-four-rules-matter-more-than-the-model-42fb</link>
      <guid>https://dev.to/conduyt/when-your-teams-ai-agents-share-a-chat-four-rules-matter-more-than-the-model-42fb</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I work at Conduyt, a CRM company, and I use our product as the worked example near the end. The rules apply to any system that puts people and agents in the same channel.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most teams adopted AI agents one laptop at a time. One person runs Claude Code in a terminal. Someone else prefers Codex. Each agent is useful to its owner and invisible to everyone else, so when a colleague needs the same answer, they start from scratch or ask for a paste.&lt;/p&gt;

&lt;p&gt;The obvious fix is to put the agents where the team already talks: a shared channel where anyone can ask an agent a question and everyone can see the answer. That part is easy to build. What's harder is that a shared channel changes who an agent is acting for, what it can reach, and who is watching it.&lt;/p&gt;

&lt;p&gt;Here are the four rules I would want settled before any team does this, whichever tool they use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rule 1: An agent never sees more than its owner
&lt;/h2&gt;

&lt;p&gt;In a private terminal, this barely comes up. In a shared channel, a question can come from anyone, while the answer may come from an agent running with someone else's access.&lt;/p&gt;

&lt;p&gt;The OWASP Top 10 for LLM applications names this risk &lt;a href="https://genai.owasp.org/llmrisk/llm062025-excessive-agency/" rel="noopener noreferrer"&gt;Excessive Agency&lt;/a&gt; and traces it to three root causes: too much functionality, too many permissions, and too much autonomy. A shared agent with a broad service account has all three.&lt;/p&gt;

&lt;p&gt;The simple rule is that each agent acts with one named person's permissions, and never more. If that person can't see a record, neither can their agent. This also gives you a clear answer to the first question anyone asks after a mistake: whose agent was it, and what was it allowed to do?&lt;/p&gt;

&lt;p&gt;It doesn't solve everything. As Sebastian Martinez Torregrosa argues in &lt;a href="https://hackernoon.com/two-mandates-one-walk-why-agent-to-agent-delegation-changes-the-escape-surface" rel="noopener noreferrer"&gt;Two Mandates, One Walk&lt;/a&gt;, two agents that are each properly bounded can still reach something together that neither could reach alone. So if agents can hand work to each other, review the handoff as well as each agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rule 2: Nothing leaves in a person's name without that person
&lt;/h2&gt;

&lt;p&gt;Reading data is low risk. Sending an email to a customer under someone's name is not, and an agent drafting one in a busy channel makes the mistake easier to miss.&lt;/p&gt;

&lt;p&gt;OWASP's mitigation is human-in-the-loop approval for high-impact actions. But the design matters. In &lt;a href="https://hackernoon.com/human-approval-is-a-protocol-not-a-button" rel="noopener noreferrer"&gt;Human Approval Is a Protocol, Not a Button&lt;/a&gt;, Raju Dandigam walks through a good failure case: a manager approves a $250 payment, the agent replans, and $2,500 goes out because the system only checked a yes/no flag.&lt;/p&gt;

&lt;p&gt;So when you test any system like this, try to change the content after approval. Does the approval still hold? It shouldn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rule 3: Agent conversations need a stopping condition
&lt;/h2&gt;

&lt;p&gt;Once agents can @mention each other, they can also keep replying to each other. Nobody has to intend that. Two helpful agents and an ambiguous request will do it.&lt;/p&gt;

&lt;p&gt;Anthropic's write-up on its &lt;a href="https://www.anthropic.com/research/multi-agent-research-system" rel="noopener noreferrer"&gt;multi-agent research system&lt;/a&gt; is a useful reality check. It describes early agents spawning 50 subagents for simple queries and distracting each other with excessive updates. Its &lt;a href="https://www.anthropic.com/research/building-effective-agents" rel="noopener noreferrer"&gt;guide to building effective agents&lt;/a&gt; recommends stopping conditions, such as a maximum number of iterations, to maintain control.&lt;/p&gt;

&lt;p&gt;In a shared channel, I'd want a hard limit on consecutive agent turns, after which the thread waits for a person. The exact number matters less than the fact that it's enforced outside the model. A prompt asking agents to please stop isn't a control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rule 4: The work stays where the team can see it
&lt;/h2&gt;

&lt;p&gt;If an agent's output lives only in one person's session, you've saved that person time and left the handoff as broken as it was. The point of sharing is that the question, the answer and the record it refers to all sit in the same thread, so the next person can pick it up.&lt;/p&gt;

&lt;p&gt;This also makes supervision cheap. People catch bad answers when they can see them, and in a shared channel they can, without anyone building a review queue.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked example
&lt;/h2&gt;

&lt;p&gt;Here is how we applied this at Conduyt. &lt;a href="https://conduyt.com/features/team-chat/" rel="noopener noreferrer"&gt;Team Chat&lt;/a&gt; sits inside the CRM, and AI teammates join the same channels as people. Today that means Claude Code, Codex or Grok Bot.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Permissions:&lt;/strong&gt; each agent acts with its owner's permissions and never more. Claude Code and Codex stay on their owner's computer and pair through a small listener with a single-use code that expires after 15 minutes. Grok Bot connects through its own connector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sending:&lt;/strong&gt; anything an agent wants to send under a person's name waits for that person to approve it, edit it first or decline it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stopping:&lt;/strong&gt; after six AI turns in a row, the thread pauses until a person weighs in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visibility:&lt;/strong&gt; the conversation sits beside the deals and contacts it refers to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are real limits. The list of supported agents is short. AI teammates are on our Professional plan, not the entry plan. And six turns is a judgment call, not a proven number. I posted a full transcript of three agents working one thread, with the engineering decisions behind it, in &lt;a href="https://dev.to/conduyt/we-put-three-ai-agents-from-three-vendors-in-one-chat-thread-4pac"&gt;an earlier write-up&lt;/a&gt;. If you're comparing options, the wider field of &lt;a href="https://conduyt.com/best-ai-crm/" rel="noopener noreferrer"&gt;AI CRMs&lt;/a&gt; takes very different approaches, and some teams will be better served by something simpler.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to test any of this
&lt;/h2&gt;

&lt;p&gt;Skip the scripted demo. Run one real task with two agents belonging to two different people:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Log in as someone with narrow permissions and check what their agent can see.&lt;/li&gt;
&lt;li&gt;Have an agent draft a customer message, approve it, then try to change it.&lt;/li&gt;
&lt;li&gt;Give two agents an ambiguous request and see what stops them.&lt;/li&gt;
&lt;li&gt;Ask a third person to pick up the thread and finish the job.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each step tests one of the rules, and you'll learn more from them than from any feature list. If a product can't pass the first two, I wouldn't give its agents access to customer data, however good the model is.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at &lt;a href="https://conduyt.com" rel="noopener noreferrer"&gt;Conduyt&lt;/a&gt;, a flat-price CRM for small sales teams.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>security</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The Per-Seat CRM Bill Is a Step Function: A Formula for What Headcount Growth Costs</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Tue, 17 Nov 2026 16:46:06 +0000</pubDate>
      <link>https://dev.to/conduyt/the-per-seat-crm-bill-is-a-step-function-a-formula-for-what-headcount-growth-costs-75b</link>
      <guid>https://dev.to/conduyt/the-per-seat-crm-bill-is-a-step-function-a-formula-for-what-headcount-growth-costs-75b</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I work at Conduyt, a CRM with flat pricing.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most founders budget for a CRM the way they budget for laptops: one more hire, one more unit. That's close enough at five people. It stops working somewhere around the point where the team needs a feature the current plan doesn't have, and the upgrade applies to everyone at once.&lt;/p&gt;

&lt;p&gt;This post writes the bill down as a formula, runs it through published list prices I pulled from five vendors' own pricing pages on November 5, 2026, and ends with a short Python script you can point at your own hiring plan. Prices change often, so treat every number below as a snapshot from that day and check the linked page before you use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The formula
&lt;/h2&gt;

&lt;p&gt;For a per-seat CRM, the monthly bill at headcount &lt;em&gt;n&lt;/em&gt; is roughly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bill(n) = n × price(tier(n)) + n × per_user_addons + per_org_addons + usage
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The term that matters is &lt;code&gt;tier(n)&lt;/code&gt;. The tier isn't really chosen by headcount. It's chosen by the features a team of that size ends up needing, such as automation, permissions, or a sandbox. But since those needs show up as the team grows, in practice the tier follows headcount, and each time it moves, &lt;code&gt;price&lt;/code&gt; changes for all &lt;em&gt;n&lt;/em&gt; seats, not just the new one.&lt;/p&gt;

&lt;p&gt;That makes the cost of one hire at a tier boundary:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;step = n × p_new − (n − 1) × p_old
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the new seat at the new price, plus every existing seat's price difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five ways the bill compounds
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Seat price times users.&lt;/strong&gt; Every vendor I checked prices this way. &lt;a href="https://www.salesforce.com/sales/pricing/" rel="noopener noreferrer"&gt;Salesforce's FAQ&lt;/a&gt; says you pay a monthly fee for each user who needs access. &lt;a href="https://www.pipedrive.com/en/pricing" rel="noopener noreferrer"&gt;Pipedrive&lt;/a&gt; lists every plan per seat per month, &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot&lt;/a&gt; says paid Sales Hub plans are priced per seat, &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;Close&lt;/a&gt; says pricing is based on seats for your team, and &lt;a href="https://www.zoho.com/crm/zohocrm-pricing.html" rel="noopener noreferrer"&gt;Zoho&lt;/a&gt; lists each edition per user per month.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Tier jumps at user limits.&lt;/strong&gt; Free and solo plans have hard caps. &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot's free plan&lt;/a&gt; covers up to 2 users. &lt;a href="https://www.zoho.com/crm/zohocrm-pricing.html" rel="noopener noreferrer"&gt;Zoho CRM's free edition&lt;/a&gt; supports up to 3. &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;Close's Solo plan&lt;/a&gt; is limited to 1 user, so the second person moves you from $9 to $35 a seat on annual billing (Essentials).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Tier jumps at feature limits.&lt;/strong&gt; These are the bigger steps. &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;On Close&lt;/a&gt;, workflows aren't included on Essentials. Automated workflows and the power dialer start at Growth, $99 a seat on annual billing. &lt;a href="https://www.pipedrive.com/en/pricing" rel="noopener noreferrer"&gt;On Pipedrive&lt;/a&gt;, automations and nurturing sequences start at Growth, and group-level permissions appear at Premium. &lt;a href="https://www.zoho.com/crm/zohocrm-pricing.html" rel="noopener noreferrer"&gt;On Zoho&lt;/a&gt;, AI agents start at Professional, and the reporting hierarchy that gives managers a team-only view is on Enterprise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Add-ons that scale with users.&lt;/strong&gt; &lt;a href="https://www.salesforce.com/sales/pricing/" rel="noopener noreferrer"&gt;Salesforce's page&lt;/a&gt; says AI can be added to Core and above, and its feature table lists Agentforce for Sales as "available for purchase" without a price, so you'd need a quote. &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot's AI agents&lt;/a&gt; draw on monthly credits instead: Sales Hub Starter includes 500, Professional 3,000 and Enterprise 5,000, and extra credits are $0.010 each. &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;Close&lt;/a&gt; includes AI credits per user in a shared pool that tops out at 10,000 a month on Essentials. Not everything scales with seats, though. Close's call recording add-on is $50 per org per month plus $0.02 a minute, so ask which unit each add-on uses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Annual billing and one-time fees.&lt;/strong&gt; &lt;a href="https://www.salesforce.com/sales/pricing/" rel="noopener noreferrer"&gt;Salesforce&lt;/a&gt; lists Pro Suite, Core, Advanced and Max as billed annually, at $100, $195, $395 and $550 per user per month. Only Starter Suite ($25) shows monthly billing. &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot's Professional card&lt;/a&gt; shows "Commit annually" even under the monthly payment option, and a required one-time $1,500 onboarding fee ($3,500 on Enterprise). &lt;a href="https://www.pipedrive.com/en/pricing" rel="noopener noreferrer"&gt;Pipedrive's annual price&lt;/a&gt; is one payment per seat per year, $468 on Growth. &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;On Close&lt;/a&gt;, annual-plan downgrades only take effect at the end of the term.&lt;/p&gt;

&lt;p&gt;One thing I couldn't find was a minimum seat count. None of the five pricing pages I read that day lists one. That doesn't mean your order form won't, so ask.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked table: 5, 12, 25 and 50 users
&lt;/h2&gt;

&lt;p&gt;To make the steps visible, I picked a growth path and the tier that matches it at each vendor:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;5 users:&lt;/strong&gt; pipeline, email and calling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;12 users:&lt;/strong&gt; automated workflows or sequences (Close Growth, Pipedrive Growth, Zoho Professional).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;25 users:&lt;/strong&gt; managers need restricted views or role permissions (Close Scale, Pipedrive Premium, Zoho Enterprise).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;50 users:&lt;/strong&gt; sandbox and tighter security (Pipedrive Ultimate; Zoho Enterprise already lists a developer sandbox, and Scale is Close's top self-serve plan).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Matching the tiers to headcount is my assumption. The prices are the annual-billing list prices on each pricing page (&lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;Close&lt;/a&gt;, &lt;a href="https://www.pipedrive.com/en/pricing" rel="noopener noreferrer"&gt;Pipedrive&lt;/a&gt;, &lt;a href="https://www.zoho.com/crm/zohocrm-pricing.html" rel="noopener noreferrer"&gt;Zoho CRM&lt;/a&gt;), per month, before tax and add-ons.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Users&lt;/th&gt;
&lt;th&gt;Close&lt;/th&gt;
&lt;th&gt;Pipedrive&lt;/th&gt;
&lt;th&gt;Zoho CRM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Essentials $35 -&amp;gt; $175&lt;/td&gt;
&lt;td&gt;Lite $14 -&amp;gt; $70&lt;/td&gt;
&lt;td&gt;Standard $14 -&amp;gt; $70&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;Growth $99 -&amp;gt; $1,188&lt;/td&gt;
&lt;td&gt;Growth $39 -&amp;gt; $468&lt;/td&gt;
&lt;td&gt;Professional $23 -&amp;gt; $276&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;Scale $139 -&amp;gt; $3,475&lt;/td&gt;
&lt;td&gt;Premium $59 -&amp;gt; $1,475&lt;/td&gt;
&lt;td&gt;Enterprise $40 -&amp;gt; $1,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;Scale $139 -&amp;gt; $6,950&lt;/td&gt;
&lt;td&gt;Ultimate $79 -&amp;gt; $3,950&lt;/td&gt;
&lt;td&gt;Enterprise $40 -&amp;gt; $2,000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The interesting numbers are the boundary steps, meaning what the one hire who triggers the upgrade adds to the monthly bill:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Boundary&lt;/th&gt;
&lt;th&gt;Close&lt;/th&gt;
&lt;th&gt;Pipedrive&lt;/th&gt;
&lt;th&gt;Zoho CRM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;11 -&amp;gt; 12 users&lt;/td&gt;
&lt;td&gt;$385 -&amp;gt; $1,188 (+$803)&lt;/td&gt;
&lt;td&gt;$154 -&amp;gt; $468 (+$314)&lt;/td&gt;
&lt;td&gt;$154 -&amp;gt; $276 (+$122)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;24 -&amp;gt; 25 users&lt;/td&gt;
&lt;td&gt;$2,376 -&amp;gt; $3,475 (+$1,099)&lt;/td&gt;
&lt;td&gt;$936 -&amp;gt; $1,475 (+$539)&lt;/td&gt;
&lt;td&gt;$552 -&amp;gt; $1,000 (+$448)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;49 -&amp;gt; 50 users&lt;/td&gt;
&lt;td&gt;+$139 (no tier change)&lt;/td&gt;
&lt;td&gt;$2,891 -&amp;gt; $3,950 (+$1,059)&lt;/td&gt;
&lt;td&gt;+$40 (no tier change)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;On Close, the twelfth hire adds about 23 times the $35 Essentials seat they would have cost if nothing else changed. That's the step. It never appears in a "price per user" comparison, because a comparison like that only lists the slope.&lt;/p&gt;

&lt;p&gt;Monthly billing raises the slope as well. Close Growth is $109, Pipedrive Growth is $49 and Zoho Professional is $35 on monthly plans.&lt;/p&gt;

&lt;h2&gt;
  
  
  The seats nobody budgets for
&lt;/h2&gt;

&lt;p&gt;The headcount in your hiring plan is the sales team. The headcount on your CRM invoice is everyone who needs a login, and that number is usually larger.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Viewers.&lt;/strong&gt; Founders, finance, and the board member who wants the pipeline dashboard. &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot&lt;/a&gt; offers view-only seats at no extra cost. On the other four pricing pages I didn't see a free viewer tier, so ask before you assume.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contractors.&lt;/strong&gt; An outsourced SDR or a three-month implementation consultant who edits records is a user like any other under a "per user who needs access" definition.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operations staff.&lt;/strong&gt; RevOps, the person who builds reports, support staff who look up account history. These roles show up late and almost never appear in the sales hiring plan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI agents.&lt;/strong&gt; This is the newest one. &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot&lt;/a&gt; and &lt;a href="https://www.close.com/pricing" rel="noopener noreferrer"&gt;Close&lt;/a&gt; charge AI through credits. But if your own agent or automation works through a named user login, my reading is that it's a user who needs access like anyone else. Ask the vendor how they classify it before you connect one, not after the invoice arrives.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add these to the plan before you run the model. They often move you over a tier boundary sooner than hiring does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model your own 24 months
&lt;/h2&gt;

&lt;p&gt;The script below takes one headcount per month and prints the month when a per-seat bill first passes a flat quote, and the month when cumulative per-seat spend passes cumulative flat spend. The tiers use &lt;a href="https://www.pipedrive.com/en/pricing" rel="noopener noreferrer"&gt;Pipedrive's&lt;/a&gt; monthly-billing list prices from November 5 as an example. The flat figure is a placeholder, so put in whatever quote you're comparing against.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# (minimum headcount for this tier, price per seat per month)&lt;/span&gt;
&lt;span class="no"&gt;TIERS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;24&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="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;49&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="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;79&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="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="no"&gt;ADDON_PER_SEAT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;      &lt;span class="c1"&gt;# e.g. an AI or dialer add-on priced per user&lt;/span&gt;
&lt;span class="no"&gt;FLAT_MONTHLY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;600&lt;/span&gt;      &lt;span class="c1"&gt;# the flat-priced quote you're comparing against&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;per_seat_bill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;seats&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;price&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="no"&gt;TIERS&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;seats&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;seats&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;price&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="no"&gt;ADDON_PER_SEAT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;compare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;headcounts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flat&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;FLAT_MONTHLY&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;seat_total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;flat_total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="n"&gt;first_month&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;cum_month&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;month&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;seats&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;headcounts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;bill&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;per_seat_bill&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;seats&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;seat_total&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;bill&lt;/span&gt;
        &lt;span class="n"&gt;flat_total&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;flat&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;first_month&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;bill&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;flat&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;first_month&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;month&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;cum_month&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;seat_total&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;flat_total&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;cum_month&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;month&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{month:&amp;gt;2}  {seats:&amp;gt;3} seats  ${bill:&amp;gt;6,}  "&lt;/span&gt;
              &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"cum ${seat_total:&amp;gt;7,} vs ${flat_total:&amp;gt;7,}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Monthly bill passes flat in month:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;first_month&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Cumulative spend passes flat in month:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cum_month&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="n"&gt;plan&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;
&lt;span class="nf"&gt;compare&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;plan&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With that plan, the per-seat bill passes $600 a month in month 13, at 18 seats on the $49 tier. Cumulative per-seat spend passes cumulative flat spend in month 19, when the team reaches 25 and moves to the $79 tier. For the first year, per-seat is clearly the cheaper option, which is exactly why a first-year comparison can mislead you. Change &lt;code&gt;ADDON_PER_SEAT&lt;/code&gt; to see how quickly an AI add-on moves both months earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to ask before you sign
&lt;/h2&gt;

&lt;p&gt;Get these answers in writing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;What counts as a seat?&lt;/strong&gt; Is it every login, every active user, or every license you bought? Are API users, integration users and agents counted?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is there a seat minimum,&lt;/strong&gt; and does it reset to your peak count at renewal?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How do true-ups work?&lt;/strong&gt; If you add seats mid-term, are they prorated to the renewal date or billed for a full year from the day you add them?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Can seats go down mid-term,&lt;/strong&gt; or only at renewal?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Which features would force a tier change for the whole account,&lt;/strong&gt; and can a single team be upgraded on its own?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What unit is AI priced in:&lt;/strong&gt; seats, the whole org, or credits? What does an extra unit cost, and do unused credits roll over? &lt;a href="https://www.hubspot.com/pricing/sales" rel="noopener noreferrer"&gt;HubSpot's don't&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What one-time fees apply&lt;/strong&gt; at each tier, such as onboarding or implementation?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What's the renewal price protection?&lt;/strong&gt; Is the per-seat price capped at renewal, and does it hold if you renew with fewer seats?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The flat-price alternative
&lt;/h2&gt;

&lt;p&gt;The other way to price a CRM is a fixed monthly fee that doesn't depend on headcount, so &lt;code&gt;bill(n)&lt;/code&gt; is a constant and there's no step to plan around. That's not automatically cheaper. A team that stays small can come out ahead on per-seat pricing, and the script above will show it when that's the case. But if your hiring plan crosses a tier boundary within the contract term, it's worth putting a flat quote next to the per-seat one. We make one of those at Conduyt, and our &lt;a href="https://conduyt.com/roi/" rel="noopener noreferrer"&gt;ROI calculator&lt;/a&gt; runs the comparison against a team size you enter.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at Conduyt, a flat-price CRM for small sales teams. Jordan writes about what CRM pricing and CRM data actually cost teams as they grow.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>saas</category>
      <category>startup</category>
      <category>pricing</category>
      <category>python</category>
    </item>
    <item>
      <title>Hot-loading a regex word list from a website into a production API without getting ReDoS'd</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Mon, 09 Nov 2026 19:58:30 +0000</pubDate>
      <link>https://dev.to/conduyt/hot-loading-a-regex-word-list-from-a-website-into-a-production-api-without-getting-redosd-1djb</link>
      <guid>https://dev.to/conduyt/hot-loading-a-regex-word-list-from-a-website-into-a-production-api-without-getting-redosd-1djb</guid>
      <description>&lt;p&gt;By Jordan Tate, VP of Customer Relations at Conduyt.&lt;/p&gt;

&lt;p&gt;We run a free message checker on our website. You paste a text message or an email draft, and it flags words that carriers and inbox providers tend to filter, with a reason and a safer swap for each one. The same engine sits inside our CRM's API, where it checks drafts before they go out.&lt;/p&gt;

&lt;p&gt;The engine grades a draft against two word lists: one for email, one for SMS. Each entry is a regular expression plus a category, a level for each channel, a short explanation and a list of replacements. The lists change more often than the engine does. Our marketing side re-reads carrier and provider sources every week and updates the lists on the website.&lt;/p&gt;

&lt;p&gt;For a while that meant two copies: the website's lists, and the copies bundled into the API, which only moved with a release. So we made the API read the website's lists directly. A word change on the website now reaches the API within the hour, with no release.&lt;/p&gt;

&lt;p&gt;That raised the obvious question. A file that marketing can edit, full of regexes, is now compiled and run on every API request. How do you make sure it can never take the API down or slow it?&lt;/p&gt;

&lt;p&gt;This post is the answer we shipped. Nothing in it is specific to spam words. It applies to any config file you accept from a source you do not fully control.&lt;/p&gt;

&lt;h2&gt;
  
  
  The shape of the problem
&lt;/h2&gt;

&lt;p&gt;There are three ways a fetched list can hurt you:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It is not really a list. The website serves the lists as JavaScript files, because the browser checker loads them with a script tag. If the server ever ran that file, anyone who could edit it could run code on our API.&lt;/li&gt;
&lt;li&gt;It is a list, but a pattern in it backtracks catastrophically. One bad regex, such as a nested quantifier, can pin a CPU for seconds on a crafted input. That is ReDoS.&lt;/li&gt;
&lt;li&gt;It is a list, every pattern is fine on paper, and it still runs slow in production, because a static check can be wrong.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We handle each of these in a separate layer, and every layer fails closed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1: fetch rarely, keep a fallback
&lt;/h2&gt;

&lt;p&gt;The API fetches the two files at most once per hour per server instance. A failed fetch waits five minutes before the next attempt, and each file gets a five-second timeout for the whole exchange.&lt;/p&gt;

&lt;p&gt;The API still ships with bundled copies of both lists, pinned by md5. On a cold start where the fetch fails, or where the fetched file is refused, requests are answered from the bundled lists. A refresh that fails later keeps the last good copy. Whatever happens on the website, the API always has a list to check against.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 2: parse as data, never as code
&lt;/h2&gt;

&lt;p&gt;The fetched text is data. Nothing fetched is executed: no &lt;code&gt;eval&lt;/code&gt;, no &lt;code&gt;Function&lt;/code&gt;, no &lt;code&gt;import&lt;/code&gt;. Instead, a strict hand-written extractor reads the one assignment statement the list files are made of. A list file looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;(typeof window !== "undefined" ? window : globalThis).SPAM_SMS = [
  ["pattern", "category", "smsLevel", "emailLevel", "why", ["swap", "swap"]],
  ...
];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The extractor accepts block comments and whitespace, then exactly that head (or its minified form), then a literal made of arrays and single or double quoted strings, nested at most three deep, then an optional semicolon, then the end of the file.&lt;/p&gt;

&lt;p&gt;Anything else refuses the whole file with a logged reason: a function, a second statement, an identifier, a number, an object, a trailing comma, an unclosed string, a body that is too big. After parsing, every entry's shape is checked: six or seven fields, all strings except the replacements array, levels from a fixed set, and a pattern that compiles.&lt;/p&gt;

&lt;p&gt;There are hard caps before any of the expensive work starts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;512 KB per file. The bundled files are 54 KB and 29 KB.&lt;/li&gt;
&lt;li&gt;2,000 entries per file. The bundled lists have 382 and 214.&lt;/li&gt;
&lt;li&gt;500 characters per pattern.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If either file is refused, the lists in use do not change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 3: analyse every regex for super-linear behavior
&lt;/h2&gt;

&lt;p&gt;This is the ReDoS layer. Every pattern goes through two analysers, and one refused pattern refuses the file.&lt;/p&gt;

&lt;p&gt;The first is scslre, a static analyser for super-linear backtracking. We do not run it on the bare pattern. We run it on the two regexes the engine actually builds from each pattern: the scanner, which wraps the pattern in word-boundary groups and runs with the global flag over the whole draft, and the whole-word test, which anchors it. The regex that runs is the one that can backtrack, so that is the one we check. Any report from scslre refuses the pattern.&lt;/p&gt;

&lt;p&gt;The second is an automaton check. It builds the pattern's position automaton and looks for exponential and polynomial degree of ambiguity, which catches structural ambiguity that the first analyser cannot see.&lt;/p&gt;

&lt;p&gt;Before either analyser runs, the pattern must parse the way the engine compiles it, pass structural caps, contain no backreference, and follow one lookaround rule: a lookaround body may not repeat without bound. The one exception is a lookahead whose unbounded repeat is whitespace only, because a run of spaces ends at the next non-space character.&lt;/p&gt;

&lt;p&gt;Here is what that looks like for two patterns, run through the same check the API uses:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;((a+))+$         -&amp;gt; refused: pattern_superlinear_self   (2.1 ms)
exam\s+dumps?    -&amp;gt; accepted                            (1.5 ms)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first is a classic nested quantifier, and it is one of the cases in our test suite. The second is the shape of an ordinary list entry: literal words, a whitespace run, an optional letter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 4: budget the validation itself
&lt;/h2&gt;

&lt;p&gt;An analyser is code too, and it can be slow on some input nobody has tried yet. If validation can stall, an attacker who can edit the list has just moved the ReDoS from the regex into the validator.&lt;/p&gt;

&lt;p&gt;So the validation is bounded and fails closed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structural caps run first, before any analyser builds anything.&lt;/li&gt;
&lt;li&gt;One work counter covers every phase of the automaton checks. When it runs out, the pattern is refused as too complex.&lt;/li&gt;
&lt;li&gt;Each pattern gets a 50 ms wall-clock budget, enforced with a &lt;code&gt;node:vm&lt;/code&gt; timeout. A pattern that hits the clock is tried once more, because a garbage collection pause on a busy machine can stretch a normal run, and is refused if it times out again.&lt;/li&gt;
&lt;li&gt;The whole refresh gets a budget of patterns times 50 ms, capped at 10 seconds. Past that deadline the file is refused.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A note on &lt;code&gt;node:vm&lt;/code&gt;: here it is a timer, not a sandbox. It runs one fixed line of our own code that calls our own function. The fetched text never goes into it. We use it because V8's watchdog can interrupt a running regex, which a plain &lt;code&gt;setTimeout&lt;/code&gt; cannot.&lt;/p&gt;

&lt;p&gt;The bundled patterns peak at about 5 ms each, so the 50 ms budget leaves room without letting anything run long.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 5: budget the runtime, and quarantine what times out
&lt;/h2&gt;

&lt;p&gt;A list that passed every check is still not trusted blindly. A static check can be wrong, and the analysers are static checks.&lt;/p&gt;

&lt;p&gt;So every call into an engine built from the remote lists runs under a wall-clock budget, 250 ms by default, again through a &lt;code&gt;node:vm&lt;/code&gt; timeout. If a request runs past it, three things happen:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The request is answered by the bundled engine, so the caller still gets a result.&lt;/li&gt;
&lt;li&gt;The exact md5 pair of the two list files is quarantined for that server instance. Every later refresh that fetches the same pair refuses it, and a remote engine already handed to another request is checked against the quarantine right before it runs.&lt;/li&gt;
&lt;li&gt;The next refresh is moved up to the five-minute retry, not the hour, because the website may be fixed soon.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Quarantining by content hash rather than by URL means a fixed file gets a fresh chance as soon as its bytes change, and a broken one never gets a second run on that instance.&lt;/p&gt;

&lt;p&gt;The bundled engine is our own reviewed code and runs unguarded. The browser composers inside the CRM also keep the bundled engine. There is no client-side fetch of the lists at all, so this whole path lives on the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 6: log every refusal with a reason
&lt;/h2&gt;

&lt;p&gt;Every refusal logs one shape: the file, the host, the reason and which source was in use. The reasons are short machine-readable strings, such as &lt;code&gt;oversize&lt;/code&gt;, &lt;code&gt;trailing_comma&lt;/code&gt; with the character offset, &lt;code&gt;entry_214_pattern_superlinear_self&lt;/code&gt;, &lt;code&gt;wordlist_validation_timeout&lt;/code&gt;, &lt;code&gt;quarantined_engine_timeout&lt;/code&gt; or &lt;code&gt;engine_timeout_250&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That matters for the people editing the lists. When a weekly update is refused, the log names the entry and the rule it broke, and the fix is usually one line.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a weekly update looks like
&lt;/h2&gt;

&lt;p&gt;This week's re-read of Twilio's forbidden message categories and Telnyx's forbidden use cases added five SMS rows, taking that list from 214 to 219. The new rows cover initial coin offerings, simulated phishing and exam dumps, plus ghostwriting and vaporizers at caution level. Each new pattern passed both analysers in under 10 ms. A sixth candidate, guaranteed returns on investments, was withdrawn during review: once you exclude agricultural yields, productivity gains, retail returns policies and clause-length disclaimers, the claim cannot be expressed safely as a list row, so it goes back to the engine as a feature request rather than shipping as a regex.&lt;/p&gt;

&lt;p&gt;The files are served under content-hashed names, using the first eight hex characters of the file's md5. An independent Codex review runs on the change before it is deployed. After that, the API picks the lists up on its next hourly refresh, with no release.&lt;/p&gt;

&lt;p&gt;You can try the result in our &lt;a href="https://conduyt.com/tools/text-message-checker/" rel="noopener noreferrer"&gt;text message checker&lt;/a&gt; and &lt;a href="https://conduyt.com/tools/email-spam-checker/" rel="noopener noreferrer"&gt;email spam checker&lt;/a&gt;, and the reasoning behind the words is in our &lt;a href="https://conduyt.com/resources/spam-trigger-words/" rel="noopener noreferrer"&gt;spam trigger words guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist
&lt;/h2&gt;

&lt;p&gt;If you accept a config file you do not fully control, and especially one full of regexes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Parse it as data. Write a strict reader for the exact format, and refuse everything else.&lt;/li&gt;
&lt;li&gt;Cap sizes before any expensive work: bytes, entries, pattern length, nesting depth.&lt;/li&gt;
&lt;li&gt;Analyse every regex for super-linear behavior, and analyse the regex you actually run, not the fragment.&lt;/li&gt;
&lt;li&gt;Budget the validation, per item and in total, and treat a timeout as a refusal.&lt;/li&gt;
&lt;li&gt;Budget the runtime, because static checks can be wrong.&lt;/li&gt;
&lt;li&gt;Keep a known-good fallback that does not depend on the remote source.&lt;/li&gt;
&lt;li&gt;Quarantine what times out, by content hash.&lt;/li&gt;
&lt;li&gt;Log every refusal with a reason a person can act on.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of this is clever. It is a set of small fences, each one assuming the one before it might fail. The result is that the people who know the words can change them every week, and the people who run the API do not have to worry about it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Drafted with AI assistance from Conduyt's message-check source code; constants and behavior checked against the server module that loads the lists.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>regex</category>
      <category>security</category>
      <category>api</category>
      <category>javascript</category>
    </item>
    <item>
      <title>We put three AI agents from three vendors in one chat thread</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Sun, 08 Nov 2026 23:05:59 +0000</pubDate>
      <link>https://dev.to/conduyt/we-put-three-ai-agents-from-three-vendors-in-one-chat-thread-4pac</link>
      <guid>https://dev.to/conduyt/we-put-three-ai-agents-from-three-vendors-in-one-chat-thread-4pac</guid>
      <description>&lt;p&gt;By Jordan Tate, VP of Customer Relations at Conduyt.&lt;/p&gt;

&lt;p&gt;Conduyt is a CRM with its own Team Chat, and AI agents can join it as teammates with a name, an avatar and a handle. Today we ran three agents from three vendors in one thread on one task, with no person typing after the first message. Here is the transcript, then the five design decisions that kept them from talking over each other. None of them are specific to a CRM.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;Three teammates, one channel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drafter (Claude)&lt;/strong&gt;, a Claude agent, connected through a pair code and our CLI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewer (Grok)&lt;/strong&gt;, a Grok agent, connected through an MCP connector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Finalizer (Codex)&lt;/strong&gt;, a Codex-based agent, connected through a pair code and our CLI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A person posted one message:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Together, agree on a five-item QA checklist for a new Team Chat feature (a message reaction picker). @Drafter drafts, &lt;a class="mentioned-user" href="https://dev.to/reviewer"&gt;@reviewer&lt;/a&gt; challenges two items, @Finalizer writes the final list. Keep it in this thread.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The transcript
&lt;/h2&gt;

&lt;p&gt;Trimmed; the agents' words are unchanged, names swapped for roles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Drafter (Claude), 12 s after the prompt:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;Add and remove: picking an emoji adds my reaction and the count updates right away. Picking it again removes it. Each user can add a given emoji only once per message.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/reviewer"&gt;@reviewer&lt;/a&gt; please challenge two items. @Finalizer will then write the final list.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Reviewer (Grok), 38 s later:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Item 2 (add and remove): "the count updates right away" is only half the test. It should also cover what happens when the save fails, for example offline or a server error. The optimistic count has to roll back and the user needs to see that it didn't stick.&lt;/p&gt;

&lt;p&gt;Item 4 (persistence and permissions): it mixes three different things, and the agent line is too loose. [...] Also say what happens to reactions when the message is edited or deleted, since that's a common gap.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Reviewer (Grok), 10 s later, answering the Drafter's mention:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Item 3 (realtime sync) isn't testable as written. "Counts stay consistent" needs a pass condition. [...] Also add reconnect: a client that was offline while reactions changed shows the correct state after it reconnects, without a reload.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Finalizer (Codex), 14 s later:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Final QA checklist:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Picker lifecycle: open it from a message by hover, tap, or keyboard; close it on selection, Esc, or outside click; restore focus; never clip inside mobile or thread views.&lt;/li&gt;
&lt;li&gt;Toggle integrity: each user adds an emoji once and removes it on a second selection; optimistic counts roll back visibly after offline/server failure; rapid double-taps never create phantom reactions or wrong counts.&lt;/li&gt;
&lt;li&gt;Realtime and concurrency: human and AI reactions appear without refresh, and simultaneous reactions converge on the same identities and total for every viewer.&lt;/li&gt;
&lt;li&gt;Persistence, permissions, and lifecycle: reactions survive reload and thread navigation; read-only users cannot react; agent name/avatar and removal ownership are correct; message edits and deletes handle reactions consistently.&lt;/li&gt;
&lt;li&gt;Accessibility and layout: the picker is keyboard-only usable, screen-reader labeled, touch-friendly, unclipped on mobile and in threads, and long reaction lists wrap cleanly.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;

&lt;p&gt;Four seconds later the thread got a system line: "AI agents paused, this thread needs a human." From the prompt to that line took 78 seconds.&lt;/p&gt;

&lt;p&gt;The final list is not a copy of the draft. Each agent read the others' posts in the thread and built on them.&lt;/p&gt;

&lt;p&gt;The Reviewer posting twice is not a bug. Two different messages mentioned it, the prompt and the draft, and each mention in a distinct message is its own turn. The delivery log shows exactly one turn per message.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision 1: every turn says where it came from and where the answer goes
&lt;/h2&gt;

&lt;p&gt;A turn is the unit of work. It carries the channel id, the message id, and a &lt;code&gt;threadId&lt;/code&gt;, which is the thread root, or the message itself for a top-level post. The agent replies with &lt;code&gt;parentId = threadId&lt;/code&gt;, so answers never land in the wrong place. The turn also carries &lt;code&gt;senderIsOwner&lt;/code&gt; and a &lt;code&gt;linkedRecord&lt;/code&gt;, and mentions use stable IDs rather than display names. CLI-connected agents also get up to 20 earlier messages of the thread.&lt;/p&gt;

&lt;p&gt;The Claude agent put it this way: "Each turn arrives with the channel id, message id and reply parent. That makes it clear where my reply goes. @-mentions use stable IDs. Routing is unambiguous even when display names are similar."&lt;/p&gt;

&lt;p&gt;What the turn did not carry on test day was a roster of who else is in the channel, or a deadline. The Reviewer told us so. That is shipping this week: a roster, a deadline and the thread's context on every turn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision 2: one answer per turn, enforced by an idempotency key
&lt;/h2&gt;

&lt;p&gt;Agents retry, and a retried run can post twice. So every turn carries a &lt;code&gt;replyIdempotencyKey&lt;/code&gt; derived from the message (&lt;code&gt;turn:&amp;lt;messageId&amp;gt;&lt;/code&gt; or &lt;code&gt;reply:&amp;lt;messageId&amp;gt;&lt;/code&gt;). A second reply with the same key returns the first reply instead of posting another. The tool description says it plainly: "Reply at most once per turn."&lt;/p&gt;

&lt;p&gt;The Reviewer's verdict on the payload: "replyIdempotencyKey, turnToken, threadId, senderIsOwner and linkedRecord were exactly what I needed, and reply refusing to post twice is great."&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision 3: a turn token bound to the message
&lt;/h2&gt;

&lt;p&gt;An idempotency key stops duplicates, not answers that arrive too late to make sense. For a teammate connected through a connector, each turn carries a &lt;code&gt;turnToken&lt;/code&gt;: an expiry plus an HMAC over the teammate and the message, good for 60 minutes. A turn is only delivered if its message is at most 10 minutes old. A reply with a missing, wrong or expired token gets HTTP 409 &lt;code&gt;turn_token_invalid&lt;/code&gt;, and the error text ends with "nothing was posted".&lt;/p&gt;

&lt;p&gt;Every reply also needs the teammate's current bearer key, and a new key revokes the old one. CLI-connected teammates hold a claim on the turn instead, on a 10-minute lease. And &lt;code&gt;send&lt;/code&gt; exists only for the connection test's hello; anything else through it gets 409 &lt;code&gt;send_not_in_turn&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision 4: a chain cap, and a pause a person can see
&lt;/h2&gt;

&lt;p&gt;Two agents that mention each other can talk forever, so we cap it twice. On test day, an agent post that answered another agent's message was refused after 2 consecutive agent posts with no person between; the release that shipped tonight raises that chain cap to 6. Separately, 6 consecutive agent posts in a thread is the ceiling. Either cap posts a visible line, "AI agents paused, this thread needs a human", and the next post by a person resumes the agents. An agent's top-level post never creates a turn for another agent.&lt;/p&gt;

&lt;p&gt;That pause is the last line of the transcript. In an earlier round-table test the same cap ended a conversation before every agent had spoken. The number is tunable; the pause is the point. Agents also answer only when mentioned, or when a person (never another agent) replies under their answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decision 5: budgets and least privilege
&lt;/h2&gt;

&lt;p&gt;Each teammate has a budget of 200 turns a day. Its key starts with &lt;code&gt;cdy_&lt;/code&gt;, is scoped to chat and deals, and is limited to 120 requests a minute. Every write tool call counts against a budget of 500 mutations an hour per key. Messages cap at 10,000 characters.&lt;/p&gt;

&lt;p&gt;The key must arrive as an &lt;code&gt;Authorization: Bearer&lt;/code&gt; header; anything else gets 403 &lt;code&gt;agent_key_required&lt;/code&gt;. The teammate acts with the visibility of the person who created it in Settings, nothing more, and everything it posts carries its own name, avatar and handle.&lt;/p&gt;

&lt;h2&gt;
  
  
  The whole surface is six tools
&lt;/h2&gt;

&lt;p&gt;The MCP endpoint is stateless Streamable HTTP at &lt;code&gt;POST /api/v1/chat/agents/me/mcp&lt;/code&gt;, JSON only, no session id. The handshake carries this server instructions string:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Conduyt Team Chat tools for an AI teammate. Answer a turn with exactly one of: reply (with the turn's replyIdempotencyKey), react, or nothing.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The six tools, with the first line of each description:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;reply&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"Reply in a Conduyt Team Chat thread: this is how a turn is answered."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;react&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"React to a Conduyt Team Chat message with one emoji."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;stay_silent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"End a CLAIMED turn without replying or reacting, when no response is warranted."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;send&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"Only for Conduyt's connection test (chat.agent_test): post its hello, body exactly "Hello, I'm connected."."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;linked_record&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"Read the deal or contact this channel is linked to (a read-only summary)."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;read_messages&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;"Read the latest messages of a Conduyt Team Chat channel, newest first."&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Grok agent's review of the handshake: "The MCP handshake was clean: one URL, bearer auth, six tools with good descriptions, and server instructions that spell out the rule."&lt;/p&gt;

&lt;p&gt;The part worth copying is "or nothing": staying quiet is a valid answer, stated in the first thing the agent reads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting your own agent
&lt;/h2&gt;

&lt;p&gt;In Settings &amp;gt; AI, turn on AI teammates, name the agent, pick its provider and press Add; you can connect in about a minute. A Grok agent connects through a connector pointed at &lt;code&gt;https://conduyt.app/api/v1/chat/agents/me/mcp&lt;/code&gt;. Claude Code and Codex connect with a single-use pair code, good for 15 minutes, pasted into &lt;code&gt;conduyt agent listen&lt;/code&gt; from our published &lt;code&gt;conduyt&lt;/code&gt; CLI on npm. Either way, the agent proves it is connected by posting "Hello, I'm connected." in the channel.&lt;/p&gt;

&lt;p&gt;Then give them roles in one message and let them collaborate on tasks in a thread.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Team Chat: &lt;a href="https://conduyt.com/features/team-chat/" rel="noopener noreferrer"&gt;https://conduyt.com/features/team-chat/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;How the agents work together: &lt;a href="https://conduyt.com/resources/ai-agents-working-together/" rel="noopener noreferrer"&gt;https://conduyt.com/resources/ai-agents-working-together/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build something similar, start with the idempotency key and the pause line.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>agents</category>
      <category>architecture</category>
    </item>
    <item>
      <title>What 393 tools taught us about designing an MCP server</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Sun, 08 Nov 2026 03:24:53 +0000</pubDate>
      <link>https://dev.to/conduyt/what-393-tools-taught-us-about-designing-an-mcp-server-4men</link>
      <guid>https://dev.to/conduyt/what-393-tools-taught-us-about-designing-an-mcp-server-4men</guid>
      <description>&lt;p&gt;By Jordan Tate, Head of Growth at Conduyt.&lt;/p&gt;

&lt;p&gt;Our MCP server, &lt;a href="https://www.npmjs.com/package/conduyt-mcp" rel="noopener noreferrer"&gt;conduyt-mcp&lt;/a&gt;, registers 393 tools in version 4.105.7. That is a lot of surface for a language model to choose from, and most of what we learned getting there has nothing to do with the CRM itself. It is about naming, metadata, and saying no early.&lt;/p&gt;

&lt;p&gt;This post walks through the decisions that held up, with real snippets from the published package and the relevant parts of the &lt;a href="https://modelcontextprotocol.io/specification/2025-06-18/server/tools" rel="noopener noreferrer"&gt;MCP specification&lt;/a&gt;. If you are building a server with more than a handful of tools, most of this applies to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start by admitting you will not wrap everything
&lt;/h2&gt;

&lt;p&gt;The package ships a coverage matrix. For 4.105.7 it lists 1,162 REST endpoints: 347 covered by a tool, 355 deliberately excluded, 460 planned. Excluded means things like unauthenticated public surfaces and browser-only OAuth flows, each with a written reason.&lt;/p&gt;

&lt;p&gt;That file is also exposed as a tool, &lt;code&gt;conduyt_mcp_coverage&lt;/code&gt;, whose description tells the model to use it "to know up front whether a capability you discovered in conduyt_api_catalog is executable here, instead of failing mid-task." An agent that can ask "is this possible here?" before it starts wastes far fewer turns than one that discovers the gap halfway through a job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Naming: one prefix, boring verbs
&lt;/h2&gt;

&lt;p&gt;Every one of the 393 tool names is &lt;code&gt;conduyt_&lt;/code&gt; plus snake_case. The most common second word is a plain verb:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Verb&lt;/th&gt;
&lt;th&gt;Tools&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;list&lt;/td&gt;
&lt;td&gt;60&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;get&lt;/td&gt;
&lt;td&gt;53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;update&lt;/td&gt;
&lt;td&gt;45&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;create&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;delete&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Boring is the point. If the model has seen &lt;code&gt;conduyt_list_deals&lt;/code&gt;, it can guess &lt;code&gt;conduyt_list_tasks&lt;/code&gt; exists and what it returns. We are not perfectly consistent. Integration tools are namespaced by product, like &lt;code&gt;conduyt_zoom_test&lt;/code&gt; or &lt;code&gt;conduyt_mailchimp_push_now&lt;/code&gt;, and that is fine as long as the pattern inside each family holds.&lt;/p&gt;

&lt;p&gt;The prefix matters more than it looks. Agents often run several servers at once, and an unprefixed &lt;code&gt;list_contacts&lt;/code&gt; will collide with someone else's.&lt;/p&gt;

&lt;h2&gt;
  
  
  Give every tool a human title
&lt;/h2&gt;

&lt;p&gt;The spec defines &lt;code&gt;title&lt;/code&gt; as an optional "human-readable name of the tool for display purposes," and the schema sets display precedence as &lt;code&gt;title&lt;/code&gt;, then &lt;code&gt;annotations.title&lt;/code&gt;, then &lt;code&gt;name&lt;/code&gt;. All 393 Conduyt tools carry a title, and every title is unique.&lt;/p&gt;

&lt;p&gt;Titles are for the person approving the call, not the model. "Delete Contact" in a confirmation prompt reads better than &lt;code&gt;conduyt_delete_contact&lt;/code&gt;, and the spec asks clients to put a human in the loop who can deny tool invocations. Make that human's job easy.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four hints, and why a missing one should be a crash
&lt;/h2&gt;

&lt;p&gt;The MCP schema defines four boolean hints on &lt;code&gt;ToolAnnotations&lt;/code&gt;. Paraphrasing the spec's definitions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;readOnlyHint&lt;/code&gt;: the tool does not modify its environment. Default &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;destructiveHint&lt;/code&gt;: the tool may perform destructive updates; if false, only additive ones. Only meaningful when not read-only. Default &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;idempotentHint&lt;/code&gt;: calling it repeatedly with the same arguments has no additional effect. Only meaningful when not read-only. Default &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;openWorldHint&lt;/code&gt;: the tool may interact with an open world of external entities. Default &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Look at those defaults. A tool with no annotations is, as far as a client is concerned, a non-idempotent, destructive, open-world write. A careful client will nag the user on every call to it, including your harmless &lt;code&gt;get_contact&lt;/code&gt;. A careless client will treat everything the same and the hints are wasted.&lt;/p&gt;

&lt;p&gt;So we made a missing row fatal. All titles and hints live in one table, and a wrapper around &lt;code&gt;server.tool&lt;/code&gt; refuses to register any tool that is not in it. Here is the shape, lightly trimmed from &lt;code&gt;dist/tool-annotations.js&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;row&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;readOnlyHint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;destructiveHint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;idempotentHint&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;readOnlyHint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;destructiveHint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;idempotentHint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;openWorldHint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&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="nx"&gt;ro&lt;/span&gt;      &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;row&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;create&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;row&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;update&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;row&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;destroy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;row&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;TOOL_ANNOTATIONS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;conduyt_list_contacts&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;  &lt;span class="nf"&gt;ro&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;List Contacts&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="na"&gt;conduyt_create_contact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Create Contact&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="na"&gt;conduyt_update_contact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Update Contact&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="na"&gt;conduyt_delete_contact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;destroy&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Delete Contact&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="c1"&gt;// ...389 more&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;annotateRegistrations&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;server&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="nx"&gt;original&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bind&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tool&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;rest&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;TOOL_ANNOTATIONS&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`tool &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; has no row in src/tool-annotations.ts: add a title and its four MCP hints`&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;registered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;original&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;rest&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="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;hints&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nx"&gt;registered&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nx"&gt;registered&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;annotations&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;hints&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;registered&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;The wrapper is installed before any tool module runs, so a new tool without a row breaks the server at startup, not quietly in production. For &lt;code&gt;conduyt_delete_contact&lt;/code&gt;, the annotation object that comes out of that row looks like this:&lt;br&gt;
&lt;/p&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Delete Contact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"readOnlyHint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"destructiveHint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"idempotentHint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"openWorldHint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The four helpers cover most tools, but 44 rows set their hints by hand, and the interesting rows, hand-set or not, carry a comment explaining the choice, often pointing at the route that justifies it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;conduyt_update_deal&lt;/code&gt; is not idempotent, because an identical PATCH re-dispatches the &lt;code&gt;deal.updated&lt;/code&gt; event and writes another audit row.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;conduyt_update_calling_hours&lt;/code&gt; is destructive, because turning the calling-time check off re-enables outreach at any hour.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;conduyt_export_activities_csv&lt;/code&gt; is not read-only even though it reads CRM data, because it writes a file on your machine and can overwrite one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The totals across all 393 tools: 168 read-only, 61 destructive, 295 idempotent (the 168 reads plus 127 writes), and &lt;code&gt;openWorldHint: false&lt;/code&gt; on every tool. That last one is our call, since each tool's domain is the CRM account behind the key. You could reasonably argue a tool that sends a text message touches the open world, and I would not fight hard on it.&lt;/p&gt;

&lt;p&gt;One caution from the spec itself: annotations are hints, "not guaranteed to provide a faithful description of tool behavior," and clients should never base tool use decisions on annotations from untrusted servers. Treat them as a contract you owe your users, not a security boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Writes need idempotency keys, not just idempotent hints
&lt;/h2&gt;

&lt;p&gt;An agent that times out mid-send will often retry. For a text message that means a duplicate in a customer's pocket. Two patterns in the package:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;conduyt_send_sms&lt;/code&gt; takes an optional &lt;code&gt;idempotencyKey&lt;/code&gt; (8 to 200 characters), described as an "Operation key for at-most-once sends." Reuse the same key when retrying a send whose outcome you did not see, and the server answers with the original message instead of sending again.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;conduyt_pipeline_health_fix_next_action&lt;/code&gt; sends its key as an &lt;code&gt;Idempotency-Key&lt;/code&gt; header, and its description spells out every outcome: same key and same body replays the first task, same key with a different body is a 422, a 409 means either still processing or a spent key, and a 503 tells you whether to retry with a new key or verify first.&lt;/p&gt;

&lt;p&gt;Note that &lt;code&gt;conduyt_send_sms&lt;/code&gt; still has &lt;code&gt;idempotentHint: false&lt;/code&gt;. The key is optional, so the hint describes the call without it. Hints should describe the worst case a client can trigger.&lt;/p&gt;

&lt;p&gt;The HTTP client backs this up. It only ever retries GETs (at most 2 retries), never mutations. When a write times out, the error says "The server may have applied it: read the current state before repeating it." That one sentence prevents a lot of double writes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cap everything a model can ask for
&lt;/h2&gt;

&lt;p&gt;Models ask for large pages. Put the ceiling in the schema so the bad call fails as invalid input instead of as a slow response. A few of the caps in the package: per-page limits max out at 100 on the pipeline health views, 50 on batch-operation pages, and 500 when picking contacts from a saved list for a sequence.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;conduyt_list_contacts&lt;/code&gt; defaults to 25 per page, with 100 as the documented maximum, and its notes tell the model to "page on by &lt;code&gt;has_more&lt;/code&gt;, never by &lt;code&gt;total&lt;/code&gt;," because totals can be deferred or cached while &lt;code&gt;has_more&lt;/code&gt; is always exact. Under every call sits a response-size cap, 5 MB by default, and the error tells the model what to do next: "Narrow the query or paginate."&lt;/p&gt;

&lt;p&gt;Remember that &lt;code&gt;tools/list&lt;/code&gt; itself is paginated in the spec, with a &lt;code&gt;cursor&lt;/code&gt; and &lt;code&gt;nextCursor&lt;/code&gt;. At 393 tools, clients that respect that matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scope by API key, and say the scope out loud
&lt;/h2&gt;

&lt;p&gt;The server refuses to start without a key carrying the &lt;code&gt;cdy_&lt;/code&gt; prefix, and every call runs as that key. There is no separate MCP permission model to drift out of sync with the API. The spec says servers must implement proper access controls; reusing the API's own scopes was the simplest way to get there.&lt;/p&gt;

&lt;p&gt;Two things make scopes usable by a model. First, &lt;code&gt;conduyt_check_permissions&lt;/code&gt; returns the key's tier, scopes, rate limits and usage, so an agent can check before it tries. Second, descriptions name the scope a tool needs. &lt;code&gt;conduyt_create_short_link&lt;/code&gt; says the key needs the &lt;code&gt;messages&lt;/code&gt; scope. A model that reads that will stop and report rather than loop on 403s.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reject arguments you do not know
&lt;/h2&gt;

&lt;p&gt;The SDK wraps a tool's input shape in a non-strict object, so a misspelled argument is silently stripped and the call "succeeds" without it. For a destructive tool that is dangerous: &lt;code&gt;expected_updated_at&lt;/code&gt; instead of &lt;code&gt;expectedUpdatedAt&lt;/code&gt; means your concurrency check never ran. 80 Conduyt tools opt into a strict schema where an unknown key is an InvalidParams error and the advertised JSON Schema says &lt;code&gt;additionalProperties: false&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Descriptions should say when not to use the tool
&lt;/h2&gt;

&lt;p&gt;With 393 tools, the model's hardest job is picking between two plausible ones. The fix is a description that names its neighbor. Here is a hypothetical weak description:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Exports activities to CSV.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And an excerpt from the real one for &lt;code&gt;conduyt_export_activities_csv&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Writes `out_path` (an absolute path; an existing file is refused unless
`overwrite: true`) and returns only { path, rows, bytes, parts }: the CSV
content is NEVER returned to you (it can be 50 MB). For a small read use
conduyt_list_activities instead.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second version tells the model what it gets back, what it will not get back, and which tool to pick if this is the wrong one. Same idea in &lt;code&gt;conduyt_pipeline_health_fix_deal&lt;/code&gt;, which handles four health checks and sends the other two to &lt;code&gt;conduyt_pipeline_health_fix_next_action&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Pair that with discovery tools. &lt;code&gt;conduyt_api_catalog&lt;/code&gt;, &lt;code&gt;conduyt_mcp_coverage&lt;/code&gt; and &lt;code&gt;conduyt_resolve_names&lt;/code&gt; exist so the model can find the right tool and the right IDs before it acts. If you want to see how we pitch this to non-developers, our &lt;a href="https://conduyt.com/ai/" rel="noopener noreferrer"&gt;AI page&lt;/a&gt; covers the product side.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist
&lt;/h2&gt;

&lt;p&gt;If I were starting a large MCP server tomorrow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;One prefix, verb-first names, the same verbs everywhere.&lt;/li&gt;
&lt;li&gt;A title on every tool, unique.&lt;/li&gt;
&lt;li&gt;All four hints set explicitly in one table, and registration fails without a row.&lt;/li&gt;
&lt;li&gt;Hand-set hints get a comment that points at the code that justifies them.&lt;/li&gt;
&lt;li&gt;Optional idempotency keys on every send and create, and no automatic retries of writes.&lt;/li&gt;
&lt;li&gt;Hard caps in the input schema, plus a response-size cap with an actionable error.&lt;/li&gt;
&lt;li&gt;Permissions come from the API key, and descriptions name the scope.&lt;/li&gt;
&lt;li&gt;Strict input on anything destructive.&lt;/li&gt;
&lt;li&gt;Every description says when to use a different tool.&lt;/li&gt;
&lt;li&gt;A coverage tool, so the agent knows what is missing before it starts.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of this is clever. It is the boring stuff that keeps a model from guessing, and at a few hundred tools, guessing is the expensive part. The package is public on npm if you want to read the whole table, and &lt;a href="https://conduyt.com" rel="noopener noreferrer"&gt;Conduyt&lt;/a&gt; is the CRM behind it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Drafted with AI assistance from Conduyt's published MCP package and the MCP spec; figures checked against conduyt-mcp 4.105.7.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Bring your own Twilio number: the case for owning your phone number, not renting it from your CRM</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Thu, 05 Nov 2026 14:46:09 +0000</pubDate>
      <link>https://dev.to/conduyt/bring-your-own-twilio-number-the-case-for-owning-your-phone-number-not-renting-it-from-your-crm-5e8d</link>
      <guid>https://dev.to/conduyt/bring-your-own-twilio-number-the-case-for-owning-your-phone-number-not-renting-it-from-your-crm-5e8d</guid>
      <description>&lt;p&gt;Your sales number is printed on trucks, business cards and a few hundred Google listings. Customers have it saved in their phones. Then you switch CRMs, and you learn the number was never in your account. It sat in your old vendor's.&lt;/p&gt;

&lt;p&gt;Disclosure: I work at a CRM company that connects to Twilio for texting.&lt;/p&gt;

&lt;p&gt;This post covers what porting rules protect, what they leave to contracts, why 10DLC registration is harder to move, and a setup where the CRM is a client of your phone account, not its owner. Every fact links to its source.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the porting rules guarantee
&lt;/h2&gt;

&lt;p&gt;The FCC's consumer guide is short. If you change providers and stay in the same geographic area, you keep your number, and porting &lt;a href="https://www.fcc.gov/consumers/guides/porting-keeping-your-phone-number-when-you-change-providers" rel="noopener noreferrer"&gt;"can be done between wireline, IP and wireless providers."&lt;/a&gt; It also says:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Simple ports take one business day.&lt;/strong&gt; That is an FCC rule. A simple port generally means one line and no complex switching changes. Between wireless providers, the phone may work within a few hours. Wireline to wireless may still take a few days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debt is not a veto.&lt;/strong&gt; Once you request service from a new company, the old one cannot refuse to port, even if you owe a balance or a termination fee.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fees can exist.&lt;/strong&gt; Companies may charge to port, and the guide suggests asking for a waiver.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't cancel first.&lt;/strong&gt; Start service with the new company before you end the old one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Moving towns can break it.&lt;/strong&gt; A new geographic area may mean you can't keep the number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of that is about you and a carrier. The guide does not cover a number that sits in a software vendor's carrier account. In that case, your contract with the vendor and the vendor's own process decide what happens. That is my reading, not legal advice.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the number lives in someone else's account
&lt;/h2&gt;

&lt;p&gt;Start with Twilio itself. Even in your own Twilio account, the owner of record a new carrier sees is Twilio. Twilio's port-away guide tells you to enter "Twilio, Inc." as the business name on the old account (&lt;a href="https://help.twilio.com/articles/223179588-How-do-I-port-my-phone-numbers-away-from-Twilio" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). What you control is the account around the number:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The new carrier asks for the last 8 characters of your Account SID.&lt;/li&gt;
&lt;li&gt;US local numbers need a port-out PIN, which you request from &lt;a href="mailto:porting@twilio.com"&gt;porting@twilio.com&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Twilio emails you to confirm the port is legit. The recipient must have the admin or billing role.&lt;/li&gt;
&lt;li&gt;If your details don't match Twilio's records, the port is rejected.&lt;/li&gt;
&lt;li&gt;Numbers must stay active until the port finishes. Release one early and the port fails.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now put a vendor in the middle. If the CRM bought the number inside its own Twilio account, the SID, the PIN request and the confirmation email all belong to the vendor. You need their help to leave.&lt;/p&gt;

&lt;p&gt;Some vendors document that process. Here is what I could find:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HubSpot.&lt;/strong&gt; Its knowledge base says porting a number in &lt;a href="https://knowledge.hubspot.com/calling/port-out-a-hubspot-phone-number" rel="noopener noreferrer"&gt;"makes HubSpot the owner of that phone number."&lt;/a&gt; Porting out is supported. Your new provider asks HubSpot's carrier, Twilio, for the CSR, PIN or account details, and that can take up to five business days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HighLevel.&lt;/strong&gt; Numbers can move from its LC Phone service into your own Twilio account, coordinated by HighLevel Support. It quotes about 1 to 2 business days once it has all the details. Call recordings and voicemails do not move with the number (&lt;a href="https://help.gohighlevel.com/support/solutions/articles/48001240107" rel="noopener noreferrer"&gt;HighLevel&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Close.&lt;/strong&gt; Its help center says ported numbers can't be deleted from Close, and to contact support to port one out. Deleting a rented number releases it from your account (&lt;a href="https://help.close.com/feature-guide/calling/call-routing-and-phone-menus" rel="noopener noreferrer"&gt;Close&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I did not find published port-out pages for other CRMs, so I'm not listing them. If a vendor has no such page, ask for its port-out steps in writing before you sign.&lt;/p&gt;

&lt;p&gt;One more case. Twilio's preferred setup for software vendors puts each customer in its own subaccount under the vendor's main account (&lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/onboarding-isv" rel="noopener noreferrer"&gt;Twilio ISV guide&lt;/a&gt;). Twilio's docs also say that if the main account is ever suspended, its subaccounts are suspended too. Closing a subaccount releases all of its phone numbers, and closed subaccounts are deleted after 30 days by default (&lt;a href="https://www.twilio.com/docs/iam/api/subaccounts" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Your number's fate is tied to the vendor's billing standing and offboarding script.&lt;/p&gt;

&lt;h2&gt;
  
  
  10DLC registration is the harder thing to move
&lt;/h2&gt;

&lt;p&gt;Under A2P 10DLC, a brand is the business that sends, and Twilio says each brand "belongs to a single Customer Profile" (&lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/onboarding-isv" rel="noopener noreferrer"&gt;Twilio ISV guide&lt;/a&gt;). Campaigns attach to that brand, and numbers attach to campaigns.&lt;/p&gt;

&lt;p&gt;What carries over to a new platform:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Campaigns don't span vendors.&lt;/strong&gt; Twilio states it is not possible to use a single campaign across multiple vendors (&lt;a href="https://help.twilio.com/articles/1260803965730" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Migration exists, but not for most of us.&lt;/strong&gt; TCR's CNP Migration Tool can move campaigns between providers without re-registration. It is for Campaign Service Providers who register directly with TCR. Twilio says direct customers can't register with TCR; they register through Twilio's Trust Hub (&lt;a href="https://help.twilio.com/articles/1260803965730" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Moving the number doesn't move the registration.&lt;/strong&gt; HighLevel's migration guide says A2P status is tied to the account or sub-account, not only the number. It tells you to verify or redo registration at the destination (&lt;a href="https://help.gohighlevel.com/support/solutions/articles/48001240107" rel="noopener noreferrer"&gt;HighLevel&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Re-registering costs money and calendar time. At Twilio every campaign pays a $15 vetting fee that is not refunded, brands pay $4.50 to register, and a standard campaign can sit in vetting for up to 5 business days (&lt;a href="https://help.twilio.com/articles/11587910480155-A2P-10DLC-Campaign-Vetting-FAQ" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). The full fee breakdown by provider is in this &lt;a href="https://conduyt.com/resources/10dlc-registration/" rel="noopener noreferrer"&gt;10DLC registration guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Opt-outs are the quiet risk. Twilio warns that restructuring into subaccounts resets the opt-out records it manages, because those settings live at the account level. Its fix: keep an up-to-date opt-out list before you restructure (&lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/onboarding-isv" rel="noopener noreferrer"&gt;Twilio ISV guide&lt;/a&gt;). If your STOP records live only in a vendor's account, ask how you would get them out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to keep in your own name
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The provider account itself, with you as the admin and billing user&lt;/li&gt;
&lt;li&gt;The phone numbers, bought or ported into that account&lt;/li&gt;
&lt;li&gt;The A2P brand and campaigns, registered under your legal name and EIN&lt;/li&gt;
&lt;li&gt;Your own opt-out list, exported or mirrored on every STOP&lt;/li&gt;
&lt;li&gt;The short-link domain your texts use&lt;/li&gt;
&lt;li&gt;The webhook endpoint that receives inbound messages&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The architecture
&lt;/h2&gt;

&lt;p&gt;Flip the usual setup. Your provider account is the hub, and the CRM is one client of it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Your own account.&lt;/strong&gt; Twilio, or another provider. You hold the main credentials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped keys for the CRM.&lt;/strong&gt; Twilio's API keys can be revoked whenever you like, and Standard keys can't touch the Accounts or Keys resources. Restricted keys narrow access further (&lt;a href="https://www.twilio.com/docs/iam/api-keys" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Give each tool its own key. Leaving a vendor then means revoking one key.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subaccounts if you want separation.&lt;/strong&gt; Under your main account they keep each brand's or team's usage and numbers apart (&lt;a href="https://www.twilio.com/docs/iam/api/subaccounts" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Here you are the main account, so the suspension and closure rules work for you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inbound webhooks to your endpoint.&lt;/strong&gt; Twilio signs each request with an &lt;code&gt;X-Twilio-Signature&lt;/code&gt; header, built with HMAC-SHA1 using your account auth token as the key (&lt;a href="https://www.twilio.com/docs/usage/webhooks/webhooks-security" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Store the message, then forward it to the CRM.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your own short-link domain.&lt;/strong&gt; Twilio's link shortening uses your own branded domain, and you must own that domain (&lt;a href="https://www.twilio.com/docs/messaging/features/link-shortening" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Links keep working after a CRM change.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is a small inbound handler in Node with Express. It checks the signature, writes the message to your own store first, mirrors opt-outs, then hands off to the CRM.&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;express&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;express&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;twilio&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;twilio&lt;/span&gt;&lt;span class="dl"&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="nx"&gt;MessagingResponse&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;twilio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;twiml&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;express&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;use&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;express&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlencoded&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;extended&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt; &lt;span class="p"&gt;}));&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;AUTH_TOKEN&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;TWILIO_AUTH_TOKEN&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// Must match the URL set in Twilio exactly&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;WEBHOOK_URL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://hooks.example.com/sms&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Twilio's default English opt-out keywords for long codes&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;OPT_OUT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Set&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
  &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;STOP&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;UNSUBSCRIBE&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;END&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;QUIT&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;STOPALL&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;REVOKE&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;OPTOUT&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;CANCEL&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]);&lt;/span&gt;

&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/sms&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;signature&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;X-Twilio-Signature&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;twilio&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;validateRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;AUTH_TOKEN&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;signature&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;WEBHOOK_URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;body&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Invalid signature&lt;/span&gt;&lt;span class="dl"&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="nx"&gt;MessageSid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;From&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;To&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;Body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;body&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// 1. Your record first&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;sid&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;MessageSid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;from&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;From&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;to&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;To&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Body&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="c1"&gt;// 2. Opt-outs into a list you own&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;OPT_OUT&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;has&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;Body&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;toUpperCase&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="nx"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;optOuts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;upsert&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;phone&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;From&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;at&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&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;// 3. Then the CRM&lt;/span&gt;
  &lt;span class="nf"&gt;forwardToCrm&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;body&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="c1"&gt;// Empty TwiML: no auto-reply&lt;/span&gt;
  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;text/xml&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;send&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;MessagingResponse&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;listen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;db&lt;/code&gt; and &lt;code&gt;forwardToCrm&lt;/code&gt; are placeholders. The keywords come from Twilio's &lt;a href="https://www.twilio.com/docs/messaging/tutorials/advanced-opt-out" rel="noopener noreferrer"&gt;Advanced Opt-Out docs&lt;/a&gt;, which also note Twilio handles them on long codes by default; the local copy is for you. Use the SDK's validator, not your own, since webhook parameters can change without notice (&lt;a href="https://www.twilio.com/docs/usage/webhooks/webhooks-security" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you sign up for any CRM with texting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Whose provider account holds the numbers: yours or the vendor's?&lt;/li&gt;
&lt;li&gt;[ ] Can you connect your own Twilio (or other provider) account with an API key?&lt;/li&gt;
&lt;li&gt;[ ] Is there a published, written port-out process? How many business days?&lt;/li&gt;
&lt;li&gt;[ ] Who receives the port-out confirmation and PIN?&lt;/li&gt;
&lt;li&gt;[ ] Is the A2P brand registered under your legal name and EIN, and can you see its IDs?&lt;/li&gt;
&lt;li&gt;[ ] If you leave, does the registration move, or do you re-register and pay vetting again?&lt;/li&gt;
&lt;li&gt;[ ] Can you export your opt-out list at any time?&lt;/li&gt;
&lt;li&gt;[ ] Do inbound webhooks go to a URL you control, or only into the vendor?&lt;/li&gt;
&lt;li&gt;[ ] Do texts use a short-link domain you own?&lt;/li&gt;
&lt;li&gt;[ ] Do call recordings and voicemails export before you leave?&lt;/li&gt;
&lt;li&gt;[ ] What happens to your numbers if the vendor closes or suspends your account?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the answers are "yours" across the board, switching CRMs later costs you an afternoon of rewiring keys and webhooks, not a new phone number.&lt;/p&gt;

&lt;p&gt;For what it's worth, the CRM I work on, Conduyt, works this way: it &lt;a href="https://conduyt.com/integrations/twilio/" rel="noopener noreferrer"&gt;connects to your own Twilio&lt;/a&gt; or Project Blue account, so the numbers stay in your name.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at &lt;a href="https://conduyt.com" rel="noopener noreferrer"&gt;Conduyt&lt;/a&gt;, a flat-price CRM for small sales teams. This post was drafted with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>twilio</category>
      <category>sms</category>
      <category>api</category>
      <category>saas</category>
    </item>
    <item>
      <title>10DLC for developers: what to register before your first US SMS</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Thu, 05 Nov 2026 01:26:23 +0000</pubDate>
      <link>https://dev.to/conduyt/10dlc-for-developers-what-to-register-before-your-first-us-sms-5dko</link>
      <guid>https://dev.to/conduyt/10dlc-for-developers-what-to-register-before-your-first-us-sms-5dko</guid>
      <description>&lt;p&gt;You wired up the send endpoint and the code looks done. Then traffic to US numbers starts failing. Often the code is fine. The missing piece is registration.&lt;/p&gt;

&lt;p&gt;Disclosure: I work at a CRM company that connects to Twilio for texting.&lt;/p&gt;

&lt;p&gt;This post is the developer's version: what fails, what to register, what data to gather first, and what it costs in money and calendar days. Every number below links to the page it came from.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why unregistered traffic fails
&lt;/h2&gt;

&lt;p&gt;A2P 10DLC means application-to-person messaging over a normal 10-digit US long code. The carriers want every business sending that kind of traffic registered first.&lt;/p&gt;

&lt;p&gt;At Twilio, a message to a US number from a +1 10DLC number that is not tied to an approved campaign is blocked with &lt;a href="https://www.twilio.com/docs/api/errors/30034" rel="noopener noreferrer"&gt;error 30034&lt;/a&gt;. The same page lists the ways to send before you are registered: toll-free, short code, or Verify.&lt;/p&gt;

&lt;p&gt;This is not a Twilio quirk. Telnyx's AT&amp;amp;T FAQ says that &lt;a href="https://support.telnyx.com/en/articles/3679260-10dlc-general-faq-s-at-t-launch-faq-s" rel="noopener noreferrer"&gt;"From February 3rd 2025, any 10DLC traffic which is not registered will be blocked altogether."&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So treat registration as a deploy dependency, not a compliance task for later.&lt;/p&gt;

&lt;h2&gt;
  
  
  The flow: brand, then campaign, then number
&lt;/h2&gt;

&lt;p&gt;There are three objects, and each one depends on the one before it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Brand.&lt;/strong&gt; The legal business doing the sending. Your provider submits it to The Campaign Registry (TCR).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Campaign.&lt;/strong&gt; What you send, to whom, and how they opted in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Number.&lt;/strong&gt; Your 10DLC numbers get attached to an approved campaign. Only then does traffic flow.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you build for clients, note the limit: Twilio caps it at &lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc" rel="noopener noreferrer"&gt;five Standard or Low Volume Standard brands for each tax ID&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Collect this before you open the console
&lt;/h2&gt;

&lt;p&gt;Most delays come from data that does not match an official record. Gather it all first. Twilio's &lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/collect-business-info" rel="noopener noreferrer"&gt;brand field list&lt;/a&gt; looks roughly like this:&lt;br&gt;
&lt;/p&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"legal_business_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Exactly as printed on the IRS CP 575 EIN letter"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"business_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"e.g. LLC, corporation, non-profit"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"industry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"registration_id_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"EIN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"registration_number"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"12-3456789"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"address"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Same address the IRS has on file for that EIN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"website"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Live site on your own domain"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"social_media_urls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"regions_of_operation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"authorized_rep"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"first_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"last_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"job_position"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"phone"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"name@yourdomain.com"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"stock_exchange_and_ticker"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"only if public"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"brand_contact_email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"name@yourdomain.com"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few rules hide inside those fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Legal name comes from the CP 575 letter&lt;/strong&gt;, never from a W-2 or W-9. Lost the letter? You can request a 147C letter instead (&lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/collect-business-info" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The address should match the EIN record.&lt;/strong&gt; Twilio names an address that differs from the EIN record as one cause of a low trust score (&lt;a href="https://help.twilio.com/articles/1260803225669-Message-throughput-MPS-and-Trust-Scores-for-A2P-10DLC-in-the-US" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use a domain email.&lt;/strong&gt; Twilio's campaign guide rules out gmail and yahoo addresses and wants a working website with no third-party redirects (&lt;a href="https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Requirements" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A sole proprietorship that has an EIN&lt;/strong&gt; registers as Standard or Low Volume Standard, not as Sole Proprietor (&lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/collect-business-info" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;TCR sets most fees and providers pass them through. Here are the main lines from &lt;a href="https://www.campaignregistry.com/Assets/TCR%20Fees%20and%20Pricing.pdf" rel="noopener noreferrer"&gt;TCR's fee schedule&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Brand registration: $4.50 ($4.00 for sole proprietors)&lt;/li&gt;
&lt;li&gt;Standard vet, which produces a 0-100 trust score: $41.50&lt;/li&gt;
&lt;li&gt;Monthly campaign fee: $1.50 for low volume mixed, $10 for standard use cases such as 2FA, account notifications, customer care and marketing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On top of that, Twilio and Telnyx each charge a $15 campaign vetting fee. Twilio's is non-refundable (&lt;a href="https://help.twilio.com/articles/11587910480155-A2P-10DLC-Campaign-Vetting-FAQ" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Telnyx charges it per review (&lt;a href="https://support.telnyx.com/en/articles/5634625-10dlc-fees-and-charges" rel="noopener noreferrer"&gt;Telnyx&lt;/a&gt;). TCR's schedule does not list this fee.&lt;/p&gt;

&lt;p&gt;Bandwidth prices differ. For example, its brand registration is $9, and a standard campaign is $20 a month (&lt;a href="https://www.bandwidth.com/support/en/articles/12823086" rel="noopener noreferrer"&gt;Bandwidth&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Pick the brand tier by volume. Twilio's Low Volume Standard brand fits under 6,000 messages a day, and Standard fits above that (&lt;a href="https://help.twilio.com/articles/1260803965530-What-pricing-and-fees-are-associated-with-the-A2P-10DLC-service-" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). For the full fee table across providers, there is &lt;a href="https://conduyt.com/resources/10dlc-registration/" rel="noopener noreferrer"&gt;a longer walk-through of 10DLC costs and rejections&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How long it takes
&lt;/h2&gt;

&lt;p&gt;Put these waits on the project plan, not in the last sprint. From &lt;a href="https://www.twilio.com/docs/messaging/compliance/a2p-10dlc/direct-standard-onboarding" rel="noopener noreferrer"&gt;Twilio's onboarding doc&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Customer Profile approval "may take 72 hours or more". You can keep going while it is pending.&lt;/li&gt;
&lt;li&gt;TCR brand review usually takes a few minutes. If it goes to manual third-party review, expect seven business days or more.&lt;/li&gt;
&lt;li&gt;Campaign review: a standard use case can sit for as long as 5 business days. Past 10 days, open a support ticket.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Telnyx and Bandwidth did not publish review times on the pages I checked, so I would not assume they are faster.&lt;/p&gt;

&lt;h2&gt;
  
  
  Trust score, throughput and daily caps
&lt;/h2&gt;

&lt;p&gt;The vetting score sets your speed limits. Twilio's &lt;a href="https://help.twilio.com/articles/1260803225669-Message-throughput-MPS-and-Trust-Scores-for-A2P-10DLC-in-the-US" rel="noopener noreferrer"&gt;throughput table&lt;/a&gt; gives 75 messages per second per carrier for scores of 75-100, 40 for 50-74, and 4 for 1-49. Twilio also says scores are static, and an appeal needs the IRS EIN letter.&lt;/p&gt;

&lt;p&gt;T-Mobile adds a daily cap by score (&lt;a href="https://help.twilio.com/articles/1260804800549-T-Mobile-daily-message-limits-for-long-code-messaging-with-A2P-10DLC" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Trust score&lt;/th&gt;
&lt;th&gt;T-Mobile daily cap&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1-24&lt;/td&gt;
&lt;td&gt;2,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25-49&lt;/td&gt;
&lt;td&gt;10,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50-74&lt;/td&gt;
&lt;td&gt;40,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;75-100&lt;/td&gt;
&lt;td&gt;200,000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three details matter for your queue design:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The cap applies &lt;strong&gt;per EIN&lt;/strong&gt;, shared across platforms and providers. A second provider does not buy you more room.&lt;/li&gt;
&lt;li&gt;It resets at midnight Pacific, not midnight in your server's time zone.&lt;/li&gt;
&lt;li&gt;Texts over the cap fail with &lt;a href="https://www.twilio.com/docs/api/errors/30023" rel="noopener noreferrer"&gt;error 30023&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you send a nightly batch, spread it so it does not hit the cap before the reset.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why campaigns get rejected
&lt;/h2&gt;

&lt;p&gt;Twilio's campaign guide calls message flow &lt;a href="https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Requirements" rel="noopener noreferrer"&gt;"where most rejections happen"&lt;/a&gt;. The reviewer needs to see how a person opts in. A web form should have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An opt-in checkbox that is not pre-selected&lt;/li&gt;
&lt;li&gt;Message frequency&lt;/li&gt;
&lt;li&gt;"Msg &amp;amp; data rates may apply"&lt;/li&gt;
&lt;li&gt;HELP and STOP instructions&lt;/li&gt;
&lt;li&gt;Links to your terms and privacy policy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the form sits behind a login, upload a public screenshot. The privacy policy should also carry this statement: "We do not sell or share your SMS opt-in data or personal information with third parties for marketing purposes." (&lt;a href="https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Requirements" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;A bare-bones opt-in block with every required element looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;label&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"checkbox"&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"sms_opt_in"&lt;/span&gt; &lt;span class="na"&gt;value=&lt;/span&gt;&lt;span class="s"&gt;"yes"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Text me appointment reminders from [Brand Name]. Up to [N] msgs/month.
  Msg &lt;span class="ni"&gt;&amp;amp;amp;&lt;/span&gt; data rates may apply. Reply HELP for help, STOP to cancel.
  &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"/terms"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Terms&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt; | &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"/privacy"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Privacy Policy&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No &lt;code&gt;checked&lt;/code&gt; attribute. That one matters.&lt;/p&gt;

&lt;p&gt;Other common rejections:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Public link shorteners.&lt;/strong&gt; Links on bit.ly or TinyURL trigger &lt;a href="https://www.twilio.com/docs/api/errors/30892" rel="noopener noreferrer"&gt;error 30892&lt;/a&gt;. If you need short links, put them on your own domain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A website that is only a form.&lt;/strong&gt; That is &lt;a href="https://www.twilio.com/docs/api/errors/30920" rel="noopener noreferrer"&gt;error 30920&lt;/a&gt;. The site needs to show a real business.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A description that does not match.&lt;/strong&gt; It must say who sends, who receives and why, and it must match the brand and the samples (&lt;a href="https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Requirements" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Content, spam or disallowed-use rejections cannot be resubmitted at Twilio. You appeal through support (&lt;a href="https://help.twilio.com/articles/15778026827291" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Edit, don't recreate
&lt;/h2&gt;

&lt;p&gt;When a campaign comes back rejected, the reflex is to delete it and start over. Don't. Twilio's &lt;a href="https://www.twilio.com/docs/api/errors/30922" rel="noopener noreferrer"&gt;error 30922&lt;/a&gt; page says to edit the rejected campaign instead, and that "A vetting fee is assessed only once per campaign." A new campaign means a new $15 fee.&lt;/p&gt;

&lt;p&gt;Telnyx works differently. Its $15 is charged per review, and a campaign "may be submitted multiple times" (&lt;a href="https://support.telnyx.com/en/articles/5634625-10dlc-fees-and-charges" rel="noopener noreferrer"&gt;Telnyx&lt;/a&gt;). So on Telnyx each resubmission costs money. Fix everything before you resubmit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sample messages that pass
&lt;/h2&gt;

&lt;p&gt;Twilio wants 2 to 5 samples with the brand name, bracketed variables, and "Reply STOP to unsubscribe" in at least one (&lt;a href="https://help.twilio.com/articles/11847054539547-A2P-10DLC-Campaign-Approval-Requirements" rel="noopener noreferrer"&gt;Twilio&lt;/a&gt;). Two that fit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Brand Name]: Hi [First Name], your appointment is on [Date] at [Time]. Reply C to confirm. Reply STOP to unsubscribe.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Brand Name]: Your order [Order Number] has shipped. Track it at [yourdomain.com/track]. Reply HELP for help, STOP to opt out.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note the tracking link sits on your own domain, not a public shortener.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pre-flight checklist
&lt;/h2&gt;

&lt;p&gt;Before your app sends its first US text:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Legal name copied from the CP 575 letter&lt;/li&gt;
&lt;li&gt;[ ] Address matches the IRS record for the EIN&lt;/li&gt;
&lt;li&gt;[ ] Live website on your own domain, more than a lone form&lt;/li&gt;
&lt;li&gt;[ ] Contact email on that domain, not gmail or yahoo&lt;/li&gt;
&lt;li&gt;[ ] Brand tier picked by daily volume&lt;/li&gt;
&lt;li&gt;[ ] Opt-in form: unchecked box, frequency, "Msg &amp;amp; data rates may apply", HELP, STOP, terms and privacy links&lt;/li&gt;
&lt;li&gt;[ ] Privacy policy includes the no-sharing statement for SMS opt-in data&lt;/li&gt;
&lt;li&gt;[ ] 2-5 samples with brand name, bracketed variables and STOP language&lt;/li&gt;
&lt;li&gt;[ ] No public shorteners in samples or live templates&lt;/li&gt;
&lt;li&gt;[ ] Queue respects per-EIN T-Mobile caps that reset at midnight Pacific&lt;/li&gt;
&lt;li&gt;[ ] Error handling for 30034 and 30023&lt;/li&gt;
&lt;li&gt;[ ] Calendar time blocked for up to 5 business days of campaign review&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'd register the brand first, the day the project starts. It costs little and has the most unpredictable wait.&lt;/p&gt;

&lt;p&gt;If you would rather text from a CRM than build it, Conduyt sends on your own Twilio or Project Blue line.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at &lt;a href="https://conduyt.com" rel="noopener noreferrer"&gt;Conduyt&lt;/a&gt;, a flat-price CRM for small sales teams. This post was drafted with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>sms</category>
      <category>twilio</category>
      <category>compliance</category>
      <category>api</category>
    </item>
    <item>
      <title>How to let an AI agent work in your CRM without breaking it</title>
      <dc:creator>Jordan Tate</dc:creator>
      <pubDate>Mon, 02 Nov 2026 16:53:44 +0000</pubDate>
      <link>https://dev.to/conduyt/how-to-let-an-ai-agent-work-in-your-crm-without-breaking-it-266c</link>
      <guid>https://dev.to/conduyt/how-to-let-an-ai-agent-work-in-your-crm-without-breaking-it-266c</guid>
      <description>&lt;p&gt;An AI agent that can read your CRM is useful. An AI agent that can write to it can also merge the wrong contacts, move deals nobody asked it to move, and text a lead at 11pm.&lt;/p&gt;

&lt;p&gt;So don't start by giving the agent everything. Treat it like a new hire: limited access, small jobs, and someone checking the work. (Disclosure: I work at a CRM company, and I use our product for the examples below.)&lt;/p&gt;

&lt;p&gt;Here's the order that works, whichever CRM you use.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Give the agent its own API key
&lt;/h2&gt;

&lt;p&gt;Don't hand it an admin key or your personal one. A separate key gets you three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can see which changes came from the agent.&lt;/li&gt;
&lt;li&gt;You can scope it to what the job needs.&lt;/li&gt;
&lt;li&gt;You can revoke it without logging your whole team out.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your CRM only offers one all-powerful key, treat that as a real limit and keep the agent read-only through your own proxy until it doesn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Start read-only
&lt;/h2&gt;

&lt;p&gt;Give the agent read scopes for a week or two and make it prove itself on jobs where a mistake costs nothing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Summarize a contact's history before a sales call&lt;/li&gt;
&lt;li&gt;List deals that haven't moved in 14 days&lt;/li&gt;
&lt;li&gt;Find contacts with missing fields&lt;/li&gt;
&lt;li&gt;Draft (don't send) a follow-up&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You'll learn more from this than from any demo, including how messy your data is, because an agent repeats your mess back to you with confidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Use MCP if your CRM has it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://modelcontextprotocol.io" rel="noopener noreferrer"&gt;Model Context Protocol&lt;/a&gt; gives an agent a typed list of tools instead of a pile of API docs. The agent can see what exists and what parameters each tool takes, so it guesses less.&lt;/p&gt;

&lt;p&gt;Setup is usually a few lines of config. This is the shape for Claude Desktop, using our own server as the example:&lt;br&gt;
&lt;/p&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"conduyt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&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="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"conduyt-mcp"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"CONDUYT_API_URL"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://conduyt.app"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"CONDUYT_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"cdy_your_key_here"&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep the key in the env block or a secret manager, not in a prompt. Check what the server exposes before you connect it. Ours has a &lt;code&gt;conduyt_check_permissions&lt;/code&gt; tool that reports what the current key can do, which is a good first call for any agent. If yours has nothing like it, have the agent try a harmless read and a harmless write, and confirm the write is refused.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Decide which writes are safe, then widen slowly
&lt;/h2&gt;

&lt;p&gt;Not all writes carry the same risk. A rough ladder:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Risk&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;th&gt;Suggested handling&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;td&gt;Add a note, create a task, add a tag&lt;/td&gt;
&lt;td&gt;Let it run, review weekly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;Update a field, move a deal stage&lt;/td&gt;
&lt;td&gt;Let it run on rules you wrote down, spot-check daily&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;Merge or delete records, bulk changes&lt;/td&gt;
&lt;td&gt;Human approval every time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Customer-facing&lt;/td&gt;
&lt;td&gt;Send an email or text&lt;/td&gt;
&lt;td&gt;Human approval until you trust it, and always check consent and opt-outs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is the one that hurts. A bad field update is a cleanup job. A bad text to a lead can be a compliance problem, and in the US that includes 10DLC registration and opt-out rules. Sending stays with a human longer than anything else.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Look for guardrails built for concurrency
&lt;/h2&gt;

&lt;p&gt;Agents are fast, and they act on data that may be seconds old. Two things to check in your CRM's API:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conflict detection.&lt;/strong&gt; If a rep edits a deal while the agent is working from a stale copy, does the write fail or silently overwrite the rep? Look for revision or version checks. In our API, some writes accept an &lt;code&gt;expectedRevision&lt;/code&gt; and return a 409 if the record changed underneath you. Whatever your CRM calls it, you want that behavior, and you want the agent told to re-read and retry rather than force it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Two-step destructive actions.&lt;/strong&gt; Our merge tool won't run on the first call. It's marked destructive and asks for a confirmation of the impact first. If your CRM has no equivalent, wrap destructive calls yourself and require a human yes.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Write the rules down where the agent can read them
&lt;/h2&gt;

&lt;p&gt;An agent can't follow a rule that only exists in someone's head. Put them in the system prompt or a shared doc:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which pipelines it can touch&lt;/li&gt;
&lt;li&gt;What "stale" means here&lt;/li&gt;
&lt;li&gt;Who to assign new tasks to&lt;/li&gt;
&lt;li&gt;When it must stop and ask&lt;/li&gt;
&lt;li&gt;What it should never do&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Short and specific beats long and general.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Check the work on a schedule
&lt;/h2&gt;

&lt;p&gt;Pick a time each week to read what the agent changed. If your CRM keeps a timeline or audit trail, use it. If mistakes keep falling, widen its access. If they aren't, fix the rule or narrow the scope.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to start on Monday
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create a separate read-only key.&lt;/li&gt;
&lt;li&gt;Connect it through MCP or a small script.&lt;/li&gt;
&lt;li&gt;Ask it one question you already know the answer to, like "which deals over $5,000 haven't moved in two weeks?"&lt;/li&gt;
&lt;li&gt;Compare the answer with what you know.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last step tells you whether your agent, or your data, is ready for more.&lt;/p&gt;

&lt;p&gt;If you want to see how the tool side looks in practice, &lt;a href="https://conduyt.com/mcp/" rel="noopener noreferrer"&gt;our MCP server page&lt;/a&gt; lists what an agent can do in Conduyt. The steps above work with any CRM that has an API.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Jordan Tate is VP of Customer Relations at &lt;a href="https://conduyt.com" rel="noopener noreferrer"&gt;Conduyt&lt;/a&gt;, a flat-price CRM for small sales teams. This post was drafted with AI assistance.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>crm</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
