Agiflow
DocumentationBlogPricing

Documentation

IntroductionGetting Started
Spec + Task ManagementReliable Agent ExecutionSecurity & Governance
Claude CodeCursor
@agiflowai/agent-cli@agiflowai/powertool
Project MCPTask MCPScaffold MCPOpen SourceArchitect MCPOpen SourceOne MCPOpen Source
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-cli
Or use with npx
npx @agiflowai/agent-cli

Available 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 logout

Authentication

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-app

Authentication 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 logout then agent-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:$PATH

Debug Mode

Enable verbose logging for debugging:

# Run any command with debug flag agent-cli daemon --debug

API 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

Links

Support & Community
Agiflow
BlogTermsPrivacy© 2025 Agiflow. All rights reserved.