Skip to content
Invoke Studio

Invoke Studio

AI tools, on demand. For humans and agents.

Created on 28th April 2026

•

Invoke Studio

Invoke Studio

AI tools, on demand. For humans and agents.

The problem Invoke Studio solves

AI capabilities are locked behind subscriptions, API keys, and complex integrations.

If you've spent weeks perfecting a prompt that reliably solves a specific problem —
contract analysis, security audits, investor update emails — you have no good way to
monetize that expertise. You can't sell a prompt on Gumroad. You can't charge per use
on Stripe without building an entire billing system. And nothing you build will work
for AI agents as buyers, only humans.

On the other side, people who need specific AI-powered results have to either:

  • Pay $20/month for ChatGPT and figure out the right prompt themselves
  • Hire someone on Fiverr and wait
  • Build their own integration

Invoke Studio solves both sides of this.

Creators publish their expertise as pay-per-run AI tools — a name, a description,
a hidden system prompt, a custom input form, and a USDC price. No code required.
No billing system to build. Just publish and earn.

Buyers get expert-quality AI results instantly, paying only for what they use.
No subscriptions. No accounts. Fill a form, pay once, get the result.

What people use it for:

  • Developers run security audits on their code, get database schema reviews,
    generate PR descriptions — without context-switching to ChatGPT and spending
    20 minutes prompting
  • Founders get their pitch critiqued at an investor level, analyze their unit
    economics, draft investor updates — tasks that used to require expensive consultants
  • Freelancers scan contracts for risky clauses before signing — getting the same
    analysis a lawyer would charge $300/hour for, in 10 seconds, for $0.75
  • AI Agents discover tools via the API, pay programmatically using Locus's agent
    payment flow, and receive structured results — without any human in the loop

The core insight: the prompt IS the product. Invoke Studio is the infrastructure
that lets anyone sell their prompt expertise as a recurring revenue stream.

Challenges I ran into

1. The Locus server-side SDK doesn't exist on npm

The documentation references @locus/agent-sdk as the server-side package for
creating checkout sessions. It doesn't exist on npm. Neither does locus-agent-sdk.
I discovered this mid-build when npm install returned a 404.

How I solved it: I verified the actual REST endpoint with a raw curl call:

curl -X POST https://beta-api.paywithlocus.com/api/checkout/sessions \
  -H "Authorization: Bearer claw_dev_..." \
  -H "Content-Type: application/json" \
  -d '{"amount": "0.25", "description": "test"}'

It returned a session object. I rewrote the entire lib/locus.ts to use raw fetch
calls instead of any SDK. This turned out cleaner anyway — no dependency, full
control over the request shape.

2. Webhook firing but result never displaying

The payment went through, the Anthropic call succeeded, the run was marked COMPLETED
in the database — but the UI showed nothing. The user just saw a payment success
screen with no output.

The bug was in the state machine. The onSuccess callback from <LocusCheckout>
was firing correctly, but the runId was not in scope at the point the callback
executed. The polling function started with an undefined runId, silently failed,
and the component stayed stuck on the checkout state.

How I solved it: Lifted runId into the top-level component state before the
checkout session was created, ensuring it was available in the closure when
onSuccess fired. Also added explicit console logging at each state transition
during debugging to trace exactly where the chain broke.

3. No webhookSecret returned from the API

The Locus documentation describes a webhookSecret (whsec_ prefix) being returned
when creating a session with a webhookUrl. In practice, the beta API never returns
this field regardless of what parameters are sent.

How I solved it: Added a graceful fallback in the webhook signature verification
— if no secret is stored for a run, verification is skipped and the webhook is
processed based on the metadata.runId alone. For production, this would require
either Locus adding the secret to the response or implementing an alternative
verification strategy.

4. The <LocusCheckout> component expects a specific checkout URL format

The component's sessionId prop expects just the UUID, but the checkoutUrl
returned by the API points to beta-checkout.paywithlocus.com not
checkout.paywithlocus.com. Passing the wrong base URL caused the component to
load a blank iframe.

How I solved it: Used the checkoutUrl field returned directly from the session
creation response and passed it via the checkoutUrl override prop on the component,
ensuring the beta environment was used end to end.

Tracks Applied (1)

Track: Checkout with Locus

Invoke Studio is not a product that uses Locus Checkout as a payment feature. Checkout with Locus is the product. The e...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio