@agiflowai/agent-cli
v0.1.5
Published
@agiflowai/agent-cli - Command-line interface for Agiflow development tools
Downloads
993
Readme
Agiflow Agent CLI
@agiflowai/agent-cli - Command-line interface for connecting and managing AI agents (Claude Code, Gemini) with Agiflow remotely.
🔗 Related Project: Check out the AgiFlow AI Code Toolkit - an open-source collection of AI development tools and utilities.
Quick Start
Installation
# Install globally via npm
npm install -g @agiflowai/agent-cli
# Or install locally in your project
npm install @agiflowai/agent-cliAvailable Commands
The CLI provides two main commands:
1. agent-cli daemon - Connect Daemon
Connect your local machine to the Agiflow platform to receive remote commands.
agent-cli daemon2. agent-cli logout - Clean Up Credentials
Log out and clean up stored credentials.
# Remove credential files only
agent-cli logout
# Remove entire .agiflow directory
agent-cli logout --remove-all
# With verbose output
agent-cli logout --verboseOptions:
-v, --verbose- Enable verbose logging--remove-all- Remove entire .agiflow directory (default: remove only credential files)
Authentication Flow
Daemon Command: Uses device code authentication flow
- Prompts for browser-based authentication
- Stores credentials in
~/.agiflow/directory - Maintains persistent connection to Agiflow platform
Global Options
All commands support these global options:
-v, --verbose- Enable verbose logging--debug- Enable debug mode
Use agent-cli --help or agent-cli <command> --help for detailed command information.
Related Projects
🔗 AgiFlow AI Code Toolkit - An open-source collection of AI development tools and utilities for building with AI coding assistants.
License
This project is licensed under the Elastic License 2.0. See the LICENSE file for details.
