Jun 27, 2026 · by Oleksii Bondar · View source

PMB

Stop re-explaining your project to AI coding agents

PMB

Editorial analysis

Why Your AI Agents Keep Forgetting What You Already Decided – And What a Local-First Memory Tool for Coders Teaches Us About E‑Commerce Automation

If you’ve spent the last six months asking ChatGPT, Claude, or a custom agent to “optimize my Amazon listing for German market” only to get the same wrong advice about “best” in titles every single time, you’ve already felt the bottleneck that isn’t about AI quality. It’s about memory. Every new session is a blank slate. Your agent doesn’t know that you already decided to avoid “Premium” in product names because of EU cosmetics regulations, that your supplier lead time changed in March, or that the A+ content module that converted well in the US bombed in Japan. Cross‑border e‑commerce operators are now deploying AI agents for product listing generation, repricing, customer service triage, and ad copy – yet every session wastes tokens re‑explaining decisions that were firmly made three weeks ago. The tool that just launched on Product Hunt, PMB: Local‑First Memory for AI, is built for coding agents, but its core architectural ideas – local, durable, typed memory with recency decay – map directly to the daily frustration of every seller running AI‑assisted operations. Let me walk through what PMB actually does, why it matters far beyond code, and what you can steal from it this week.

The Real Problem PMB Solves – And Why It Echoes in Every Marketplace Dashboard

PMB’s maker, Oleksii Bondar, describes the pain perfectly: “Every coding agent I used had the same frustrating loop: brilliant in one session, forgetful in the next. I kept re‑explaining decisions, constraints, file history, and ‘please never do X in this repo again.’”

Replace “repo” with “Amazon catalog” or “Shopify product feed” and you’ve described the operational hell of every e‑commerce operator who uses AI. I test a new listing optimisation – “never put measurements before material in Bullet Point 3 for UK listings” – and the next time I ask the agent to write a description, it happily repeats the old pattern. I update the return policy from 30 to 45 days for EU buyers, but the chatbot still recites the 30‑day window until I manually retrain it.

Most sellers solve this with prompt engineering: dump a massive “context” block at the start of every session. But that’s brittle. Your context file grows stale, its recency isn’t managed, and you have no way to say “this decision supersedes that older one.” PMB’s insight is that memory should be structured, not a monolithic blob. It stores decisions, lessons, goals, and facts in a local SQLite database, then feeds only the relevant context back to the agent via the Model Context Protocol (MCP). The types are deliberate: “lessons are treated as rules, goals as goals, and project work as recent activity.” That’s far more sophisticated than dumping a PDF into a vector store and hoping the agent picks the right snippet.

For a cross‑border seller, think of each market as a separate “workspace” in PMB’s architecture. You have a distinct set of rules (German Impressum requirements, UK CE marking, Japan label laws), facts (current shipping lead times per carrier), and decisions (“we will no longer offer free returns for orders under €50”). A well‑structured memory layer would let your product listing agent retrieve the German rules when writing a DE listing and ignore the US ones – without you re‑uploading a file every time.

How PMB Differs From What You’re Probably Already Using

If you’re an advanced operator, you might already be using LangChain’s memory classes or a cloud RAG pipeline with Pinecone or Chroma. PMB takes a different stance:

  • No cloud, no API keys, no hosted memory service. Every piece of agent memory lives on your disk. For a seller handling sensitive supplier contracts, proprietary listing algorithms, or customer data that falls under GDPR, this is a massive privacy and compliance advantage. Cloud RAG providers have to implement data residency; PMB’s local‑first model sidesteps the issue entirely.
  • Typed memory with lifecycles. A fact (“minimum ad spend for Sponsored Brands is $10/day”) is stored differently from a lesson (“do not use emojis in Amazon titles after they caused a suppression”). PMB gives each type its own retrieval weighting. Most cloud solutions treat everything as a document chunk, leading to the classic “emojis‑in‑title” fact being outranked by an older, larger document about general listing best practices.
  • Hybrid retrieval (BM25 + vectors + entity graph) with recency decay. This is the killer feature for e‑commerce. Information from two weeks ago loses weight automatically; information from two minutes ago ranks higher. If you changed your pricing strategy last Tuesday, the old strategy won’t compete head‑on with the new one. Compare that to a vector DB where old and new documents sit side by side, and the agent might still pick the stale one because it’s semantically similar.
  • Latest‑wins for keyed facts. PMB’s keyed fact system archives old values rather than overwriting them, so the agent always sees the live value. For a seller who updates “return policy length” to 45 days, the agent will never again see “30 days” unless you explicitly query history.

Why Amazon Sellers Should Care More Than Shopify Ones

This isn’t because Amazon is better – it’s because Amazon’s listing constraints are more punitive and more volatile. A single forbidden word in a title can trigger a suppressed ASIN. Amazon’s style guides change every few months, and category‑specific rules (like “Listing Description: no HTML for grocery items”) are not indexed anywhere you can easily retrieve. Shopify sellers, by contrast, can fix a listing instantly without an appeal process, and they control their own templates. The cost of an agent using stale memory on Amazon is a blocked listing and lost sales; on Shopify it’s a minor cosmetic fix. That asymmetry makes Amazon sellers more sensitive to agent memory quality – they need absolute confidence that the agent remembers the latest category restrictions, licensing requirements, and restricted product policies.

What Cross‑Border Sellers Can Borrow from PMB’s Architecture – Without Running a Line of Code

You don’t have to install PMB to benefit from its design principles. Here are three patterns you can implement today using tools you already have:

  1. Create a structured “memory store” for your AI workflows. Instead of feeding your agent a long prompt with bullet points, maintain a separate document (or Airtable) with three columns: Type (Fact / Lesson / Goal / Decision), Content, and Date. Before each agent session, paste only the entries from the last 30 days – but with a twist: archive any entry that has been superseded by a newer one. This manually mimics PMB’s recency decay and latest‑wins logic. For a more advanced setup, use Klaviyo or Helium 10 to store your “rules of the road” in a central location and export them weekly.

  2. Implement explicit “corrections” as high‑priority rules. Every time you correct an agent’s output – “no, use ‘extra large’ instead of ‘XL’ in German listings because of local sizing standards” – log that as a standalone rule in your memory store and give it a priority tag. In PMB’s language, that’s a correction stored as a high‑priority lesson. In your prompt, prepend these corrections to any other context so they are always read first.

  3. Separate memory by market with strict isolation. Don’t cram all your knowledge into one vector database. Create separate context files or folders per marketplace (Amazon.de, Amazon.co.uk, Shopify US, TikTok Shop). PMB does this with workspaces (separate SQLite files). For a seller, this prevents the “leakage” where a UK‑only regulation (like UKCA marking) accidentally gets applied to EU listings. You can automate this with a simple script that selects the right context file based on the ASIN’s marketplace.

Where the Math Breaks – Honest Gaps in PMB (and Why You Shouldn’t Skip Testing)

PMB is in active development; it’s not a drop‑in solution for e‑commerce ops. Here are the gaps I see, both in the tool and in the concept:

  • No semantic reversal detection for free‑text decisions. Bondar admits this openly: “If an architectural direction flipped mid‑project without a clean key … the old decision keeps scoring on BM25 until recency decay down‑weights it, a correction overrides it, or someone archives it.” For a seller, this means: if you switched from “always include ‘Free Shipping’ in title” to “only include ‘Free Shipping’ if order value > $50” without explicitly stating “the old rule is dead,” your agent might still apply the old rule for weeks. PMB’s dashboard doesn’t auto‑flag the conflict. You, the operator, must audit manually.
  • Multi‑user and team collaboration is absent. PMB is local to one machine. Cross‑border teams – a listing manager in Berlin, an ad buyer in New York, a customer service lead in Manila – all need to read and write to the same memory store. PMB’s design of per‑workspace SQLite files can sync via git, but that’s not a user‑friendly workflow for non‑developers. For a brand owner with five account managers, you still need a centralised solution like a shared Airtable or a custom API, which defeats the local‑first advantage.
  • No integration with e‑commerce SaaS tools. PMB is built for MCP‑aware coding agents (Claude Code, Cursor, Zed, Codex). It cannot currently feed memory into your Amazon Seller Central automation script, your Shopify bulk editor, or your TikTok Shop bulk API. You’d need to build a bridge yourself. Until someone creates an MCP adapter for e‑commerce operations, PMB remains a developer tool.

Where the Math Breaks for Cross‑Market Overrides

Consider a seller who operates in both the US and Japan. The “product name must not exceed 80 characters” rule is universal (US Amazon 200, Japan Amazon 50). In PMB, you’d have separate workspaces, which is correct. But what about a global brand guideline that has country‑specific exceptions? PMB has no concept of “inheritance” – a default rule that a market can override with a higher‑priority local fact. You’d end up duplicating rules or manually maintaining a workaround. This isn’t a fatal flaw, but it means the architecture is best for single‑market operators or teams that can keep workspaces in sync manually.

What I’d Watch / Test Next

PMB will evolve. The repo is open (github.com/oleksiijko/pmb), and Bondar is actively improving reversal detection and conflict surfaces. For the cross‑border operator, I’d take three concrete actions this week:

  • If you’re a Shopify developer or manage a DTC brand’s tech stack, install PMB (pip install pmb-ai && pmb setup) and point it at your theme or app repository. See whether the persistent memory actually reduces the re‑explaining loop when you ask Claude Code to modify your checkout.liquid. This is a direct test of whether the architecture works in a workflow you control.
  • For operators who primarily use managed AI (ChatGPT, Claude chat), create a personal memory document using the three‑column structure I described. Every time you correct an output, log it. After one week, compare the quality of subsequent sessions. If the agent still repeats old mistakes, you’ve proved the need for a dynamic memory layer, not a static prompt.
  • Monitor PMB’s blog or Product Hunt updates for a possible hosted, multi‑user version. If Bondar adds a server mode with team sync, the cross‑border utility jumps enormously. Until then, consider using Mem0 or a simple Airtable with Zapier integration as a stopgap that gives you the same “latest‑wins” logic without the local‑first privacy guarantee.

The bottom line: PMB’s core thesis – that AI agents need typed, recency‑aware, locally stored memory more than they need larger context windows – is as true for a product listing generator as it is for a coding agent. The tool itself is still a developer toy, but the pattern is production‑ready. Start structuring your agent’s memory today, even if you only use a spreadsheet. Your future self won’t have to re‑explain why “we don’t use ‘best’ in German titles” for the tenth time.

Ready to Create Your Own?

Join thousands of brands creating high-performing video ads with VEONIB. No editing skills required.

Start Creating for Free