basion-start-cli
v0.1.6
Published
CLI to scaffold new Basion AI agent projects
Maintainers
Readme
basion-start
CLI to scaffold new Basion AI agent projects.
Usage
# Interactive mode
npx basion-start-cli
# Create a named project
npx basion-start my-agent
# Use defaults (no prompts)
npx basion-start my-agent --yesWhat it creates
Running basion-start creates a new directory with:
my-agent/
├── src/
│ └── agent.ts # Main agent code
├── .env.example # Environment template
├── .gitignore
├── package.json
├── tsconfig.json
└── README.mdOptions
| 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:
- Project name - Directory name and package name
- Agent name - Name for agent registration
- Gateway URL - Basion Agent Gateway URL
- Initialize git - Create git repository
- Install dependencies - Run
pnpm install
After Creation
cd my-agent
cp .env.example .env
# Edit .env with your API keys
pnpm devRequirements
- Node.js 18+
- pnpm (recommended) or npm
Related
- basion-ai-sdk - The SDK this CLI scaffolds projects for
License
MIT
