Overview
Monitor your agents through the dashboard or CLI to track performance, debug issues, and optimize execution.Viewing Logs
Via Dashboard
1
Go to Runs
Navigate to Agents → my_agent → Runs
2
Select a run
Click on any run to view details
3
View logs
See execution timeline, logs, and results
- Real-time execution logs
- Action calls and results
- Memory operations
- Integration API calls
- Errors and warnings
- Final result
- Execution time
Via CLI
Via API
Metrics
Agent Performance
View metrics in the dashboard for any agent: Execution Metrics:- Average execution time
- P50, P95, P99 latency
- Success rate
- Error rate
- Action calls per run
- Memory operations (reads/writes)
- Integration API calls
- Memory usage
- Total runs
- Runs per day/hour
- Active users
Example Dashboard View
Run Status
Check Run Status
- CLI
- API
- Python SDK
Run Statuses
running- Currently executingcompleted- Finished successfullyfailed- Encountered an errorcancelled- Manually cancelledtimeout- Exceeded time limit
Recent Runs
List Runs
- CLI
- Python SDK
- Dashboard
Webhooks
Get notified when agents complete or fail.Setup Webhook
1
Add webhook in dashboard
- Go to Settings → Webhooks
- Click Add Webhook
- Enter webhook URL
- Select events:
run.completed,run.failed,run.started - Click Save
2
Receive webhook
Your endpoint receives POST requests:
3
Verify signature
Webhook Events
run.started- Agent run startedrun.completed- Agent run completed successfullyrun.failed- Agent run failedrun.cancelled- Agent run was cancelled
Example Webhook Handler
Alerts
Email Alerts
Get notified via email when agents fail:- Go to Settings → Alerts
- Enable Email Alerts
- Select events:
run.failed,run.timeout - Add email addresses
- Save
Slack Alerts
Send notifications to Slack:- Go to Settings → Integrations → Slack
- Connect your Slack workspace
- Go to Settings → Alerts
- Enable Slack Alerts
- Select channel and events
- Save
Best Practices
Monitor error rates
Monitor error rates
Check your agent’s error rate regularly:
Set up webhooks for critical agents
Set up webhooks for critical agents
Get notified immediately when important agents fail:
- Settings → Webhooks
- Subscribe to
run.failedevents - Integrate with your alerting system
Review performance metrics
Review performance metrics
Check execution time trends:
- Dashboard → Agents → my_agent → Metrics
- Look for sudden increases in execution time
- Optimize slow actions
Use log levels appropriately
Use log levels appropriately
Debugging Failed Runs
View Error Details
Common Issues
Timeout errors
Timeout errors
Cause: Agent exceeded time limitSolution: Increase timeout or optimize actions
Integration errors
Integration errors
Cause: API call to integration failedSolution: Check logs for API errors, verify API keys
Memory errors
Memory errors
Cause: Missing memory keySolution: Ensure actions store data before retrieval