create-straps
v0.2.0
Published
Scaffold a runnable full-stack deep agent (LangChain deepagents) in one command.
Maintainers
Readme
create-straps
Scaffold a runnable, full-stack deep agent in one command.
npm create straps
# or: npm create straps my-agent
# or: pnpm create strapsThis writes a complete, working project — not just agent code:
- a Hono API hosting an agent built with
deepagents(createDeepAgent), streaming over SSE - a Vite + React + Tailwind chat UI wired to it
- one example tool to copy, and a
straps.jsonrecording your config
Then:
cd my-agent
cp .env.example .env # add your ANTHROPIC_API_KEY
pnpm install
pnpm dev # web → :3000, agent API → :3001Options
npm create straps -- [dir] [options]
--preset <token> pre-configure from a straps builder token
--template <name> template to scaffold (default: starter)
--registry <url> registry to pull from (default: https://registry.vigient.com)
-y, --yes write into a non-empty directory
-h, --help show helpThe template and its building blocks are fetched from a straps registry; point --registry (or STRAPS_REGISTRY) at your own to self-host.
License
MIT
