Your agent has a plan.
Give it a backend.
Give your agent the backend it needs to build on Shopify. Run custom code, store data, and make authenticated Shopify requests—all through your agent.
export default async ({ input, context, db, shopify }) => {
const { data } = await shopify.admin.graphql(
`query ($id: ID!) { productVariant(id: $id) { id } }`,
{ id: input.variantId },
);
if (!data?.productVariant) throw new Error("Unknown variant");
return db.collection("items").create({
customerId: context.customer.id,
variantId: data.productVariant.id,
});
};Three pieces.
Plenty to work with.
Use just the pieces you need for what you’re building. Your agent writes the code; Littleworks takes care of running it.
export default async ({ input, db }) => {
const notes = db.collection("notes");
const note = await notes.create({
message: input.message,
status: "new",
});
return { id: note.id };
};A short detour.
Then keep building.
Start where you already are: building something for your store with your agent.
- 01
Your agent needs a backend
As you build, your agent identifies where it needs code to run, data to be stored, or access to Shopify.
- 02
You approve the connection
Connect Littleworks and review the agent’s access inside Shopify admin.
- 03
The work keeps running
Your agent tests it as a draft, and you publish it when it’s ready. You can inspect runs, review data, or pause a work.
Write the feature.
Skip the app around it.
A store feature is a few hundred lines. The Shopify app around it is the bigger job, and it needs looking after for as long as the feature runs. Littleworks is that app, already running.
No app to build
OAuth, session tokens, hosting, a database, privacy webhooks and upgrades are already handled.
Webhooks without the plumbing
Subscribe to a Shopify event with a filter. Littleworks verifies, de-duplicates and retries every delivery.
Admin pages without a UI build
Describe your records and actions; Littleworks renders a native Shopify admin page.
Your data, your code
Plain JavaScript and JSON you can read and export at any time.
Your idea.
Your store’s way.
Build the behavior your store needs. Start with a recipe, adapt it with your agent, and let Littleworks supply the backend.
Product reviews
Collect verified reviews, approve them, and display them in your theme.
Customer wishlists
Let signed-in customers save products and return to them on another device.
Customer quote requests
Collect quantities and requirements, then give customers a place to check progress.
Back-in-stock alerts
Let shoppers sign up on sold-out variants and email them through your provider when stock returns.
Transactional email
Send email through your provider without duplicates, and see what was sent and what failed.
For you.
And your agent.
Clear guides for the setup. Precise references for the code. Plain-text documentation for your agent.
Understand Littleworks
Where it fits, what it provides, and when to use it.
Connect your agent
From your existing conversation to an approved connection.
Read the programming guide
Handlers, manifests, storage, and the MCP interface.
llms.txtThe whole picture, ready for your agent.