CLI to scaffold new March AI agent projects
npm install march-start-cliCLI to scaffold new March AI agent projects.
``bashInteractive mode
npx march-start-cli
What it creates
Running
march-start creates a new directory with:`
my-agent/
├── src/
│ └── agent.ts # Main agent code
├── .env.example # Environment template
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md
`Options
| Flag | Description |
|------|-------------|
|
-y, --yes | Skip prompts, use defaults |
| -h, --help | Show help |
| -v, --version | Show version |Interactive Prompts
When run without
--yes, you'll be asked:1. Project name - Directory name and package name
2. Agent name - Name for agent registration
3. Gateway URL - March Agent Gateway URL
4. Initialize git - Create git repository
5. Install dependencies - Run
pnpm installAfter Creation
`bash
cd my-agent
cp .env.example .env
Edit .env with your API keys
pnpm dev
``- Node.js 18+
- pnpm (recommended) or npm
- march-ai-sdk - The SDK this CLI scaffolds projects for
MIT