laddr
Usage:
$ laddr [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
init: Initialize a new laddr projectadd agent: Add a new agent to your projectadd tool: Add a new tool to an existing agentrun: Run an agent or coordinator locallycheck: Validate project structure and configurationinfra up: Start infrastructure servicesinfra down: Stop infrastructure servicesworker: Start a worker process for an agentprompt view: View an agent’s system promptprompt edit: Edit an agent’s system prompt
laddr init
Initialize a new laddr project.
Usage:
$ laddr init my-project
$ cd my-project
Creates:
laddr.yml– Main config.env– Environment variables (Redis, Postgres, MinIO)agents/– Agent foldersworkers/– Worker modules
Options:
- Project is created in a subdirectory with the given name.
laddr add agent
Add a new agent to your project.
Usage:
$ laddr add agent researcher
Creates:
agents/researcher/handler.py– Agent handler with toolsagents/researcher/prompt.md– System prompt
Options:
- Agent name must be lowercase,
snake_case.
laddr add tool
Add a new tool to an existing agent.
Usage:
$ laddr add tool researcher
Creates:
Tool files inside the specified agent directory and updates handler.py.
Options:
- Tool name must be lowercase,
snake_case.
laddr run
Run an agent or coordinator locally (without Redis/Postgres).
Usage:
$ laddr run researcher "Search for latest AI news"
Options:
--trace– Enable tracing output--trace-mask <tool1,tool2>– Mask specific tools from traces
Environment:
- Uses in-memory implementations (no Redis/Postgres required)
- Loads
.envfor LLM credentials.
laddr check
Validate project structure and configuration.
Usage:
$ laddr check
Verifies:
- All agents have
handler.pyandprompt.md - All tools are valid Python modules
- Environment variables are set correctly
laddr.ymlstructure is valid.
laddr infra up
Start infrastructure services (Redis, Postgres, MinIO) via Docker Compose.
Usage:
$ laddr infra up
Options:
-d,--detach– Run in background.
laddr infra down
Stop infrastructure services.
Usage:
$ laddr infra down
laddr worker
Start a worker process for an agent.
Usage:
$ laddr worker researcher
Options:
- Connects to Redis queue specified in
laddr.yml - Loads agent from
agents/researcher/handler.py - Processes tasks from the coordinator.
laddr prompt view
View an agent’s system prompt.
Usage:
$ laddr prompt view researcher
laddr prompt edit
Edit an agent’s system prompt.
Usage:
$ laddr prompt edit researcher
Behavior:
- Opens
prompt.mdin your default editor.
Edge Cases
Running without infrastructure
For local testing without Redis/Postgres:
$ laddr run researcher "test query"
Uses in-memory implementations and does not require laddr infra up.
Tracing specific agents
Enable tracing for debugging:
$ laddr run researcher "query" --trace
Mask noisy tools:
$ laddr run researcher "query" --trace --trace-mask web_search,file_read
Custom environment file
Use a custom .env file:
$ export LADDR_ENV_FILE=.env.production
$ laddr check