agentbuilders
v0.6.1
Published
CLI for AgentBuilders.app
Readme
AgentBuilders CLI
Deploy full-stack web apps with one command. Database, file storage, user auth, and RBAC included.
Install
npm install -g agentbuildersQuick Start
# Set your API key
export AB_KEY=your_api_key_here
# Deploy current directory
ab deploy
# Deploy specific directory with name
ab deploy ./my-app --name cool-app --public
# List your apps
ab listCommands
| Command | Description |
|---------|-------------|
| ab deploy [dir] [--name <n>] [--public] | Deploy app from directory |
| ab list | List all your apps |
| ab get <name> | Get app details (JSON) |
| ab delete <name> | Delete an app |
| ab key <name> | Get app viewKey |
| ab status | Platform status |
| ab health | API health check |
| ab subscription | Your tier and limits |
| ab upgrade <tier> | Upgrade (opens Stripe checkout) |
| ab domains | List custom domains |
| ab domains add <host> <app> | Add custom domain |
| ab domains remove <host> | Remove custom domain |
| ab domains status <host> | Check domain verification |
| ab init [dir] | Create ab.json config file |
| ab whoami | Show current account info |
| ab version | Show CLI version |
Configuration (ab.json)
Create an ab.json in your project root to configure database, auth, and RBAC:
{
"name": "my-app",
"public": false,
"storage": {
"database": {
"tables": {
"items": { "name": "TEXT", "value": "TEXT", "created_at": "TEXT" }
}
},
"files": true
},
"auth": { "enabled": true },
"rbac": {
"roles": {
"admin": { "permissions": ["*"] },
"editor": { "permissions": ["data:read", "data:write", "files:read", "files:write"] },
"viewer": { "permissions": ["data:read", "files:read"] }
},
"default_role": "viewer"
}
}Run ab init to generate a starter config.
Tiers
| Tier | Price | Apps | DB Rows | Storage | |------|-------|------|---------|---------| | Free | $0 | 3 | 5K | 50MB | | Hobby | $9/mo | 10 | 50K | 500MB | | Pro | $19/mo | 25 | 500K | 2GB | | Studio | $49/mo | 50 | 2M | 5GB | | Founder | $99+ | 50 | 2M | 5GB (lifetime) |
