Troubleshooting
Common issues and solutions when using Letta Evals.
Installation Issues
“Command not found: letta-evals”
Problem: CLI not available after installation
Solution:
Import errors
Problem: ModuleNotFoundError: No module named 'letta_evals'
Solution:
Configuration Issues
“Agent file not found”
Problem: FileNotFoundError: agent.af
Solution:
- Check the path is correct relative to the suite YAML
- Use absolute paths if needed
- Verify file exists:
ls -la path/to/agent.af
“Dataset not found”
Problem: Cannot load dataset file
Solution:
- Verify dataset path in YAML
- Check file exists:
ls -la dataset.jsonl
- Ensure proper JSONL format (one JSON object per line)
“Validation failed: unknown function”
Problem: Grader function not found
Solution:
Connection Issues
“Connection refused”
Problem: Cannot connect to Letta server
Solution:
“Unauthorized” or “Invalid API key”
Problem: Authentication failed
Solution:
Runtime Issues
“No ground_truth provided”
Problem: Grader requires ground truth but sample doesn’t have it
Solution:
- Add ground_truth to dataset samples:
- Or use a grader that doesn’t require ground truth:
Performance Issues
Evaluation is very slow
Solutions:
- Increase concurrency:
- Reduce samples for testing:
- Use tool graders instead of rubric graders:
High API costs
Solutions:
- Use cheaper models:
- Test with small sample first:
Results Issues
“All scores are 0.0”
Solutions:
- Verify extractor is getting content
- Check grader logic
- Test agent manually first
“Gates failed but scores look good”
Solution:
- Check gate configuration:
Debug Tips
Enable verbose output
Run without --quiet
to see detailed progress:
Examine output files
Validate configuration
Check component availability
Getting Help
If you’re still stuck:
- Check the Getting Started guide
- Review the Core Concepts
- Report issues at the Letta Evals GitHub repository
When reporting issues, include:
- Suite YAML configuration
- Dataset sample (if not sensitive)
- Error message and full stack trace
- Environment info (OS, Python version)