Skip to content

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.)

Terminal window
npm create @curless/agentbank my-app
# or, pick the template up front:
npx @curless/create-agentbank my-app --template merchant
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.

Terminal window
npx @curless/create-agentbank my-app -t merchant
cd my-app
cp .env.example .env # fill in your agentbank keys
npm 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