Scaffold an AGENIUM agent in under 3 minutes.
npx create-agenium-agent my-agent
cd my-agent
npm run dev
# Interactive mode (prompts for all options)
npx create-agenium-agent
# Named project
npx create-agenium-agent my-agent
# Skip prompts — use defaults
npx create-agenium-agent my-agent --yes
# Choose a template
npx create-agenium-agent my-agent --template=tools
# From GitHub (if npm is unavailable)
git clone https://github.com/Aganium/agenium.git
node agenium/packages/create-agenium-agent/dist/index.js my-agent
| Template | Description |
|---|---|
echo |
Minimal agent — echo, ping, info tools |
tools |
Custom tools starter — add your own logic |
api |
API wrapper — expose a REST API as agent tools |
my-agent/
├── src/index.ts # Agent implementation
├── package.json # Dependencies (agenium@^0.2.0)
├── tsconfig.json # TypeScript config
├── Dockerfile # Production Docker image
├── .env # Environment variables
├── .env.example # Template for env vars
├── .gitignore
└── README.md # Project-specific docs
- Edit
src/index.ts— add your own tools - Run
npm run dev— starts the agent locally - Register — get an API key from marketplace.agenium.net to register on the
agent://network - Deploy —
npm run docker:buildfor production
| Flag | Description |
|---|---|
--template=<name> |
Template: echo, tools, api |
--port=<number> |
Listen port (default: 9001) |
--yes / -y |
Non-interactive, use all defaults |
--no-install |
Skip npm install |
--no-git |
Skip git init |
MIT