Skip to main content
Complete guide to configuring Laddr agents with all available parameters and options.

Agent Definition Structure

Basic agent definition:

Core Agent Parameters

Required Parameters

Optional Parameters


LLM Configuration

OpenAI

Gemini

Anthropic Claude

Ollama (Local)


Environment Configuration

Queue and Database

LLM Configuration

Tool API Keys


Execution Control

Retry Configuration

Set max_retries based on task criticality. Use 1-2 for non-critical tasks, 3-5 for important tasks.

Iteration Limits

Too many iterations can lead to high costs and slow execution. Start with 3-5 iterations.

Timeout Configuration


Tool Configuration

Registering Tools

Multiple Tools


Tracing Configuration

Enable Tracing

Traces include:
  • Task start/complete events
  • LLM calls (prompts, responses, tokens)
  • Tool calls (inputs, outputs, errors)
  • Autonomous thinking steps

View Traces


Worker Runtime

Running as Worker

Local Execution


Coordinator Agents

Enable delegation capabilities:
Coordinator agents can:
  • Delegate tasks to other agents
  • Run parallel delegations
  • Coordinate multi-agent workflows
See System Tools for more details.

Custom Instructions

Add behavior guidance:

Monitoring & Debugging

View Logs

Check Status

Dashboard

Access the dashboard at http://localhost:5173 to:
  • View real-time traces
  • Monitor token usage
  • Check system metrics
  • Review job history

Troubleshooting

Agent Not Found

Ensure agent is properly registered:

LLM Errors

Check API keys and model names:

Tool Errors

Verify tool configuration:

Best Practices

1. Use Descriptive Names

2. Set Appropriate Timeouts

3. Limit Tool Count

4. Use Environment Variables


Next Steps