@dawn-ai/cli
v0.8.4
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>
Readme
@dawn-ai/cli
The dawn CLI for Dawn, the TypeScript meta-framework for LangGraph that lets you build LangGraph agents like Next.js apps — a local HMR development runtime with durable threads, route execution, validation and typegen, and the build step that produces LangSmith deployment artifacts. It is the primary tool for working on a Dawn agent app from first scaffold through deploy.
Install
Project-local (recommended):
npm install -D @dawn-ai/cli
# or
pnpm add -D @dawn-ai/cliGlobal:
npm install -g @dawn-ai/cli
# or
pnpm add -g @dawn-ai/cliInstalls a dawn binary on your PATH. Requires Node.js 22.12+.
Commands
| Command | Description |
|----------------|--------------------------------------------------------------|
| dawn dev | Start the Dawn local development runtime |
| dawn check | Validate a Dawn app (route discovery, tool definitions) |
| dawn verify | Verify dependencies and generated types are in sync |
| dawn build | Generate deployment artifacts for LangSmith |
| dawn run | Execute one Dawn route invocation |
| dawn test | Run route test scenarios |
| dawn routes | List discovered Dawn routes (use --json for machine output)|
| dawn typegen | Generate Dawn route and tool types into .dawn/ |
Usage
# Start the local dev runtime
pnpm dawn dev
# Validate the app and regenerate types
pnpm dawn check
pnpm dawn typegen
# Produce LangSmith deployment artifacts
pnpm dawn buildRun dawn <command> --help for command-specific options.
Documentation
Full reference and guides:
⭐ Star Dawn on GitHub · 📚 Read the docs · 💬 Ask in GitHub Discussions
License
MIT
