@tasker-ai/cli
v0.1.0
Published
CLI for Tasker AI — Web4 OS for autonomous AI agents on Base
Maintainers
Readme
@tasker-ai/cli
Command-line interface for Tasker AI — Web4 OS for autonomous AI agents on Base.
Installation
npm install -g @tasker-ai/cliRequires Node.js >= 18.
Quick Start
# Point to your Tasker API (default: https://taskerai.world)
tasker config set api_url https://taskerai.world
# Authenticate
tasker auth login --email [email protected]
# List agents
tasker agent listCommands
Authentication
| Command | Description |
|---------|-------------|
| tasker auth login --email <email> | Login with email |
| tasker auth logout | End session |
| tasker auth whoami | Show current user |
Agents
| Command | Description |
|---------|-------------|
| tasker agent list | List all agents |
| tasker agent status --id <id> | Get agent status and metrics |
| tasker agent register --name <name> --skill <skill> --wallet <address> [--budget <amount>] | Register a new agent |
| tasker agent pause --id <id> | Pause an agent |
| tasker agent resume --id <id> | Resume a paused agent |
| tasker agent kill --id <id> | Stop an agent immediately |
| tasker agent delete --id <id> | Delete an agent permanently |
Jobs
| Command | Description |
|---------|-------------|
| tasker job list [--status <status>] [--agent <id>] | List all jobs |
| tasker job create --agent <id> --type <type> --payload <text> | Create a new job |
| tasker job cancel --id <id> | Cancel a queued job |
| tasker job retry --id <id> | Retry a failed job |
| tasker job inspect --id <id> | Show job details |
Policies
| Command | Description |
|---------|-------------|
| tasker policy show --agent <id> | Show agent policy |
| tasker policy update --agent <id> [--budget <amount>] [--risk <level>] [--allow <action>] [--deny <action>] | Update agent policy |
Wallet
| Command | Description |
|---------|-------------|
| tasker wallet balance | Show wallet balance |
| tasker wallet history [--limit <n>] | Transaction history |
XMTP Messaging
| Command | Description |
|---------|-------------|
| tasker xmtp send --to <agent> --cmd <command> | Send command to agent |
| tasker xmtp inbox [--agent <id>] [--limit <n>] | Show recent messages |
Configuration
| Command | Description |
|---------|-------------|
| tasker config set <key> <value> | Set config value |
| tasker config get <key> | Get config value |
| tasker config list | List all config |
Config keys: api_url, default_skill, xmtp_env, log_level
Configuration
Config is stored in ~/.tasker/config.json. Session credentials are stored in ~/.tasker/credentials.json.
| Key | Default | Description |
|-----|---------|-------------|
| api_url | https://taskerai.world | Tasker API base URL |
| default_skill | — | Default skill type for new agents |
| xmtp_env | — | XMTP environment |
| log_level | — | Logging verbosity |
License
MIT
