CLI Toolv1.0.0
@agiflowai/agent-cli
Official Agiflow CLI for AI-powered workflow automation and project management
Installation
Install globally with npm
npm install -g @agiflowai/agent-cliOr use with npx
npx @agiflowai/agent-cliAvailable Commands
~ agent-cli daemon
Connect Agiflow daemon to receive commands from remote server. This establishes a persistent connection for remote AI agent management and workflow automation.
Usage
agent-cli daemon~ agent-cli logout
Sign out of your Agiflow account and clear local authentication credentials.
Usage
agent-cli logoutAuthentication
The CLI uses secure OAuth authentication. On first use, you'll be prompted to authenticate:
# First time setup
$ agent-cli daemon
→ Opening browser for authentication...
→ Successfully authenticated!
→ Connected to project: my-appAuthentication tokens are securely stored in your system's credential manager and automatically refreshed when needed.
Troubleshooting
Connection Issues
If you're having trouble connecting to Agiflow:
- •Check your internet connection
- •Verify your API key is valid
- •Ensure you're using the latest version:
npm update -g @agiflowai/agent-cli - •Try logging out and back in:
agent-cli logoutthenagent-cli daemon
Permission Errors
If you encounter permission errors during installation:
# On macOS/Linux, you may need to use sudo
sudo npm install -g @agiflowai/agent-cli
# Or configure npm to use a different directory
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATHDebug Mode
Enable verbose logging for debugging:
# Run any command with debug flag
agent-cli daemon --debugAPI Reference
Complete Command Reference
For a complete list of all commands and options, use the built-in help:
# Get help for all commands
agent-cli --help
# Get help for specific command
agent-cli daemon --help