create-agentbank (scaffold)
@curless/create-agentbank scaffolds a new project wired to AgentBank. Pick the
module for what you’re building — you take just the part you need, not the whole bank.
(To add agentbank to an existing project instead — a storefront or a paywall — use
@curless/cli.)
npm create @curless/agentbank my-app# or, pick the template up front:npx @curless/create-agentbank my-app --template merchantTemplates
Section titled “Templates”| Template | What you get |
|---|---|
| merchant | A merchant backend (Hono) — keep your catalog + prices, open a checkout for an agent’s order; the money lands in your account. Wires @curless/agentbank-merchant-sdk. |
| paywall | An MCP server with a paid tool — charge agents per call. Wires @curless/agentbank-mcp-pay. |
Each starter ships a package.json pinned to the published SDKs, a working
src/index.ts, an .env.example, and a README.
Run it
Section titled “Run it”npx @curless/create-agentbank my-app -t merchantcd my-appcp .env.example .env # fill in your agentbank keysnpm install && npm run dev| Flag | Meaning |
|---|---|
--template, -t <name> |
merchant | paywall (prompts if omitted) |
--force |
overwrite an existing directory |
--yes, -y |
accept defaults, no prompts |
--help |
usage |

