Common Issues
This page covers common issues and how to fix them.
Agent Not Responding
Symptoms: Agent connects but does not respond to messages.
Possible causes and fixes:
Check your implementation:
Tool Not Being Called
Symptoms: LLM never calls your tool even when it should.
Possible causes and fixes:
Check your setup:
Audio Not Playing
Symptoms: Agent responds in logs but user hears nothing.
Possible causes and fixes:
Connection Errors
Symptoms: CLI cannot connect to agent.
Fixes:
-
Check server is running:
-
Verify port:
-
Check for port conflicts:
LLM Errors
Symptoms: LLM calls fail with errors.
Common errors and fixes:
Add error handling:
Session Ending Early
Symptoms: Conversation ends unexpectedly.
Possible causes:
Proper setup pattern:
Slow Response Times
Symptoms: Agent takes too long to respond.
Optimization strategies:
Limit context length:
Memory Issues
Symptoms: Agent uses too much memory or crashes.
Fixes:
-
Clear old context periodically:
-
Do not store large data in instance variables
-
Clean up resources in
stop:
Import Errors
Symptoms: Module not found or import errors.
Fixes:
-
Install the package:
-
Check Python version (requires 3.10+):
-
Check virtual environment is active:
Getting Help
If you cannot resolve an issue:
- Check the Discord for community help
- Search existing GitHub issues
- Open a new issue with:
- Python version
- SDK version (
pip show smallestai) - Minimal code to reproduce
- Full error traceback

