OpenCart Module
UI prototype
The interactive module below preserves an earlier UI experiment with a manual Create step. In the current flow, Connect automatically provisions Admin Agent; do not implement the old Create requirement.
Accepted architecture · 1 October 2026, option 2
Agentfy hosts the harness; Store Deputy API exposes the single MCP; the OpenCart module exposes a protected REST/JSON API. Store Deputy governs connections, actor/shopper context, permissions, approvals and audit without building another harness. Connect → login/register → secure pairing → automatic agent provisioning in Agentfy with Store Deputy MCP → return to the module. App contains teams, agents, account, billing and per-agent chat.
This replaces the earlier same-day direct-module-MCP design. Existing code and prototypes below do not implement the new integration. Shopper sessions and the real OpenCart cart have separate scoped bindings; cookies stay in the shop. See the accepted central MCP decision for boundaries, delivery stages and remaining contract work.
Connect your account. Create your first agent. Start a conversation. The module opens with the next useful step, rather than a wall of settings.
Interactive design concept. The account screens, creation sequence and chat below are simulated. No real authentication, API keys, agents, subscriptions or store connections are created. OpenCart v3.x and 4.x are intended targets; compatibility remains unverified.
A helpful store.
Starts with a connection.
Connect your Store Deputy account to bring your first agent into OpenCart.
Sign in or create an account on Store Deputy.We’ll bring you right back here.
Walk through the first visit
- Connect. A welcome banner and one centered action invite the owner to connect.
- Sign in or create an account. In the real integration, Connect redirects to the Store Deputy website. Authentication happens there, then the owner returns to an authenticated module. This prototype represents the hosted screen inline and uses a sample identity without asking for a password.
- Choose an agent. The account starts with no agents. The module shows Admin Agent, immediately available with Create, and Frontend Agent, which requires a paid subscription. Connecting does not silently create either agent.
- Create Admin Agent. The owner sees progress while the connection, agent, store tools and commerce skills are prepared. When complete, the module opens the agent's Chat automatically.
- Start working. Ask a question or choose a suggested task. Settings remain available in the tabs above the conversation.
Use Restart to return to the disconnected state. Try both account paths, return to Your agents, and inspect each workspace tab. Refreshing clears the prototype; a real installation must persist account and agent state.
When the link expires, or the account came first
Connect sends the owner to the Store Deputy site with a one-time link. The two orders are the same flow: an owner who registered on the site first installs the module later and presses Connect there; an owner who starts in the module signs in or registers on the way, and the link is kept through the email code.
- The link runs out. It works for a few minutes and only once, and registering with an email code can take longer. The site then shows Get a new link from your store, which opens Store Deputy in the store admin; there Connect gives a new link, and the owner, now signed in, confirms with one click.
- The wrong account. The confirmation page names the account and offers Use another account, which signs out and comes back to the same link.
- Another team. The owner chooses the team on the confirmation page; the home page finds the store in whichever of their teams it was connected to.
- Another site. The module opens the site it was built for. The home page names its own address, so a module built for another address is noticed instead of creating a second account there.
- An old module. A store whose module does not offer product reads is shown as module out of date, not as ready.
Status, 12 October 2026: the site and the API do this (iteration 6, STOR-28). The module does not yet: the link still lives 10 minutes, the new-link button opens the module page where Connect must be pressed by hand, and the module page does not show which site it opens; that is STOR-20.
Agent availability
| Agent | First connected visit | Intended access |
|---|---|---|
| Admin Agent | Not created; Create available immediately | Owner/team tasks; no paid subscription required to create |
| Frontend Agent | Not created; subscription information shown | Customer-facing agent, gated by an active paid subscription |
After connection, the module header shows a sample avatar, the owner’s name, current Free plan and Upgrade. The Frontend Agent card offers the same Upgrade action. Both open subscription information in this prototype; no payment or plan change occurs.
The prototype proposes $24.00 per month for Frontend Agent. Monthly billing is the working interpretation of the requested $24.00 price; usage limits, taxes and billing implementation remain unspecified. “Included” describes the founder's requested access model, not unlimited inference or a finalized tariff. The paid agent is not activated by the preview's information button.
Create: API, MCP and SKILL
The intended provisioning sequence is:
- Connect the store: the owner signs in to Store Deputy, and the module receives its connection id and secret from its own server (Authorization Code + PKCE). No key is typed in or shown in the module.
- Create the Admin Agent in the connected owner's account and associate it with that store connection.
- Register the OpenCart MCP connection on the agent with its allowed tools.
- Register the commerce SKILL, verify readiness and open Chat.
The progress UI uses merchant-friendly labels. Technical details belong in Activity, not the welcome screen. The prototype's timer simulates these stages; it does not implement the API or register real resources. Credential issuance, endpoint names and SKILL packaging remain implementation work.
For the implementation, keep secrets on the server, out of redirect URLs, HTML and logs. Bind the authentication return to the initiating store/session with a validated, short-lived flow and an allowed callback destination. Check account ownership and subscription entitlements on the server. Agent creation must be idempotent: a retry should resume or return the same agent, not duplicate it. Open Chat only after MCP and SKILL registration succeed; show a recoverable setup error if a step fails. These are implementation requirements, not completed controls.
Chat is the workspace
| Tab | Purpose |
|---|---|
| Chat — active on creation | Main interaction: messages, suggested first tasks and a persistent composer |
| Activity | What the agent did: who it acted for, which tool, how it ended. The Store Deputy page in an iframe, as the chat, for owners and admins |
| Configuration | Agent enabled state, debug logging and conversation settings |
The prototype provides scripted replies and session-local controls. Pausing the agent disables its demo composer. Saving settings acknowledges the local preview only. The module has no Connection or Permissions tab: what the agent may do is one setting for all stores, kept by Store Deputy's operators (admin console, Settings, Agents); on the store's page an owner or admin only switches the agent's changes on or off, on by default since 9 November 2026. The API checks the result on every tool call (system-wide setting and switch since 30 October 2026, run only locally). Frontend permissions must remain separate from owner permissions when the paid agent is built.
Visual direction
The supplied module screenshot informed the earlier settings layout. The revised flow keeps those settings but moves them behind the agent workspace. Cream, white cards, slab-serif headings and restrained black outlines carry the Store Deputy identity. Yellow highlights the next main action: Connect or Create. The original screenshot and its credentials are not published.
Continue with authority and recovery, the implementation proposal and the roadmap.
Account screens: Account Login → Account Dashboard.