<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sid Jeffries Jr. on Medium]]></title>
        <description><![CDATA[Stories by Sid Jeffries Jr. on Medium]]></description>
        <link>https://medium.com/@sidjjr?source=rss-1cbd9f0b2ccf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Sid Jeffries Jr. on Medium</title>
            <link>https://medium.com/@sidjjr?source=rss-1cbd9f0b2ccf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:51:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sidjjr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Architect AI Agent Identity]]></title>
            <link>https://medium.com/@sidjjr/how-to-architect-ai-agent-identity-b92f33bc60af?source=rss-1cbd9f0b2ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b92f33bc60af</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[identity]]></category>
            <dc:creator><![CDATA[Sid Jeffries Jr.]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 17:28:43 GMT</pubDate>
            <atom:updated>2026-11-29T17:52:09.862Z</atom:updated>
            <content:encoded><![CDATA[<p>Search for <em>“AI agent identity”</em> right now and you’ll find three completely different primitives wearing the same label.</p><p>One binds an internal bot to your Okta directory. Another mints cryptographic certificates for Kubernetes workloads. A third asks you to host a /.well-known/ discovery file so an external agent can create a customer account at your self-serve signup endpoint.</p><p>The category label implies a single problem and a single architecture. In practice, it mashes together five distinct jobs — each with a different trust boundary, credential owner, and audit requirement. A primitive engineered for one job isn’t just suboptimal for another; it’s structurally the wrong tool.</p><p>If you’re building self-serve onboarding or growth infrastructure, the first step isn’t comparing feature matrices. It’s mapping <strong>which job your system actually needs done</strong>. Group the landscape by job, and the right architecture mostly picks itself.</p><h3>Five jobs, two questions</h3><p>You can separate the entire landscape with two architectural questions:</p><ol><li><strong>Whose trust boundary is the agent inside?</strong> Workforce and workload tools assume you control the identity directory or compute network. Customer signup tools assume the agent is arriving from the outside world.</li><li><strong>Does the account already exist?</strong> Access and workload tools attach policy to a known principal. Public signup and claim-later provisioning create — or hand off — something brand new.</li></ol><p>Those two answers split the market into five buckets. Large organizations will eventually run tools from more than one. The real architectural failure mode is taking a primitive from bucket A and trying to force it into bucket B:</p><ul><li><strong>1. Workforce IAM</strong> <em>(Okta, Entra Agent ID, Auth0, Speakeasy)</em> — <strong>Trust boundary:</strong> Inside your org. <strong>Proves:</strong> Employee ownership and internal policy via short-lived IdP tokens. <strong>Best fit:</strong> Internal apps and MCP servers. <strong>Not a fit:</strong> Public signup or external users.</li><li><strong>2. Workload identity</strong> <em>(SPIFFE / SPIRE)</em> — <strong>Trust boundary:</strong> Inside your trust domain. <strong>Proves:</strong> Service or process identity via short-lived SVIDs, not a human. <strong>Best fit:</strong> Service-to-service auth where you control both ends. <strong>Not a fit:</strong> A customer front door.</li><li><strong>3. Public customer signup</strong> <em>(Agent Identity Protocol, </em><em>auth.md, AgentID)</em> — <strong>Trust boundary:</strong> Outside your org, net-new account. <strong>Proves:</strong> Delegated human ownership or agent subject, while your service issues its own first-party credentials. <strong>Best fit:</strong> Self-serve SaaS onboarding external agents. <strong>Not a fit:</strong> Sales-led only, strict KYC, or internal IAM.</li><li><strong>4. Claim-later provisioning</strong> <em>(Claimable Neon, Stripe Projects)</em> — <strong>Trust boundary:</strong> Outside your org, resource first. <strong>Proves:</strong> A sandbox or resource was spun up first, with the platform holding credentials until claimed. <strong>Best fit:</strong> Instant sandboxes and trial handoffs. <strong>Not a fit:</strong> Agent-owned accounts requiring human verification on request one.</li><li><strong>5. Standards &amp; plumbing</strong> <em>(ID-JAG, XAA, MCP EMA, AAuth)</em> — <strong>Trust boundary:</strong> Varies by implementation. <strong>Proves:</strong> Token formats and authorization semantics. <strong>Best fit:</strong> Building an IdP, gateway, or platform. <strong>Not a fit:</strong> Shipping a signup flow this quarter.</li></ul><h3>Job 1: Workforce access for agents inside your org</h3><p><a href="https://www.okta.com/newsroom/press-releases/okta-brings-first-class-identity-to-ai-agents-with-agent-sso/">Okta’s agent identity work</a> brings agents into Universal Directory as first-class principals, applies policy, and mints short-lived tokens. Microsoft’s Entra Agent ID models an agent as a specialized service principal with authentication blueprints, parent-child hierarchies, human owners, and Conditional Access. Speakeasy scopes agents to an organization with a single human owner and task-scoped credentials enforced at an MCP gateway, while Auth0 exposes Cross App Access for agents and MCP.</p><p>The underlying mechanism is <strong>directory binding</strong>. The agent is anchored to an employee or team, policy evaluates against that relationship, tokens stay short-lived, and offboarding the employee gives you a clean kill switch for their agents. Audit events land right alongside your existing access logs.</p><p>Where it stops is the edge of your building. Workforce IAM assumes a pre-existing trust relationship inside your directory. It won’t create a customer account at a third-party SaaS that has never heard of your IdP, and it won’t generate a cryptographic receipt showing which version of a service’s Terms of Service an agent agreed to.</p><ul><li><strong>Choose it when:</strong> Employees are running agents against internal tools and MCP servers, and security wants centralized policy and revocation.</li><li><strong>Skip it when:</strong> The agent is acting as an external customer at a self-serve product, or the accountable human sits outside your org.</li></ul><h3>Job 2: Workload identity for your own infrastructure</h3><p><a href="https://spiffe.io/">SPIFFE</a> and SPIRE answer a narrower, foundational question: <em>is this running process actually the workload it claims to be?</em></p><p>SPIFFE defines the trust domain and the SVID identity format; SPIRE attests workloads, issues short-lived SVIDs, and rotates them automatically. If you run Kubernetes or a service mesh, this is familiar territory — secretless service-to-service authentication without static API keys lying around.</p><p>What workload identity doesn’t do is represent a customer. Proving that a container or worker process is genuine doesn’t tell a third-party SaaS which human is legally accountable for an account, nor does it handle Terms of Service acceptance or account creation. Workload identity secures the infrastructure layer; customer signup happens at the application front door.</p><ul><li><strong>Choose it when:</strong> You control both ends of the connection and want secretless authentication between your own services.</li><li><strong>Skip it when:</strong> The other end of the request is a public signup endpoint, or you need verifiable human accountability behind the agent.</li></ul><h3>Job 3: Public customer signup and agent registration</h3><p>This is the job most growth and platform engineers are actually trying to solve — and the layer with the sharpest architectural differences.</p><p>The problem is straightforward to state and tricky to get right: let an external agent create a new account at a service where no prior relationship exists, giving the provider enough verified identity to trust the signup and enough audit trail to answer legal or abuse questions later.</p><p>Three open approaches tackle different parts of this problem:</p><h3>1. Open identity and delegated signup: Agent Identity Protocol</h3><p>The <a href="https://agentidentityprotocol.dev/">Agent Identity Protocol</a> is an open, Apache-2.0 specification built specifically around the identity, human-delegation, and terms-acceptance piece of external agent signup, with <a href="https://agentregistrar.dev/">Agent Registrar</a> serving as a reference broker.</p><p>The flow keeps custody clean:</p><ul><li><strong>Discovery:</strong> Your service hosts a static file at /.well-known/agent-signup.json declaring your Terms of Service URL, allowed issuers, and first-party signup endpoint (endpoints.agent_signup).</li><li><strong>Attestation:</strong> Before signing up, the agent requests a short-lived Ed25519 JWT assertion from an identity broker. The broker fetches your live terms URL, hashes the exact bytes with SHA-256, records the human owner’s delegated acceptance, and embeds that hash and audience binding into the signed assertion.</li><li><strong>First-party handoff:</strong> The agent posts that assertion to your signup endpoint. Your backend verifies the JWT against the broker’s public JWKS, creates the account, and mints your own first-party API keys or session tokens.</li></ul><p>Because the protocol is intentionally scoped to identity and brokerage, the broker never holds your provider credentials and never sits in your post-signup request path. You can run it standalone in front of a standard first-party signup endpoint, or compose it alongside a registration flow like auth.md to supply the verified human-ownership and hash-pinned terms record.</p><h3>2. Markdown-native registration: WorkOS auth.md</h3><p><a href="https://github.com/workos/auth.md">WorkOS </a><a href="https://github.com/workos/auth.md">auth.md</a> takes a registration-and-token route. Your app hosts /auth.md alongside OAuth metadata containing an agent_auth block, then exposes identity and token endpoints. An agent either presents an identity assertion (such as an ID-JAG) in an agent-verified flow, or walks a human through a user-code claim ceremony when no upstream identity provider is present. Your service then issues a scoped OAuth access token tied to the user.</p><p>auth.md gives agents a clean, human- and LLM-readable contract for registering and obtaining OAuth tokens. On its own, it focuses on the registration handshake and token exchange rather than hash-pinning Terms of Service bytes or acting as a cross-provider delegation ledger—which is why pairing a registration protocol with an identity protocol like Agent Identity Protocol makes architectural sense.</p><h3>3. OIDC for agents: AgentID</h3><p><a href="https://www.agentid.com/">AgentID</a> models the problem as OpenID Connect where the subjects are AI agents. Each agent’s AgentMail inbox serves as its identity, backed by a key held in an enrolled browser. From your app’s perspective, you add AgentID as a custom OIDC provider, key the new account on the agent’s subject (sub), and optionally read the human owner from token claims.</p><p>If your stack already speaks OIDC, it feels close to <em>“Sign in with Google”</em> for agents. Like standard OIDC login flows, it handles subject authentication rather than hash-pinning terms bytes or sending a separate terms receipt during the signup handshake.</p><p><strong>The takeaway for Job 3:</strong> Look closely at what happens to <strong>terms accountability</strong> and <strong>credential custody</strong>. If you just need an OIDC subject or a Markdown-described OAuth registration flow, AgentID or auth.md fits cleanly. If you need cryptographic proof of which exact Terms of Service bytes a human owner authorized—without handing your customer API keys to an external intermediary—that is the exact boundary Agent Identity Protocol was designed for. (None of these replace formal KYC or enterprise IAM.)</p><h3>Job 4: Claim-later provisioning</h3><p>Claim-later flips the sequence on its head: the agent spins up a working resource first, and a human claims ownership afterward.</p><ul><li><a href="https://neon.com/claimable-neon"><strong>Claimable Neon</strong></a> lets an agent provision a Postgres database before a human even has a Neon account. Unclaimed projects run inside tight guardrails (72-hour expiration, 100 MB storage, 1 GB transfer) until a human clicks the claim link and pulls the project into an organization.</li><li><a href="https://docs.stripe.com/projects"><strong>Stripe Projects</strong></a> applies a similar pattern across a curated catalog. A CLI and agent workflow provisions third-party services, creates accounts, syncs credentials into a local .env file, and centralizes billing through Stripe—using an --accept-tos flag for non-interactive terms acceptance.</li></ul><p>Both remove massive friction for developer tools and sandbox trials. Neither is a general-purpose identity layer. Neon’s flow is built for Neon; Stripe Projects is scoped to its participating catalog and holds the resulting credentials. When the human enters <em>after</em> the resource exists, it works great for low-risk sandboxes, but falls short if you need a verified human owner and portable identity on request number one.</p><ul><li><strong>Choose it when:</strong> Your activation metric depends on instant, zero-friction sandboxes, and you either own the platform or participate in the catalog.</li><li><strong>Skip it when:</strong> An account must have a verified human owner and auditable terms acceptance before any resource is provisioned.</li></ul><h3>Job 5: Standards and plumbing</h3><p>The final bucket isn’t software you deploy out of the box — it’s wire specifications you implement when you’re building infrastructure:</p><ul><li><strong>ID-JAG</strong> defines an OAuth identity assertion grant for passing verified identity across boundaries.</li><li><strong>XAA (Cross App Access)</strong> — originally spearheaded by Okta on top of ID-JAG and now underpinning Enterprise-Managed Authorization for MCP — standardizes how an enterprise IdP authorizes an agent to talk to a resource application.</li><li><strong>AAuth</strong>, an OpenID Foundation working group with IETF drafts from Dick Hardt, gives each agent a keypair and portable identifier to sign every HTTP request via HTTP Message Signatures — aiming at cross-domain agent-to-resource authorization without bearer tokens.</li></ul><p>OAuth 2.1, OIDC, and Dynamic Client Registration all solve critical pieces of client and user authorization, yet none of them out of the box establish a net-new customer relationship, hash-pin Terms of Service bytes, or prove human delegation at signup. Standards define the checks; your product still has to enforce them, store the audit trail, and handle revocation.</p><ul><li><strong>Choose it when:</strong> You are building an IdP, API gateway, or multi-tenant platform where protocol compliance is the product.</li><li><strong>Skip it when:</strong> You’re a growth or product engineering team that needs self-serve agent onboarding working this quarter.</li></ul><h3>What to actually test in an architecture spike</h3><p>Once you know which job you’re solving for, skip weighted feature scorecards and stress-test two or three candidates against the failure modes that actually hurt in production:</p><ul><li>Idempotency and repeat signups: Define your job spec around three cases — a net-new signup, a repeat signup from the same agent/human pair, and a revoked agent. If a protocol or library has no clean story for duplicate signups or revocation, you can rule it out immediately.</li><li>Human-in-the-loop friction: Wire up the happy path in staging and count every manual touchpoint. A device code pasted into a chat window is a human handoff — decide upfront whether your onboarding funnel can tolerate it.</li><li>Fail-closed assertion checks: Expire the token, flip a byte in the signature, send the wrong aud claim, replay a jti, and modify your Terms of Service text mid-flight. You want deterministic, fail-closed rejections—not generic 500 errors.</li><li>Revocation blast radius: Revoke a single agent and trace what stops. Does it only block net-new signups, or does it also suspend existing accounts and invalidate first-party API keys? Make sure that behavior is explicit in your architecture rather than an accidental side effect.</li><li>The dispute artifact: Imagine a chargeback, abuse report, or legal inquiry six months from now. Pull the exact record showing which human delegated which agent, which terms URL and SHA-256 hash were accepted, and at what timestamp — and verify you can export it cleanly.</li><li>Custody and exit ramp: Check what happens if you migrate off a broker or provider later. Are public keys, JWKS, and signup receipts portable, and does your own service retain sole custody of active customer credentials?</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b92f33bc60af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Prove an AI Agent Agreed to Your Terms]]></title>
            <link>https://medium.com/@sidjjr/how-to-prove-an-ai-agent-agreed-to-your-terms-a59b395ae97d?source=rss-1cbd9f0b2ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a59b395ae97d</guid>
            <category><![CDATA[autonomous-agent]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent-authorization]]></category>
            <dc:creator><![CDATA[Sid Jeffries Jr.]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 18:41:16 GMT</pubDate>
            <atom:updated>2026-11-25T18:41:16.001Z</atom:updated>
            <content:encoded><![CDATA[<p>The terms checkbox is the cheapest part of a signup flow and the hardest part to defend. It takes one line of HTML. Usually, it’s backed by a boolean and a timestamp in a users table—and six months later, when a chargeback or dispute hits, that’s all anyone can reconstruct.</p><p>When humans sign up, we mostly get away with that. When you open your signup flow to AI agents, that boolean becomes a liability. The real engineering question isn’t whether an agent <em>can</em> click a box; it’s whether your system can prove which human authorized which agent to accept which exact terms, and whether that proof holds up when something goes wrong.</p><p>I’ve spent time on the operations side of this problem, digging through logs to answer these exact questions for support and finance teams.</p><h3>What acceptance actually requires</h3><p>Whether a human or an agent creates an account, an enforceable agreement comes down to three things: notice, assent, and a record. For an agent, the catch is that every step has to work without a browser.</p><p><strong>Notice</strong> means the actor actually had a chance to read the terms before agreeing. A footer link nobody clicks is weak notice; a terms page gated behind a login wall the agent never hit is no notice at all. With agents, notice also breaks at the rendering layer. If your /terms route is a client-side React app that hydrates text via JavaScript, the raw HTML bytes an agent fetches won&#39;t match what a human sees in Chrome.</p><p><strong>Assent</strong> is an affirmative action tied to those terms — checking a box, clicking “Create account,” or passing an explicit acceptance field in a signup payload. The mechanism matters less than binding that action to the exact version of the terms live at that second.</p><p><strong>The record</strong> is where most growth stacks fall apart. A tos_accepted: true column tells you an event happened. It doesn&#39;t tell you which version of the terms was live, who owned the agent, or what scope they agreed to. If legal updated the terms page last Tuesday, a timestamp from three months ago points to a moving target.</p><p>A click isn’t magic. It’s a claim about a sequence of events, and it’s only as good as the telemetry behind it.</p><h3>Is an agent’s click binding?</h3><p>Not automatically, and not automatically void. Both takes are lazy.</p><p>An agent has no legal capacity of its own; whatever authority it has is delegated from a human via an employment relationship, an API key, a prompt, or a signed delegation. If you want to rely on an agent’s signup, you need a clear chain from that API call back to a person who actually had the authority to enter a contract. An agent scraping a public form and checking a box is a completely different risk profile from one presenting a signed delegation naming your service and the allowed scope.</p><p>“Act for me” typed into a chat window doesn’t cut it unless that intent is captured in a verifiable assertion sent to your backend.</p><p>Also, check your own terms before you ship an agent onboarding path. Plenty of SaaS ToS still include boilerplate prohibiting “automated access” or stating that “accounts may only be created by a human.” If your growth team builds an agent signup API while your terms explicitly ban it, you’re engineering a breach of your own contract.</p><p>On the flip side, dismissing agent signups as unenforceable misses the point. If a human authorized the agent, you served clear notice, the agent took an affirmative action, and your logs tie the human, the agent, and the exact terms version together, legal has real evidence to work with. Whether it holds up in court depends on jurisdiction and facts, which I won’t pretend to settle here.</p><p>As an engineer, your job isn’t to solve contract law. It’s to make sure the evidence is airtight if it ever gets tested.</p><h3>The six links in the delegation chain</h3><p>To make an agent signup defensible, your audit trail needs to connect six things:</p><ul><li><strong>The human owner:</strong> A reachable person, not ops@ or a shared role account. A verified email is the bare minimum—it’s not KYC, and it doesn&#39;t prove they read the fine print, but it anchors the chain to a real person.</li><li><strong>The agent identity:</strong> A stable, distinct ID. If your logs just show a generic user-agent or a shared service token, you can’t revoke a rogue agent without breaking others, and you can’t answer the first question in any incident: <em>which process did this?</em></li><li><strong>The service origin:</strong> The canonical domain, not a staging URL, a redirect, or a custom vanity domain. Obvious in theory, messy in practice once you have three environments and a reverse proxy.</li><li><strong>The exact terms version:</strong> Pinned to the text itself, not a live URL. URLs are pointers, and pointers move.</li><li><strong>An unambiguous timestamp:</strong> ISO-8601 in UTC. Nothing relative, nothing local without an offset.</li><li><strong>The scope:</strong> What the acceptance actually covers — free tier signup, API usage, a paid seat, data processing. Broad acceptances are easy to log and hard to defend. Narrow ones are the opposite.</li></ul><p>The litmus test for all six: can someone outside your engineering team verify this without running a custom SQL query against your production database? If only your app can decode the chain, you have a debug log, not a record.</p><h3>What belongs in the payload</h3><p>At a minimum, your acceptance record needs to capture:</p><ol><li>The exact terms URL fetched</li><li>A SHA-256 hash of the raw bytes returned</li><li>The UTC timestamp of acceptance</li><li>The distinct agent ID</li><li>The human owner ID</li><li>The canonical service origin</li><li>The specific scope or action authorized</li></ol><p>Hashing pins the exact bytes — a URL can change silently, a SHA-256 digest cannot. Keep in mind, though, that a hash without the underlying file is just a string of hex. You still need to archive the exact version that produced the hash, whether that’s immutable object storage, a versioned URL structure, or a blob attached to the event.</p><p>If you’re using signed assertions (like JWTs), log the assertion ID (jti) and the signing key ID (kid). That lets you correlate an account to a specific cryptographic handshake without storing sensitive credentials. Log the fetch timestamp alongside the acceptance timestamp too—if the terms changed between the GET and the POST, you want to know.</p><p>One underrated ops trick: email a copy of the accepted terms and metadata to the human owner immediately. It drops an independent, timestamped receipt into an inbox they control. When a dispute lands six months later, producing that email is often faster and cleaner than exporting rows from an internal table nobody owns.</p><p>Finally, keep the whole record exportable. Evidence trapped inside a single vendor’s UI isn’t evidence you control.</p><h3>Clickwrap vs. browsewrap vs. API terms</h3><p>Growth engineers usually view signup friction as the enemy, which is why browsewrap and implicit API terms are so tempting. From an evidentiary standpoint, though, they sit on a steep gradient:</p><p><strong>Clickwrap</strong> presents the terms and forces an explicit action. The user sees the artifact, takes an affirmative step, and you log the version. Even over an API, requiring an explicit acceptance field tied to a fetched hash is the cleanest pattern.</p><p><strong>Browsewrap</strong> (“by using this site, you agree”) relies on passive use and a footer link. For an agent hitting endpoints directly without rendering a DOM, browsewrap is practically worthless — you can’t prove the agent ever saw the link.</p><p><strong>API terms</strong> (“by calling this endpoint, you agree”) fall in the middle. They’re frictionless to ship, but they leave a paper-thin trail. The API call might be coming from a cron job spun up six months ago by a contractor who left the company.</p><p>None of these guarantees an outcome in court, because legal disputes turn on context. What you’re optimizing for is eliminating ambiguity: proving the terms were accessible, the action was intentional, and the text didn’t change behind the user’s back.</p><h3>Five things to fix first</h3><p>If you’re building or hardening an agent signup flow, tackle these in order:</p><ol><li><strong>Version your terms URLs.</strong> Serve the exact text at an immutable path (e.g., /terms/2026-11-01) alongside your /terms/latest alias. Never put terms behind a login, a cookie wall, or a PDF viewer an agent can&#39;t cleanly parse.</li><li><strong>Serve a machine-readable copy.</strong> Plain HTML or Markdown is plenty. If your marketing site is a heavy SPA, expose a static, canonical text endpoint so the bytes an agent fetches match what a browser renders.</li><li><strong>Verify the hash on the backend.</strong> Don’t just trust a boolean or a URL passed in a signup request. Check the incoming URL and SHA-256 hash against your own known versions. Reject mismatches and store the verification result.</li><li><strong>Build a human escape hatch.</strong> “My agent signed up for a paid plan by mistake” needs a direct path to a human support queue, not an infinite loop of automated macros. Surface that contact path in both the terms and the signup response payload.</li><li><strong>Update your terms to allow agents.</strong> Strip out legacy “no automated access” clauses or add an explicit section covering delegated agent signups. Don’t make your users violate your ToS just to onboard.</li></ol><p>The sequence matters. Hashing a mutable URL gives you false confidence, and versioning your URLs without validating the hash on ingest leaves a hole in your logs.</p><p>None of this requires buying new tooling. It just requires treating your Terms of Service like a versioned production artifact instead of a static Webflow page.</p><h3>Where a broker fits — and where it doesn’t</h3><p>You can build this entire pipeline in-house, or use an identity broker to handle the human-to-agent delegation layer. A broker typically manages the verified human owner, issues per-agent sub-identities, holds the delegation scope, and gives the agent an inbox. At signup, the broker fetches your terms, computes the SHA-256 hash, notifies the human owner, and embeds the URL and hash directly into the signed identity assertion. Your backend just validates accepted_rp_tos_url and accepted_rp_tos_hash against your canonical copies.</p><p><a href="https://agentregistrar.dev/topics/ai-agents-accept-terms-of-service">Agent Registrar</a> implements this exact pattern if you want to see how hash-pinned acceptance looks in practice.</p><p>Just be clear-eyed about what a broker actually does. It records the chain of custody; it doesn’t guarantee legal enforceability, become a party to the contract, or replace legal counsel. A human.verified claim via OTP proves email control, not government ID. And both sides still need to store the logs—the broker holds the delegation proof, while you hold the service-side record. If a dispute happens, matching SHA-256 hashes prove you&#39;re both looking at the exact same bytes.</p><p>A broker is an infrastructure shortcut, not a legal shield. It makes the facts easy to reconstruct; it doesn’t rewrite contract law.</p><h3>What to actually ask your lawyer</h3><p>Don’t walk into legal and ask, <em>“Can an AI agent legally accept our terms?”</em> You’ll spend an hour debating edge cases and walk out with a 10-page memo that boils down to <em>“it depends.”</em></p><p>Ask this instead: <em>“If a customer disputes an account or charge created by an agent, what exact evidence do we need to produce — and does our current signup flow capture it?”</em></p><p>Bring an architecture diagram of the signup flow and a JSON dump of a real acceptance record. Lawyers are much better at redlining a concrete exhibit than speculating about hypotheticals. Make sure you specifically ask whether your delegation model covers paid commitments and data processing agreements, since that’s where real money and regulatory exposure live.</p><p>You can’t backfill an audit trail after a dispute lands. Fix the schema while you’re still building the flow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a59b395ae97d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Signup Form Was Built for Humans. Agents Are Hitting a Wall.]]></title>
            <link>https://medium.com/@sidjjr/your-signup-form-was-built-for-humans-agents-are-hitting-a-wall-dfbac662547c?source=rss-1cbd9f0b2ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfbac662547c</guid>
            <category><![CDATA[growth-hacking]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[saas]]></category>
            <dc:creator><![CDATA[Sid Jeffries Jr.]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 13:29:30 GMT</pubDate>
            <atom:updated>2026-11-24T13:29:30.234Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Why computer use isn’t a strategy, and how to let AI agents sign up without losing accountability.</em></p><p>The agent had read your docs, compared your pricing tiers, and picked the cheaper plan. It even wrote its reasoning down in its notes. Then, it reached your signup form.</p><p>It typed the name of the person it worked for into the name field and dropped an email address it could monitor into the inbox field. At the terms of service checkbox, it stopped. The button was clickable, and the browser was ready, but the authorization wasn’t there. Nothing on your page let the agent prove who it was acting for — and nothing on your backend would have known how to check anyway.</p><p>The agent didn’t fail because it was dumb. In fact, it probably read your documentation more closely than most human buyers do. It failed because your signup page is a human-only interface disguised as a general-purpose form. Worse, that failure shows up in your metrics as complete silence: no error log, no support ticket, and no new account.</p><p>You’ve likely already seen the aftermath. It looks like a trial that never started, or a prospect whose assistant “looked into your tool” and then went quiet. Nothing in your analytics flags this as churn. As far as your telemetry is concerned, the session completed cleanly. The account just doesn’t exist.</p><p><strong>Agentic signup</strong> is the work of making that front door legible to a non-human customer — without giving up the protections the form was built to enforce.</p><h3>What your form is actually testing</h3><p>A signup page looks like a single, simple interface. Under the hood, it is actually four distinct checks stacked on top of each other, each designed for a human sitting behind a browser with an inbox and a legal identity. A smarter UI won’t fix this. To see why agents get stuck, you have to pull those four checks apart:</p><ul><li><strong>Form semantics:</strong> Name, email, company, password — the fields themselves are trivial, but the machinery around them isn’t. A session cookie gets set on page load, a CSRF token is rendered via JavaScript, and client-side validation blocks submission until the right DOM events fire. An agent that parses HTML can fill out the fields, yet still fail to produce the exact state your server expects. Your backend isn’t just checking the data; it’s checking that a browser followed the sequence your front end intended.</li><li><strong>The bot check:</strong> CAPTCHAs — along with quieter defenses like rate limits and browser fingerprinting — all ask the same question: <em>Does the other end look human?</em> That is a great way to stop scrapers, and a terrible way to decide whether a legitimate buyer should become a customer. A “human-present” check can’t tell you which human is accountable. Even when an agent driving a real browser manages to pass, all you’ve learned is that the software knows how to mimic a person — not who it works for.</li><li><strong>Email ownership:</strong> A verification link proves control of an inbox at a single moment in time. If the agent uses its owner’s email, that person becomes the customer of record whether they realized what was happening or not. If it uses a throwaway address, you’ve only verified that software can read a temporary inbox. Neither outcome tells you who authorized the agent or what it is allowed to do next.</li><li><strong>The terms checkbox:</strong> A checkbox next to a hyperlink is not a legal record. Most implementations store a boolean and a timestamp — sometimes without even logging which version of the terms was live at the time. If a dispute lands on your desk eighteen months later, what do you actually have? The page has changed, the terms have changed, and your database only proves that <em>something</em> clicked a box. It doesn’t record which human delegated that click, which exact bytes they agreed to, or whether the agent had the authority to bind them at all.</li></ul><h3>A browser is not a strategy</h3><p>Whenever I bring this up, someone inevitably says, <em>“Can’t the agent just use a browser?”</em></p><p>It can. And that is precisely the problem.</p><p>Computer use is impressive to watch in a demo, but fragile in production. A vision model takes a screenshot, guesses where the button is, clicks, and waits for a render. Every step burns seconds, a minor layout tweak breaks the flow, and a single CAPTCHA turns the journey into a dead end — or forces the agent into an unsanctioned workaround.</p><p>Even when browser automation succeeds, you walk away with a completed form and a session cookie, not a durable identity for the agent, a named human owner, or a queryable record of consent. If an agent drives a browser using a human’s existing cookies, that human becomes liable for actions they may never have seen. And if your terms of service explicitly forbid automated access, that successful signup isn’t a conversion — it’s a compliance violation with a confirmation screen.</p><h3>Letting agents in vs. exempting bots</h3><p>Most teams conflate these two problems, even though they belong to different owners and operate on completely different timelines.</p><p><strong>Letting agents in is a product decision.</strong> It acknowledges that your customers may be software acting on behalf of a person. It forces you to decide what tier those accounts start on, what permissions they get, and how they transition into standard accounts. It touches your funnel, your documentation, your support model, and your pricing page.</p><p><strong>Exempting a bot is a risk decision.</strong> It is a local, temporary judgment about whether an actor is doing something abusive right now, answered with blocks, rate limits, or challenges.</p><p>When you use risk rules to solve a product problem, you end up building a wall where you needed a doorway. The rules designed to stop a scraper will happily block a legitimate buying agent, because from the outside, both look like automation. Worse, an agent doesn’t experience a CAPTCHA as <em>“come back with your human.”</em> It experiences it as a dead end — and the human never even hears about you.</p><h3>Four rungs on the ladder</h3><p>Every SaaS company sits somewhere on this spectrum today, whether they’ve named it or not. This isn’t a maturity contest; each rung optimizes for a real priority and simply pushes the accountability problem somewhere else.</p><p><strong>1. Human-only</strong></p><ul><li><strong>What it buys:</strong> Total control. Every account maps to a real person who typed the fields, clicked the terms, and owns the inbox.</li><li><strong>What it costs:</strong> The human gets reduced to a manual data-entry layer between their agent and your product. The AI did the research and chose your tool, the human had to retype the choice, and your systems never recorded that the intent came from an agent. The human is accountable on paper, even if they barely looked at the screen.</li></ul><p><strong>2. Browser automation</strong></p><ul><li><strong>What it buys:</strong> Speed to market. You don’t need to build new endpoints or adopt new protocols; if a browser can render it, an agent can try to click it.</li><li><strong>What it costs:</strong> Brittleness, credential sharing, blocked flows, and terms-of-service violations. Every signup pays the latency tax of rendering a UI built for human eyeballs, and your backend only sees an anonymous session rather than a delegated authority.</li></ul><p><strong>3. Claim later</strong></p><ul><li><strong>What it buys:</strong> Instant time-to-value. The agent spins up a resource before an account exists, and a human claims it afterward. Neon’s <a href="https://neon.com/claimable-neon">claimable projects</a> are the clearest example of this pattern: an agent creates a database sandbox immediately, and a human claims it into an organization later (with unclaimed projects expiring). It works brilliantly when the product is a self-contained resource and formal ownership can wait.</li><li><strong>What it costs:</strong> An awkward limbo window where nobody owns the resource, extra engineering to clean up abandoned sandboxes, and no portable identity across tools. Until the human claims it, you are hosting an orphan.</li></ul><p><strong>4. Brokered signup</strong></p><ul><li><strong>What it buys:</strong> Accountability right at the front door. A trusted broker verifies the human’s email once, assigns each agent a distinct sub-identity, and issues a short-lived signed token that your server verifies locally. That token carries the agent’s ID, the verified human owner, and a cryptographic hash of the exact terms the agent accepted. You still create the account and issue the credentials on your own infrastructure — nobody hands a third party the keys to your product.</li><li><strong>What it costs:</strong> Relying on an external party, maintaining a discovery file, and pausing new signups if the broker experiences downtime (though existing accounts continue running normally).</li></ul><p>We are already seeing early implementations of this pattern. WorkOS’s <a href="https://github.com/workos/auth.md">auth.md</a> takes an adjacent approach: a service hosts a Markdown file explaining how agents register, an identity provider mints an assertion, and the service issues its own credential (though it doesn’t hash-pin your terms or email a receipt to the human owner).</p><p><a href="https://agentregistrar.dev/topics/agentic-signup">Agent Registrar</a> is one full implementation of the brokered model. You publish a discovery file at /.well-known/agent-signup.json pointing to your terms URL and signup endpoint, and verify an Ed25519 JWT locally against the broker&#39;s public keys. When an agent signs up, the broker fetches your terms, hashes the exact bytes with SHA-256, logs the acceptance, and emails a copy to the human owner.</p><h3>What an agent-friendly front door actually requires</h3><p>Strip away the vendor names, and agentic signup fits on a single index card:</p><ol><li><strong>Discovery:</strong> A well-known file or docs page stating that you accept agent signups and where to send them (/.well-known/agent-signup.json and /auth.md are two emerging conventions).</li><li><strong>Stable terms:</strong> A predictable URL for your terms of service with clear versioning so the exact text can be hashed.</li><li><strong>A headless signup path:</strong> An API endpoint that accepts a signed identity assertion and returns credentials alongside clear, machine-readable error codes.</li><li><strong>Separated identity:</strong> A verified human owner record stored separately from the agent’s sub-identity — backed by a real email, not a shared throwaway inbox.</li><li><strong>Granular revocation:</strong> A way to kill a misbehaving agent’s access without deleting the human owner or their other active agents.</li></ol><p>None of these pieces are exotic, though the sequence matters. Publishing a discovery file without a headless endpoint is a promise you can’t keep. Building a headless endpoint without a verified human owner turns your product into an anonymous account factory. And offering revocation without an audit trail gives you an emergency stop button with no target.</p><h3>What you get in return</h3><p>You don’t need a complex ROI spreadsheet to justify this.</p><p>First, you <strong>recover sunk intent</strong>. An agent already read your docs, compared your plans, and chose you. Letting it sign up isn’t a growth hack; it’s simply allowing a customer to finish a transaction they already started.</p><p>Second, you <strong>eliminate friction</strong>. Every human-in-the-loop interruption forces an agent to pause, ping its user, wait hours for a reply, and try to resume context — often just to click a verification link or accept terms the human already pre-authorized.</p><p>Third, you <strong>keep custody of the customer</strong>. Because the account, credentials, and billing path live natively inside your system, you own the relationship — not an intermediary.</p><p>Finally, you get a <strong>contactable owner</strong>. Not a vague promise of good behavior, but a verified name and email address you can reach when an agent hits a rate limit, misses a payment, or starts behaving strangely. That single detail is the difference between a manageable customer account and a security incident.</p><h3>Try signing up without a browser</h3><p>If you want to see where your own front door breaks, open a terminal today and try to sign up for your product using curl. No browser, no JavaScript execution, and no cookie jar carried over from an earlier session.</p><p>You will find out within minutes which of the four walls is load-bearing. Maybe it’s a missing CSRF token, a CAPTCHA challenge, or a verification email that proves a human exists — just not which human, or on whose behalf. Write down every blocker you hit and ask what it actually proves.</p><p>Then ask yourself one final question: <em>If an agent arrived tomorrow carrying a verified human owner, a cryptographically signed assertion you could check locally, and a hash of the exact terms it accepted — which of those walls would still be doing useful work?</em></p><p>Keep those. Rework the rest.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfbac662547c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You probably don’t have big data, and when you do, you shouldn’t have to switch tools]]></title>
            <link>https://medium.com/@sidjjr/you-probably-dont-have-big-data-and-when-you-do-you-shouldn-t-have-to-switch-tools-353ae93e0921?source=rss-1cbd9f0b2ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/353ae93e0921</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[clickhouse]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Sid Jeffries Jr.]]></dc:creator>
            <pubDate>Wed, 24 Jun 2026 16:11:01 GMT</pubDate>
            <atom:updated>2026-06-24T16:11:01.024Z</atom:updated>
            <content:encoded><![CDATA[<p>Nobody likes to say it, but most of the “data” we build elaborate infrastructure for fits comfortably on a single machine. Tens of gigabytes, not petabytes. A few hundred million rows, not trillions. The dataset you’re about to provision a cluster for would run fine on the laptop you’re reading this on.</p><p>I’m not being contrarian for sport. I’ve watched teams (mine included) reach for a distributed warehouse, a cloud account, a pipeline, and a weekly bill, to answer questions a single SQL query over a single file could have answered in seconds. Somewhere we absorbed the idea that serious analytics requires serious infrastructure. For the volumes most of us actually work with, it doesn’t.</p><p>But there’s a real fear underneath the over-engineering, and it’s worth taking seriously, because it’s the reason people reach for the heavy stuff “just in case.”</p><p>The fear is *what if I outgrow it?*</p><p>You do the sensible thing, you keep it local and simple: query the files, no server, move on. And then the dataset triples. Or the one-off becomes a daily job. Or the thing you prototyped on your laptop turns out to be load-bearing and now needs to run over a year of history for the whole company.</p><p>In the usual story, that’s the moment the local tool betrays you. The CLI you loved doesn’t scale past one box. The library that was perfect for a 2 GB file falls over at 200 GB. So you rewrite everything. And you quietly resolve to never prototype small again, to just start with the big infrastructure next time “to be safe.”</p><p>That resolution is how you end up paying the infrastructure tax on every project, including the 95% that never needed it.</p><p>The fix has nothing to do with being braver about staying small. You pick a local tool whose engine *also* happens to scale, so going big later stops being a rewrite and becomes a deployment detail.</p><p>That’s the specific reason I landed on the ClickHouse family for this. There are two front doors and they share one engine:</p><p>- <a href="https://clickhouse.com/resources/engineering/what-is-clickhouse-local">clickhouse-local</a>: a single binary that runs SQL over your files with no server. Great for “what’s in this folder of CSVs.”<br>- <a href="https://clickhouse.com/resources/engineering/what-is-chdb">chDB</a>: the same engine as a Python library you `pip install` and call in-process, DataFrame in, DataFrame out. Great for notebooks and scripts.</p><p>Both let me do the lazy, local, no-setup thing. A query looks like this and runs against a file on my disk:</p><blockquote>SELECT region, sum(revenue)<br>FROM file(‘sales.parquet’)<br>GROUP BY region<br>ORDER BY 2 DESC</blockquote><p>And the part that retired my “outgrow it” fear is that the exact same query is also valid against a full ClickHouse server holding billions of rows. Same SQL, same functions, same engine. When `sales.parquet` becomes a year of sales across the company, I don’t rewrite the analysis. I point the same query at a table on a server instead of a file on my disk. The local thing and the big thing speak the same language because they are the same thing, just deployed differently.</p><p>I default to small now, with zero anxiety. New question? Query the file. New dataset? Query the file. I get my answer in seconds and most of the time that’s the end of it. It really was a one-off, and I saved myself a pile of setup.</p><p>And on the occasions it isn’t the end of it, when the data grows or the one-off becomes a job, there’s no cliff. The work I already did is the foundation of the work I’m about to do, not a throwaway prototype I have to apologize for and rebuild. “Start small, grow if needed” stops being risky advice and becomes just… the obvious way to do it.</p><p>So, two things can be true at once. You probably don’t have big data, and you should stop building like you do. And on the day you actually do, the right tool means that’s a good problem, not a rewrite.</p><p>Pick the local tool that’s secretly a big-data engine. Then you never have to guess which one you needed up front.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=353ae93e0921" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The afternoon I stopped standing up a database just to look at a file]]></title>
            <link>https://medium.com/@sidjjr/the-afternoon-i-stopped-standing-up-a-database-just-to-look-at-a-file-86a4cf74d5d4?source=rss-1cbd9f0b2ccf------2</link>
            <guid isPermaLink="false">https://medium.com/p/86a4cf74d5d4</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Sid Jeffries Jr.]]></dc:creator>
            <pubDate>Sat, 20 Jun 2026 13:33:46 GMT</pubDate>
            <atom:updated>2026-06-20T13:34:30.798Z</atom:updated>
            <content:encoded><![CDATA[<p>It was a Thursday, late, and I had a folder of CSV exports from a vendor. Thirty-odd files, one per day, a couple million rows each. The ask was simple: figure out which days had suspicious gaps in the data before our Monday review.</p><p>My instinct, honed over years of doing things the long way, kicked in immediately. Spin up a local Postgres. Write a loader. `CREATE TABLE` with a guessed schema. `COPY` the files in one by one. Discover three of them have an extra column. Fix the loader. Re-run. Finally write the query I’d wanted to write an hour ago.</p><p>I got about as far as “guessed schema” before I stopped and asked myself why I was building a database to answer a question I’d throw away by Monday.</p><p>The thing I’d been avoiding admitting was that I didn’t need a *database*. I needed to run *one SQL query* over some files. The database was just the tax I’d always paid to get to the SQL.</p><p>So that night I tried the lazy version. I’d had `clickhouse-local` sitting around: a [single binary that runs ClickHouse’s SQL engine over files directly](<a href="https://clickhouse.com/resources/engineering/what-is-clickhouse-local">https://clickhouse.com/resources/engineering/what-is-clickhouse-local</a>). I pointed it at the whole folder at once:</p><blockquote>./clickhouse local -q “<br> SELECT _file, count() AS rows<br> FROM file(‘exports/*.csv’)<br> GROUP BY _file<br> ORDER BY _file<br>“</blockquote><p>That ran in a couple of seconds and printed exactly what I needed: row counts per file, with the gaps obvious at a glance. No table, no loader, no schema. The `*.csv` glob and the `_file` virtual column [queried all the files at once](<a href="https://clickhouse.com/resources/engineering/run-sql-across-multiple-files">https://clickhouse.com/resources/engineering/run-sql-across-multiple-files</a>), doing in one query what my loader script was going to take an hour to set up. It’s the part I now reach for most.</p><p>The extra-column files turned out not to matter at all. It inferred each file’s shape and the columns I asked for lined up regardless. The thing I’d been about to spend an hour defending against simply wasn’t a problem.</p><h3>What actually changed</h3><p>The before and after is the part worth writing down, because the numbers are the point.</p><p>The old way (Postgres, loader, schema-wrangling, the inevitable re-run) was comfortably an hour of fiddling before I saw a single result. The new way was the time it took to type the query, call it ninety seconds, including the part where I looked up the glob syntax. And the result came back faster than Postgres would have, because the engine is columnar and used every core in my laptop without being asked.</p><p>But the time saving isn’t really what stuck with me. What stuck was that I’d been treating “I have a question about some files” and “I need to operate a database” as the same task for my entire career, and they aren’t. Most of the time I just want the SQL. The database was scaffolding I’d stopped noticing.</p><h3>The part that made it permanent</h3><p>I almost left it there, filed away as a neat trick for throwaway questions. What made it a permanent habit was realizing the throwaway tool wasn’t a throwaway *engine*.</p><p>A few weeks later that same vendor feed became a real thing we needed to monitor continuously, over a year of history now, not thirty files. In the old world that’s the moment you throw away the prototype and rebuild it “properly” on a real database with a different SQL dialect and different quirks. In this world, the query I’d scribbled on a Thursday night was already written in ClickHouse SQL, so it moved onto an actual ClickHouse server, pointed at a year of data instead of a folder, and kept working. Same functions, same query, same results, just a lot more rows.</p><p>That’s the bit I didn’t expect. The lazy, no-setup tool I grabbed to avoid an hour of busywork turned out to be the same engine I’d want at scale anyway. The throwaway prototype was the production version all along.</p><p>So now, when someone drops a folder of files on me and asks a question, I don’t stand up anything. I write the query. And on the off chance it turns into something real, I already know it’ll grow up gracefully instead of getting thrown away.</p><p>The database-shaped reflex was a hard one to unlearn. Worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86a4cf74d5d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>