LyDos CLI — Everything from your terminal
Chat, run agents, monitor tasks, and manage the full LyDos platform without leaving your shell.
See it in action
Click the buttons to simulate real CLI commands. No installation needed.
Install LyDos CLI
Choose your preferred installation method. All methods install the same binary.
| # Local install (PyPI package coming soon) |
| cd web/sdk && pip install -e . |
| # (Local install — PyPI package coming soon) |
| # Or install all dependencies from source: |
| git clone https://github.com/lydianai/AILYDIAN-AGENT-ORCHESTRATOR.git |
| cd AILYDIAN-AGENT-ORCHESTRATOR && pip install -r requirements.txt |
After installation, authenticate with lydos auth login and paste your API key. Get your key at your settings page.
All commands
Search and filter the full command list. Use lydos <command> --help for detailed flags.
| Command |
|---|
lydos auth login |
lydos auth token |
lydos auth logout |
lydos health |
lydos version |
lydos chat <msg> |
lydos chat --stream |
lydos agents list |
lydos agents get <id> |
lydos agents run <id> |
lydos tasks list |
lydos tasks get <id> |
lydos tasks watch |
lydos tasks cancel <id> |
lydos mcp serve |
lydos mcp setup |
lydos logs |
lydos engines list |
lydos config set |
lydos config show |
20 of 20 commands
Tab completion
Enable shell completion for Tab-key command and flag suggestions.
| # Bash — add to ~/.bashrc |
| lydos completion bash >> ~/.bashrc && source ~/.bashrc |
| # Zsh — add to ~/.zshrc |
| lydos completion zsh >> ~/.zshrc && source ~/.zshrc |
| # Fish |
| lydos completion fish > ~/.config/fish/completions/lydos.fish |
| # PowerShell |
| lydos completion powershell >> $PROFILE |
Scripting & CI/CD
The CLI is designed for automation. Use --json for machine-readable output and pipe it through jq in your scripts.
JSON output
Add --json to any command for clean, parseable output.
lydos health --json | jq '.score'Pipe support
Pipe stdin into the chat command for long content.
cat file.py | lydos chat "Review this"Exit codes
0 on success, 1 on error, 2 on partial failure.
lydos health && echo 'OK'Example: Automated security scan
| 1 | #!/usr/bin/env bash |
| 2 | # Example: scan all Python files for security issues |
| 3 | set -euo pipefail |
| 4 | |
| 5 | echo "Starting security scan..." |
| 6 | |
| 7 | for file in $(find ./src -name "*.py" -type f); do |
| 8 | RESULT=$(lydos agents run security-scanner "Scan $file" --json) |
| 9 | ISSUES=$(echo "$RESULT" | jq -r '.result.vulnerabilities_found // 0') |
| 10 | |
| 11 | if [ "$ISSUES" -gt 0 ]; then |
| 12 | echo " WARN: $ISSUES issue(s) in $file" |
| 13 | echo "$RESULT" | jq -r '.result.issues[]' |
| 14 | fi |
| 15 | done |
| 16 | |
| 17 | echo "Scan complete." |
Environment variables
Set these in your shell profile to avoid passing flags on every command.
| # Add to ~/.bashrc, ~/.zshrc, or .env |
| export LYDOS_API_KEY="lyd_sk_your_key_here" |
| export LYDOS_API_URL="https://lydos.ailydian.com" |
| export LYDOS_TIMEOUT="60" |
| export LYDOS_MODEL="llama-3.3-70b-versatile" |
| # Local development (point to self-hosted) |
| export LYDOS_API_URL="https://lydos.ailydian.com" |
Global flags
| Flag | Description |
|---|---|
--api-key | Override stored API key |
--api-url | Override API server URL |
--timeout | Request timeout (seconds) |
--json | JSON output mode |
--debug | Enable debug logging |
--model | LLM model to use |
Full terminal UI
Run lydos with no arguments to open the interactive TUI with chat, agents, and tasks in a unified view.
| Key | Action |
|---|---|
| Enter | Send message / Confirm |
| Ctrl+A | Focus agents panel |
| Ctrl+T | Focus tasks panel |
| Ctrl+L | Clear chat history |
| Ctrl+P | Open command palette |
| Tab / Shift+Tab | Cycle focus |
| Page Up / Page Down | Scroll panels |
| Esc | Cancel / Close dialog |
| q | Quit TUI |
Ready to automate everything?
Install the CLI, connect your API key, and start running agents from your terminal in under 2 minutes.