Laddr CLI Reference
Complete reference for all Laddr Command Line Interface (CLI) commands, options, and usage examples.Overview
The Laddr CLI provides commands for:- Project scaffolding - Initialize complete project structures
- Agent management - Add, configure, and run agents
- Docker orchestration - Manage containerized environments
- Observability - Built-in tracing, metrics, and diagnostics
- Development tools - Hot reload, logging, and debugging
Installation
Global Options
Available for all commands:-h, --help- Show help message and exit--version- Show version and exit--debug- Enable debug mode with full stack traces
Project Setup
init
Initialize a new Laddr project.PROJECT_NAME- Name of the project (interactive if omitted)--path- Path to create project in (default: current directory)
Agent Management
add agent
Add a new agent to the project.--role- Agent role--goal- Agent goal--backstory- Agent backstory (optional)--llm-provider- LLM provider (default: gemini)--llm-model- LLM model (default: gemini-2.5-flash)
add tool
Add a new tool to an agent.--agent- Agent to attach tool to--description- Tool description
Running & Execution
run dev
Run the Laddr development environment.--build- Force rebuild Docker images--detach, -d- Run in detached mode (background)
run agent
Run a single agent locally.--inputs- JSON dictionary of inputs (default: empty object)
run-local
Run an agent locally using in-memory components.--input- JSON input to the agent (default: empty object)
prompt run
Execute a prompt with an agent.--input, -i- Input as KEY=VALUE (repeatable)--json, -j- Input as JSON string or @file.json--wait/--no-wait- Wait for completion (default: true)--timeout- Timeout in seconds (default: 60)
prompt list
List recent prompt executions.--limit- Maximum number to show (default: 20)
Monitoring & Debugging
logs
View logs for an agent worker.--follow, -f- Follow log output (live tail)--tail- Number of lines to show from end
ps
Show status of all services and workers.--format, -f- Output format (table or json)
check
Run diagnostic checks for the Laddr runtime.--output- Path to write JSON report (default: diagnostic_report.json)
infra
Show infrastructure configuration and status.--show-config/--no-show-config- Show configuration values (default: true)
Service Management
scale
Scale an agent worker to N replicas.stop
Stop all Laddr services.--volumes, -v- Remove named volumes (warning: data loss)
Next Steps
- API Reference - REST API documentation
- Getting Started - Setup guide
- Agent Configuration - Configure agents