lindoai-cli package provides a command-line interface for interacting with AI agents, workflows, workspace management, and analytics from your terminal.
Installation
Quick Start
Configuration
The CLI supports configuration via environment variables and a config file.Environment Variables
| Variable | Description |
|---|---|
LINDO_API_KEY | Your Lindo API key |
LINDO_BASE_URL | API base URL (default: https://api.lindo.ai) |
Config File
Configuration is stored in~/.lindo/config.json.
Configuration Precedence
- Environment variables (highest priority)
- Config file (
~/.lindo/config.json) - Default values (lowest priority)
Command Reference
Global Options
| Option | Description |
|---|---|
-v, --version | Output the current version |
-h, --help | Display help for command |
lindoai config
Manage CLI configuration.
apiKey, baseUrl
lindoai agents
Run AI agents.
| Option | Description | Default |
|---|---|---|
-i, --input <json> | Input data as JSON string | {} |
-s, --stream | Stream the response | false |
-f, --format <format> | Output format (json, table) | table |
lindoai workflows
Manage workflows.
start:
| Option | Description | Default |
|---|---|---|
-p, --params <json> | Workflow parameters as JSON string | {} |
-f, --format <format> | Output format (json, table) | table |
lindoai workspace
Workspace operations.
| Option | Description | Default |
|---|---|---|
-f, --format <format> | Output format (json, table) | table |
lindoai analytics
Analytics operations.
| Option | Description | Default |
|---|---|---|
--from <date> | Start date (ISO format) | - |
--to <date> | End date (ISO format) | - |
-f, --format <format> | Output format (json, table) | table |
Output Formats
The CLI supports two output formats:Table Format (default)
Human-readable formatted output:JSON Format
Machine-readable JSON output:--format json for scripting and automation.

