What problem does it solve?
This Skill unit provides a CLI tool for configuring, downloading, analyzing, and debugging agent execution traces. It simplifies the process of understanding and optimizing agent performance.
Core Features & Use Cases
- LLM Configuration: Configure the AI model and API key for the agent debugger CLI.
- Trace Downloading: Download and clean Langfuse traces for analysis.
- QA Questions: Ask questions about traces and receive detailed responses.
- Quality Check: Run quality checks on traces to identify issues.
- Use Case: Suppose you have a complex agent that has generated a large number of execution traces. Use this Skill unit to download the traces, analyze them, and identify any issues that may be affecting the agent's performance.
Quick Start
Install the skill:
python -m pip install ./_source
Configure the LLM:
adb config '{"llm":{"model":"gpt-4.1","base_url":"https://api.openai.com/v1","api_key":"<your-key>"}}'
Download a Langfuse trace:
```bash
adb download --type langfuse --ak <public-key> --sk <secret-key> https://<langfuse-host>/project/<projectId>/traces/<traceId>
Ask a question about a trace:
```bash
adb ask -t ~/.adb/traces/<projectId>/<traceId>.cleaned.json -q "What is the main issue in this trace?"