<?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: kasy</title>
    <description>The latest articles on DEV Community by kasy (@kasyai).</description>
    <link>https://dev.to/kasyai</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%2F4199814%2F45dee1f5-a016-442b-8434-504bc5877780.png</url>
      <title>DEV Community: kasy</title>
      <link>https://dev.to/kasyai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kasyai"/>
    <language>en</language>
    <item>
      <title>AI Agents for Ecommerce: What Changes at the Task Level</title>
      <dc:creator>kasy</dc:creator>
      <pubDate>Wed, 18 Nov 2026 08:28:33 +0000</pubDate>
      <link>https://dev.to/kasyai/ai-agents-for-ecommerce-what-changes-at-the-task-level-4b90</link>
      <guid>https://dev.to/kasyai/ai-agents-for-ecommerce-what-changes-at-the-task-level-4b90</guid>
      <description>&lt;p&gt;When people say "we want an AI agent for our store," they usually mean one of two things: a chat widget that answers customers, or a background process that does work and reports back. These are not the same product, and confusing them is the most common reason agent projects stall.&lt;/p&gt;

&lt;p&gt;A chatbot's success condition is conversational: the user stops asking. An agent's success condition is operational: a defined task reaches a defined state, or the agent stops and escalates.&lt;/p&gt;

&lt;p&gt;That difference drives everything else — the architecture, the permissions you can safely give it, and whether you can tell after the fact why it did what it did.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four parts, and the one people skip
&lt;/h2&gt;

&lt;p&gt;Every working agent has four pieces:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A trigger.&lt;/strong&gt; A schedule, a webhook, a queue, or a person pressing go.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A toolset.&lt;/strong&gt; The data it can read and the actions it can take — catalog API, supplier database, content store, price feed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;State.&lt;/strong&gt; What it knows so far, and what it has already tried.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A stop condition.&lt;/strong&gt; The definition of done, plus the rule for giving up.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The fourth is the one teams skip, and it is the one that decides whether the agent is useful or merely impressive in a demo. "Research this category and give me a shortlist" is not a task; it has no end. "Return up to five candidates that meet these four specs, or report which spec blocked each candidate" is a task — the agent can finish it, and you can check the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same task, run two ways
&lt;/h2&gt;

&lt;p&gt;Take something concrete: source three SKUs of a specific product — a stainless steel pet bowl, 500ml, with a silicone base, packed for retail.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With tools only&lt;/strong&gt;, a merchandiser opens a marketplace, filters, opens about forty tabs, copies specs into a spreadsheet, emails twelve suppliers, waits, normalizes the replies by hand, and produces a comparison. The work is real but the shape of it is repetitive: filter, extract, normalize, compare. Three days, mostly waiting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With an agent&lt;/strong&gt;, the same person writes the spec once and the agent runs the filter-extract-normalize loop, returning a shortlist where each line shows the matched spec, the missing spec, and the source of every claim. The person still decides. What changed is that the decision arrives with evidence attached, and the evidence is consistent across candidates.&lt;/p&gt;

&lt;p&gt;That is the honest value proposition of an ecommerce AI agent: not "it does the work instead of you," but "it does the boring middle of the work and hands you a comparable set."&lt;/p&gt;

&lt;h2&gt;
  
  
  Where agents pay off
&lt;/h2&gt;

&lt;p&gt;Patterns that hold up in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-step, structured, repeatable.&lt;/strong&gt; Supplier shortlisting, catalog QA passes, listing localization across markets, attribute backfills.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-mostly with a human gate.&lt;/strong&gt; Agents are safest when they produce a report or a draft and a person approves the write.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work with a machine-readable input.&lt;/strong&gt; If the source data is a spreadsheet, an API, or structured product data, the agent can reason over it. If the source is a PDF of a brochure, expect extraction errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tasks where the audit trail is the deliverable.&lt;/strong&gt; "Why did you reject supplier B" is a question you will ask. Design for it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is also the practical answer to "should we use AI for ecommerce at all." If the work has a source system and a checkable output, yes. If it depends on a fact nobody recorded, an agent will invent it politely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where they don't
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Relationship work.&lt;/strong&gt; Negotiation is iterative and social; an agent writing to a long-term supplier damages more than it saves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance and customs sign-off.&lt;/strong&gt; No agent should be the last stop on a legal question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-off judgment calls.&lt;/strong&gt; If you would not write an SOP for it, there is nothing to delegate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anything requiring a fact the agent cannot retrieve.&lt;/strong&gt; It will fill the gap with a plausible sentence. That is the failure mode, not a bug you can prompt away.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Five ways agents look bad, and the fix
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;No stop condition.&lt;/strong&gt; The agent loops, burns tokens, returns a wall of text. Fix: hard cap on iterations plus an explicit "blocked" outcome.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No provenance.&lt;/strong&gt; The output says "supplier has ISO 9001" with no source. Fix: every claim carries where it came from, and whether it was verified, self-reported, or unrecorded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Over-broad permissions.&lt;/strong&gt; Write access to the live catalog on day one. Fix: read-only first, staging second, one gated write path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treating output as fact.&lt;/strong&gt; The agent summarizes vendor marketing copy and the summary reads like due diligence. Fix: separate "claims collected" from "claims checked."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One agent for everything.&lt;/strong&gt; A single assistant asked to source, write, price, and answer support tickets will be mediocre at five things. Fix: narrow roles with narrow tools.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Writing the spec that makes it work
&lt;/h2&gt;

&lt;p&gt;A template that has held up:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;goal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"one sentence, with a countable output"&lt;/span&gt;
&lt;span class="na"&gt;inputs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"the exact fields, and where each one comes from"&lt;/span&gt;
&lt;span class="na"&gt;constraints&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"hard filters, in priority order"&lt;/span&gt;
&lt;span class="na"&gt;definition_of_done&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"what must be true for the agent to stop successfully"&lt;/span&gt;
&lt;span class="na"&gt;escalation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"the conditions under which it must stop and ask"&lt;/span&gt;
&lt;span class="na"&gt;artifact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"the shape of what comes back — table, report, JSON"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you cannot fill the &lt;code&gt;definition_of_done&lt;/code&gt; line, you are not ready to build the agent. You are ready to write an SOP, which is cheaper.&lt;/p&gt;

&lt;h2&gt;
  
  
  Roles beat one super-agent
&lt;/h2&gt;

&lt;p&gt;In practice, teams that get traction run narrow agents with explicit jobs — sourcing research, creative production, store build, SEO and GEO work, general assistance — rather than one generalist. Accio's own agents are split that way, and &lt;a href="https://www.accio.com/wow/guide-ai-agent-for-ecommerce.html" rel="noopener noreferrer"&gt;AI agents for ecommerce, mapped to real tasks&lt;/a&gt; shows what each run actually looks like, including the ones that end in "stop and ask a human."&lt;/p&gt;

&lt;p&gt;The takeaway is not that agents are overhyped or underhyped. It is that an agent is a task with an owner, a stop condition, and an audit trail. Build those three things and the rest is tooling.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>automation</category>
    </item>
    <item>
      <title>The Hard Part of Ecommerce Automation Is Deciding What Not to Automate</title>
      <dc:creator>kasy</dc:creator>
      <pubDate>Thu, 22 Oct 2026 07:37:24 +0000</pubDate>
      <link>https://dev.to/kasyai/the-hard-part-of-ecommerce-automation-is-deciding-what-not-to-automate-3n9a</link>
      <guid>https://dev.to/kasyai/the-hard-part-of-ecommerce-automation-is-deciding-what-not-to-automate-3n9a</guid>
      <description>&lt;p&gt;Most discussions about AI in ecommerce begin with the visible layer: generated product copy, recommendation widgets, chatbots, and images made from a prompt.&lt;/p&gt;

&lt;p&gt;Those tools are useful. They are also the easiest part to demonstrate.&lt;/p&gt;

&lt;p&gt;The difficult work happens behind the storefront. Someone still has to decide whether a supplier quote is complete, whether a model substitution is acceptable, whether a margin calculation includes the right fulfillment cost, and whether an image says something the product cannot actually support.&lt;/p&gt;

&lt;p&gt;That is why I find workflow design more interesting than the usual question of whether AI can “run” an online store. The better question is narrower:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Which decisions can be prepared by software, and which decisions still need a person to sign off?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Ecommerce is a chain of handoffs
&lt;/h2&gt;

&lt;p&gt;A product launch is rarely one task. It is a sequence of handoffs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Research a product category and its competitors.&lt;/li&gt;
&lt;li&gt;Identify possible suppliers.&lt;/li&gt;
&lt;li&gt;Compare quotes, specifications, lead times, and terms.&lt;/li&gt;
&lt;li&gt;Build a margin model.&lt;/li&gt;
&lt;li&gt;Prepare listing copy and images.&lt;/li&gt;
&lt;li&gt;Publish to one or more sales channels.&lt;/li&gt;
&lt;li&gt;Watch what changes after launch.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each handoff creates an opportunity to lose context. A warranty term may stay in an email but never reach the margin sheet. A supplier may quote a similar model instead of the requested one. A product image may look polished while carrying the wrong label. A promotion configured for one channel may not make sense on another.&lt;/p&gt;

&lt;p&gt;An AI workflow is useful when it carries the important facts from one step to the next. It is much less useful when it simply produces a new piece of content at each step.&lt;/p&gt;

&lt;h2&gt;
  
  
  A better pattern: prepare, check, approve
&lt;/h2&gt;

&lt;p&gt;For operational work, I prefer a three-part pattern:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Prepare
&lt;/h3&gt;

&lt;p&gt;The system gathers information and turns it into something a person can inspect. That might mean extracting fields from supplier replies, grouping comparable products, or turning a product brief into a listing checklist.&lt;/p&gt;

&lt;p&gt;The output should show its sources and its uncertainty. A missing warranty term should remain missing. It should not be replaced by a confident sentence because the workflow expects every field to be filled.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Check
&lt;/h3&gt;

&lt;p&gt;The next step is not another generation prompt. It is a set of comparisons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does the quoted model match the requested model?&lt;/li&gt;
&lt;li&gt;Do the dimensions match the product record?&lt;/li&gt;
&lt;li&gt;Are shipping and marketplace fees included in the margin estimate?&lt;/li&gt;
&lt;li&gt;Does the generated image preserve the approved label and material?&lt;/li&gt;
&lt;li&gt;Are claims about safety, certification, or performance supported?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These checks can be partly automated, but their value comes from being explicit. A quality gate is more useful than a vague instruction to “make sure everything is accurate.”&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Approve
&lt;/h3&gt;

&lt;p&gt;Someone should approve the actions that create financial, legal, or reputational risk. That includes purchase orders, supplier substitutions, regulated claims, warranty language, and final publication.&lt;/p&gt;

&lt;p&gt;This is not a failure of automation. It is a sensible boundary around automation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where agents fit
&lt;/h2&gt;

&lt;p&gt;Task-specific agents can help with different parts of the sequence. A sourcing agent can structure supplier responses. A research agent can compare products and identify gaps in the evidence. A creative agent can produce a first set of listing visuals from approved specifications. A store operations agent can prepare channel-specific fields.&lt;/p&gt;

&lt;p&gt;The agents do not need to make the final decision to be valuable. In many cases, the largest gain comes from reducing the amount of sorting, copying, and checking that a person must do before making the decision.&lt;/p&gt;

&lt;p&gt;This is the practical idea behind &lt;a href="https://www.accio.com/wow/usecase-ai-agents-for-ecommerce.html" rel="noopener noreferrer"&gt;AI ecommerce workflows&lt;/a&gt;: connect the repetitive parts of research, sourcing, creative production, and store operations while keeping high-impact decisions reviewable.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small example from procurement
&lt;/h2&gt;

&lt;p&gt;Consider a buyer comparing several supplier quotes for a configured piece of enterprise hardware. The lowest total is not automatically the best answer. The comparison also needs to account for model identity, included components, warranty terms, dispatch reliability, and payment protection.&lt;/p&gt;

&lt;p&gt;A useful workflow can place those details side by side and highlight the differences. It can show that one supplier is cheaper because a component is missing, or that another supplier has quoted a replacement model. It can prepare follow-up questions before the buyer sends a message.&lt;/p&gt;

&lt;p&gt;The final choice still belongs to the buyer. The value is that the buyer reaches the choice with fewer hidden assumptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Product images need the same discipline
&lt;/h2&gt;

&lt;p&gt;The same principle applies to generated listing images.&lt;/p&gt;

&lt;p&gt;A team may ask for ten images for a product: a hero image, dimensions, close-ups, packaging, usage, customization, and a lifestyle scene. The temptation is to judge the set by how attractive it looks.&lt;/p&gt;

&lt;p&gt;A more useful review asks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is the product shape consistent across the set?&lt;/li&gt;
&lt;li&gt;Are labels and country-of-origin markings correct?&lt;/li&gt;
&lt;li&gt;Do the dimensions match the source information?&lt;/li&gt;
&lt;li&gt;Has an accessory appeared that is not included?&lt;/li&gt;
&lt;li&gt;Does the scene imply a use that the product cannot support?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A single wrong label can create more trouble than an ordinary-looking image. The review process should make it easy to reject or revise an asset before it reaches a marketplace.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should not be automated by default
&lt;/h2&gt;

&lt;p&gt;I would keep a human approval step for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;payments and purchase orders;&lt;/li&gt;
&lt;li&gt;supplier identity and certification claims;&lt;/li&gt;
&lt;li&gt;product substitutions;&lt;/li&gt;
&lt;li&gt;warranty and return language;&lt;/li&gt;
&lt;li&gt;medical, safety, and regulatory claims;&lt;/li&gt;
&lt;li&gt;final publication of a new listing;&lt;/li&gt;
&lt;li&gt;customer disputes and sensitive messages.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The boundary may change as a team gains evidence, but it should exist before the system starts taking actions on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  A useful way to measure the workflow
&lt;/h2&gt;

&lt;p&gt;The number of generated outputs is a poor measure of progress. Better questions include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How many supplier replies can be compared without manual reformatting?&lt;/li&gt;
&lt;li&gt;How often does the workflow catch a missing term or inconsistent model?&lt;/li&gt;
&lt;li&gt;How much time passes between a product brief and a reviewable listing draft?&lt;/li&gt;
&lt;li&gt;How many image errors are caught before publication?&lt;/li&gt;
&lt;li&gt;Can a person explain why a recommendation was made?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These measures are less dramatic than “fully autonomous commerce,” but they describe whether the workflow is becoming more dependable.&lt;/p&gt;

&lt;p&gt;AI ecommerce will probably develop through these small improvements rather than one switch being flipped. The teams that benefit most may not be the ones generating the most content. They may be the ones that preserve context, expose uncertainty, and make it clear where a person is still responsible.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Disclosure: This article is an independent editorial discussion of AI-assisted ecommerce workflows. The examples are based on publicly documented workflow patterns and should not be treated as performance guarantees.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
