Installation Issues
Permission denied during installation
Permission denied during installation
Problem:
curl: Permission denied or similar error.Solution: Use sudo or install to a user directory:Command not found after installation
Command not found after installation
Problem:
klaw: command not foundSolution: Ensure /usr/local/bin is in your PATH:macOS Gatekeeper warning
macOS Gatekeeper warning
Problem: “klaw cannot be opened because it is from an unidentified developer”Solution:Or go to System Preferences → Security & Privacy → Allow.
Provider Issues
API key not working
API key not working
Problem:
ANTHROPIC_API_KEY not set or authentication errors.Solutions:- Check the key is set correctly:
- Ensure no extra whitespace:
- Verify the key is valid at the provider’s dashboard.
Network connection errors
Network connection errors
Problem:
connection refused or timeout errors.Solutions:- Check internet connectivity
- Verify no firewall blocking outbound HTTPS
- Check provider status page
- Try a different provider:
Rate limit or quota exceeded
Rate limit or quota exceeded
Problem:
429 Too Many Requests or quota errors.Solutions:- Wait and retry
- Check your usage at the provider dashboard
- Upgrade your plan
- Use a different model with lower cost
Slack Integration Issues
Bot doesn't respond in Slack
Bot doesn't respond in Slack
Problem: Messages to the bot get no response.Checklist:
- Is the bot invited to the channel? (
/invite @klaw) - Is Socket Mode enabled in Slack app settings?
- Are both tokens set?
- Check
klaw startoutput for errors - Verify the bot has required OAuth scopes
Slow responses in Slack
Slow responses in Slack
Problem: Bot takes too long to respond.Solutions:
- Check API provider latency
- Use a faster model (claude-haiku-3)
- Reduce agent skills/tools
- Check system resources on the klaw host
Bot missing messages
Bot missing messages
Problem: Bot doesn’t see all messages.Solutions:
- Ensure
channels:historyOAuth scope is granted - For private channels, add
groups:history - Check Event Subscriptions are enabled
- Verify
message.channelsevent is subscribed
Distributed Mode Issues
Node can't connect to controller
Node can't connect to controller
Problem:
connection refused when joining controller.Solutions:- Verify controller is running:
- Check network connectivity:
- Verify token matches
- Check firewall rules (port 9090)
- Ensure controller is listening on correct interface:
Tasks not dispatching
Tasks not dispatching
Problem:
klaw dispatch hangs or fails.Solutions:- Check if nodes are connected:
- Verify agent exists on a node:
- Check controller logs for errors
Nodes disconnecting frequently
Nodes disconnecting frequently
Problem: Nodes show as disconnected intermittently.Solutions:
- Check network stability
- Increase heartbeat timeout
- Check node resource usage (CPU, memory)
- Review controller logs for disconnect reasons
Container Issues
Container build fails
Container build fails
Problem:
klaw build fails.Solutions:- Ensure Podman is installed:
- Run from klaw source directory
- Check Containerfile exists
- Verify disk space
Container won't start
Container won't start
Problem:
klaw run fails immediately.Solutions:- Build the image first:
- Check if image exists:
- Check container logs:
General Issues
Configuration not loading
Configuration not loading
Problem: Settings in config.toml are ignored.Solutions:
- Check config file location:
- Validate TOML syntax (no errors)
- Environment variables override config
- Run
klaw config viewto see effective config
High memory usage
High memory usage
Problem: klaw using excessive memory.Solutions:
- Reduce conversation history length
- Clear old sessions:
- Use a smaller model
- Restart klaw to clear memory
Unexpected errors
Unexpected errors
Problem: Cryptic error messages.Solutions:
- Enable debug logging:
- Check logs:
- Report issue on GitHub with logs
Getting Help
If you can’t resolve your issue:- Check GitHub Issues for similar problems
- Join the Discord community
- File a new issue with:
- klaw version (
klaw version) - OS and architecture
- Steps to reproduce
- Relevant logs
- klaw version (

