create-dawn-ai-app
v0.2.0
Published
<p align="center"> <img src="https://raw.githubusercontent.com/cacheplane/dawnai/main/docs/brand/dawn-logo-horizontal-black-on-white.png" alt="Dawn" width="180" /> </p>
Downloads
694
Readme
create-dawn-ai-app
Scaffold a new Dawn application from the supported starter templates. Generates a working app with Dawn's canonical src/app route layout, an agent() route, and the Dawn packages wired up for local development.
Usage
pnpm create dawn-ai-app my-app
# or
npm create dawn-ai-app@latest my-app
# or
yarn create dawn-ai-app my-appThen:
cd my-app
pnpm install
pnpm dawn devRequires Node.js 22.12+.
Options
--template <name>— choose a starter template (default:basic)
What you get
The basic template scaffolds a Dawn app with one example route:
my-app/
dawn.config.ts
package.json
tsconfig.json
src/
app/
(public)/
hello/
[tenant]/
index.ts # exports agent({...})
state.ts
tools/
greet.tsThe generated package.json wires @dawn-ai/sdk, @dawn-ai/cli, @dawn-ai/core, and @dawn-ai/langchain, with scripts for dawn check, dawn build, and tsc typecheck. Run any other dawn command via pnpm dawn <command>.
Next steps
- Getting started — https://github.com/cacheplane/dawnai/blob/main/apps/web/content/docs/getting-started.mdx
- Routes — https://github.com/cacheplane/dawnai/blob/main/apps/web/content/docs/routes.mdx
- CLI — https://github.com/cacheplane/dawnai/blob/main/apps/web/content/docs/cli.mdx
License
MIT
