create-frogbot-app in your terminal.
Start with a coding agent
Open Claude Code, Cursor, Codex, or OpenCode in the folder where you want your project and paste this prompt. Your agent checks Node.js, runscreate-frogbot-app with the bundled FrogBot skill, configures .env, and boots the dev server:
Paste into Claude Code, Cursor, Codex, or OpenCode to scaffold a FrogBot app with the FrogBot skill.
Create an app from the CLI
1
Scaffold the project
Run Prompts you to choose a database (The scaffolder installs dependencies first, then initializes a Git repository with an initial commit that includes the lockfile.
create-frogbot-app interactively, or pass flags with --yes for a non-interactive setup:- Interactive
- Non-interactive (--yes)
sqlite, postgres, or mongodb), an AI provider, your provider API key, and which coding agents should receive the FrogBot skill.2
Check your .env file
create-frogbot-app writes my-app/.env with a generated FROGBOT_SECRET, your database DATABASE_URL, and your AI provider key if you entered one during setup.If you skipped the key prompt (or ran with --yes without --api-key), add your key to my-app/.env before starting the app:OpenAI, Anthropic, and Google apps require their key in
.env before the server starts (unless you configure @frogbotai/piece-openai so users sign in with Continue with ChatGPT or link their own key in the UI). Bedrock and Zen apps start without a key, but require one before chatting.3
Start the dev server
src/frogbot.config.ts to add collections, views, pieces, and tools.Command options
--yes (or running without an interactive terminal) skips all prompts and uses the defaults below. Unknown options, missing values, or invalid choices exit with an error.
Project naming, environment key detection, and quoting rules
Project naming, environment key detection, and quoting rules
- Project name: Pass the project name once (either positionally or with
--name). Must start with a letter or number, and the target folder must not exist yet. - Environment keys: In interactive mode without
--api-key, the scaffolder checks your environment for a matching variable (OPENAI_API_KEY,ANTHROPIC_API_KEY,GOOGLE_GENERATIVE_AI_API_KEY,AWS_BEARER_TOKEN_BEDROCK, orOPENCODE_API_KEY) and offers to copy it into.env. - Agent list quoting: Spaces around agent names are ignored; quote the list if it includes spaces (for example
--agents "claude, codex"). With--yes, no coding agents are selected unless--agentsis passed.
Software requirements
- Node.js
24.21or newer - TypeScript
6.0.3or newer - Package manager: npm, pnpm, yarn, or bun
- Database: SQLite, PostgreSQL, or MongoDB — see Database
- Object storage (optional): S3, R2, GCS, Azure Blob, or Vercel Blob — see Upload
Monorepos
Keep a single copy offrogbot across a workspace so shared blocks, fields, and collections resolve identical TypeScript types:
- List
frogbotunderpeerDependencies(anddevDependenciesfor local build/test) in shared packages—never underdependencies. - Keep the exact same
frogbotversion across every workspace package and runpnpm dedupeif multiple copies appear. - Install optional peers such as
@ai-sdk/otelin every package that depends onfrogbot, or in none of them, so the package graph does not splitfrogbotinto separate instances.
Next steps
Concepts
See how collections, views, agents, pieces, and jobs fit together.
Configuration
Configure app identity, auth, models, pieces, storage, and plugins.